Simple struct to select volumes.
More...
#include <Acts/Propagator/VolumeCollector.hpp>
|
| bool | selectLayer = false |
| | Flag indicating whether to select volumes with layers.
|
| bool | selectMaterial = true |
| | Flag indicating whether to select volumes with material.
|
| bool | selectPassive = false |
| | Flag indicating whether to select passive volumes.
|
Simple struct to select volumes.
◆ VolumeSelector()
| Acts::VolumeSelector::VolumeSelector |
( |
bool | sMaterial = true, |
|
|
bool | sLayer = false, |
|
|
bool | sPassive = false ) |
|
explicit |
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 |
◆ operator()()
Call operator to check if a volume should be selected.
- Parameters
-
- Returns
- true if volume meets selection criteria
◆ selectLayer
| bool Acts::VolumeSelector::selectLayer = false |
Flag indicating whether to select volumes with layers.
◆ selectMaterial
| bool Acts::VolumeSelector::selectMaterial = true |
Flag indicating whether to select volumes with material.
◆ selectPassive
| bool Acts::VolumeSelector::selectPassive = false |
Flag indicating whether to select passive volumes.