ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SurfaceSelector Struct Reference

Simple struct to select surfaces. More...

#include <Acts/Propagator/SurfaceCollector.hpp>

Public Member Functions

 SurfaceSelector (bool sSensitive=true, bool sMaterial=false, bool sPassive=false)
 SurfaceSelector with options.
bool operator() (const Acts::Surface &surface) const
 Call operator to check if a surface should be selected.

Public Attributes

bool selectMaterial = false
 Flag indicating whether to select surfaces with material.
bool selectPassive = false
 Flag indicating whether to select passive surfaces.
bool selectSensitive = true
 Flag indicating whether to select sensitive surfaces.

Detailed Description

Simple struct to select surfaces.

Constructor & Destructor Documentation

◆ SurfaceSelector()

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

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

Member Function Documentation

◆ operator()()

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

Call operator to check if a surface should be selected.

Parameters
surfaceis the test surface
Returns
true if surface meets selection criteria

Member Data Documentation

◆ selectMaterial

bool Acts::SurfaceSelector::selectMaterial = false

Flag indicating whether to select surfaces with material.

◆ selectPassive

bool Acts::SurfaceSelector::selectPassive = false

Flag indicating whether to select passive surfaces.

◆ selectSensitive

bool Acts::SurfaceSelector::selectSensitive = true

Flag indicating whether to select sensitive surfaces.