Struct Acts::VolumeSelector¶
-
struct Acts::VolumeSelector
Simple struct to select volumes.
Public Functions
-
inline VolumeSelector(bool sMaterial = true, bool sLayer = false, bool sPassive = false)
VolumeSelector with options.
- Parameters
sMaterial – is the directive to select material volumes
sLayer – is the directive to select volumes with layers
sPassive – is the directive to select passive volumes
-
inline bool operator()(const Acts::TrackingVolume &volume) const
Call operator to check if a volume should be selected.
- Parameters
volume – is the test volume
Public Members
-
bool selectLayer = false
-
bool selectMaterial = true
-
bool selectPassive = false
-
inline VolumeSelector(bool sMaterial = true, bool sLayer = false, bool sPassive = false)