Analysis Software
Documentation for sPHENIX simulation software
|
Simple struct to select volumes. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Propagator/VolumeCollector.hpp>
Public Member Functions | |
VolumeSelector (bool sMaterial=true, bool sLayer=false, bool sPassive=false) | |
bool | operator() (const Acts::TrackingVolume &volume) const |
Public Attributes | |
bool | selectMaterial = true |
bool | selectLayer = false |
bool | selectPassive = false |
Simple struct to select volumes.
Definition at line 18 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 18 of file VolumeCollector.hpp
|
inline |
VolumeSelector with options
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 |
Definition at line 28 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 28 of file VolumeCollector.hpp
|
inline |
Call operator to check if a volume should be selected
volume | is the test volume |
Definition at line 37 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 37 of file VolumeCollector.hpp
References Acts::TrackingVolume::confinedLayers(), selectLayer, selectMaterial, selectPassive, and Acts::TrackingVolume::volumeMaterial().
bool Acts::VolumeSelector::selectLayer = false |
Definition at line 20 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 20 of file VolumeCollector.hpp
Referenced by operator()().
bool Acts::VolumeSelector::selectMaterial = true |
Definition at line 19 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 19 of file VolumeCollector.hpp
Referenced by operator()().
bool Acts::VolumeSelector::selectPassive = false |
Definition at line 21 of file VolumeCollector.hpp.
View newest version in sPHENIX GitHub at line 21 of file VolumeCollector.hpp
Referenced by operator()().