![]() |
ATLAS Offline Software
|
This ITruthStrategy implementation provides checks on the given ITruthIncident, whether it lies on a defined surface or not. More...
#include <CylinderVolumeTruthStrategy.h>
Public Member Functions | |
| CylinderVolumeTruthStrategy (const std::string &t, const std::string &n, const IInterface *p) | |
| Constructor with parameters. | |
| ~CylinderVolumeTruthStrategy ()=default | |
| Destructor. | |
| virtual StatusCode | initialize () override final |
| virtual bool | pass (ITruthIncident &incident) const override final |
| true if the ITruthStrategy implementation applies to the given ITruthIncident | |
| virtual bool | appliesToRegion (unsigned short geoID) const override final |
Private Attributes | |
| Gaudi::Property< double > | m_ri {this, "InnerRadius", 0.0} |
| inner cylinder radius | |
| Gaudi::Property< double > | m_ro {this, "OuterRadius", 1148.0} |
| outer cylinder radius | |
| IntegerArrayProperty | m_regionListProperty {this, "Regions", {}} |
This ITruthStrategy implementation provides checks on the given ITruthIncident, whether it lies on a defined surface or not.
The surfaces currently supported are of cylindrical shape only.
Definition at line 29 of file CylinderVolumeTruthStrategy.h.
| ISF::CylinderVolumeTruthStrategy::CylinderVolumeTruthStrategy | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Constructor with parameters.
Constructor.
Definition at line 15 of file CylinderVolumeTruthStrategy.cxx.
|
default |
Destructor.
|
finaloverridevirtual |
Definition at line 48 of file CylinderVolumeTruthStrategy.cxx.
|
finaloverridevirtual |
Definition at line 21 of file CylinderVolumeTruthStrategy.cxx.
|
finaloverridevirtual |
true if the ITruthStrategy implementation applies to the given ITruthIncident
Definition at line 36 of file CylinderVolumeTruthStrategy.cxx.
|
private |
Definition at line 49 of file CylinderVolumeTruthStrategy.h.
|
private |
inner cylinder radius
Definition at line 46 of file CylinderVolumeTruthStrategy.h.
|
private |
outer cylinder radius
Definition at line 47 of file CylinderVolumeTruthStrategy.h.