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

Simple struct to select surfaces. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Propagator/SurfaceCollector.hpp>

Public Member Functions

 SurfaceSelector (bool sSensitive=true, bool sMaterial=false, bool sPassive=false)
 
bool operator() (const Acts::Surface &surface) const
 

Public Attributes

bool selectSensitive = true
 
bool selectMaterial = false
 
bool selectPassive = false
 

Detailed Description

Simple struct to select surfaces.

Definition at line 18 of file SurfaceCollector.hpp.

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

Constructor & Destructor Documentation

Acts::SurfaceSelector::SurfaceSelector ( bool  sSensitive = true,
bool  sMaterial = false,
bool  sPassive = false 
)
inline

SurfaceSelector with options

Parameters
sSensitiveis the directive to select sensitive surfaces
sMaterialis the directive to select material surfaces
sPassiveis the directive to select passive surfaces

Definition at line 28 of file SurfaceCollector.hpp.

View newest version in sPHENIX GitHub at line 28 of file SurfaceCollector.hpp

Member Function Documentation

bool Acts::SurfaceSelector::operator() ( const Acts::Surface surface) const
inline

Call operator to check if a surface should be selected

Parameters
surfaceis the test surface

Definition at line 37 of file SurfaceCollector.hpp.

View newest version in sPHENIX GitHub at line 37 of file SurfaceCollector.hpp

References Acts::Surface::associatedDetectorElement(), selectMaterial, selectPassive, selectSensitive, and Acts::Surface::surfaceMaterial().

+ Here is the call graph for this function:

Member Data Documentation

bool Acts::SurfaceSelector::selectMaterial = false

Definition at line 20 of file SurfaceCollector.hpp.

View newest version in sPHENIX GitHub at line 20 of file SurfaceCollector.hpp

Referenced by operator()().

bool Acts::SurfaceSelector::selectPassive = false

Definition at line 21 of file SurfaceCollector.hpp.

View newest version in sPHENIX GitHub at line 21 of file SurfaceCollector.hpp

Referenced by operator()().

bool Acts::SurfaceSelector::selectSensitive = true

Definition at line 19 of file SurfaceCollector.hpp.

View newest version in sPHENIX GitHub at line 19 of file SurfaceCollector.hpp

Referenced by operator()().


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