ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::VolumeSelector Struct Reference

Simple struct to select volumes. More...

#include <acts/blob/master/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
 

Detailed Description

Simple struct to select volumes.

Definition at line 17 of file VolumeCollector.hpp.

View newest version in sPHENIX GitHub at line 17 of file VolumeCollector.hpp

Constructor & Destructor Documentation

Acts::VolumeSelector::VolumeSelector ( bool  sMaterial = true,
bool  sLayer = false,
bool  sPassive = false 
)
inline

VolumeSelector with options

Parameters
sMaterialis the directive to select material volumes
sLayeris the directive to select volumes with layers
sPassiveis the directive to select passive volumes

Definition at line 27 of file VolumeCollector.hpp.

View newest version in sPHENIX GitHub at line 27 of file VolumeCollector.hpp

Member Function Documentation

bool Acts::VolumeSelector::operator() ( const Acts::TrackingVolume volume) const
inline

Call operator to check if a volume should be selected

Parameters
volumeis the test volume

Definition at line 36 of file VolumeCollector.hpp.

View newest version in sPHENIX GitHub at line 36 of file VolumeCollector.hpp

References Acts::TrackingVolume::confinedLayers(), selectLayer, selectMaterial, selectPassive, and Acts::TrackingVolume::volumeMaterial().

+ Here is the call graph for this function:

Member Data Documentation

bool Acts::VolumeSelector::selectLayer = false

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::selectMaterial = true

Definition at line 18 of file VolumeCollector.hpp.

View newest version in sPHENIX GitHub at line 18 of file VolumeCollector.hpp

Referenced by operator()().

bool Acts::VolumeSelector::selectPassive = 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()().


The documentation for this struct was generated from the following file: