![]() |
ATLAS Offline Software
|
A multi-purpose implementation of an ISF TruthStrategy. More...
#include <GenericTruthStrategy.h>
Public Member Functions | |
| GenericTruthStrategy (const std::string &t, const std::string &n, const IInterface *p) | |
| Constructor with parameters. | |
| ~GenericTruthStrategy ()=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 | |
| bool | m_useParentPt {true} |
| parent kinetic energy / transverse momentum cuts (pT is stored as pT^2 which allows for faster comparisons) | |
| double | m_parentPt2 {-1.} |
| Gaudi::Property< double > | m_parentPt {this, "ParentMinPt", -1.} |
| parent particle | |
| Gaudi::Property< double > | m_parentEkin {this, "ParentMinEkin", -1.} |
| parent particle | |
| bool | m_useChildPt {true} |
| child particle kinetic energy / transverse momentum cuts (pT is stored as pT^2 which allows for faster comparisons) | |
| double | m_childPt2 {-1.} |
| Gaudi::Property< double > | m_childPt {this, "ChildMinPt", -1.} |
| pT momentum cut | |
| Gaudi::Property< double > | m_childEkin {this, "ChildMinEkin", -1.} |
| Ekin cut. | |
| Gaudi::Property< bool > | m_allowChildrenOrParentPass {this, "AllowChildrenOrParentPassKineticCuts", false} |
| pass cuts if parent did not | |
| Gaudi::Property< VertexTypesVector > | m_vertexTypesVector {this, "VertexTypes", 0} |
| vertex type (physics code) checks | |
| VertexTypesSet | m_vertexTypes {} |
| optimized for search | |
| bool | m_doVertexRangeCheck {false} |
| Gaudi::Property< int > | m_vertexTypeRangeLow {this, "VertexTypeRangeLow", 0} |
| Gaudi::Property< int > | m_vertexTypeRangeHigh {this, "VertexTypeRangeHigh", 0} |
| unsigned | m_vertexTypeRangeLength {0} |
| Gaudi::Property< PDGCodesVector > | m_parentPdgCodesVector {this, "ParentPDGCodes", 0} |
| PDG code checks. | |
| PDGCodesSet | m_parentPdgCodes {} |
| optimized for search | |
| IntegerArrayProperty | m_regionListProperty {this, "Regions", {}} |
A multi-purpose implementation of an ISF TruthStrategy.
Definition at line 31 of file GenericTruthStrategy.h.
| ISF::GenericTruthStrategy::GenericTruthStrategy | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Constructor with parameters.
Constructor.
Definition at line 13 of file GenericTruthStrategy.cxx.
|
default |
Destructor.
|
finaloverridevirtual |
Definition at line 165 of file GenericTruthStrategy.cxx.
|
finaloverridevirtual |
Definition at line 19 of file GenericTruthStrategy.cxx.
|
finaloverridevirtual |
true if the ITruthStrategy implementation applies to the given ITruthIncident
Definition at line 99 of file GenericTruthStrategy.cxx.
|
private |
pass cuts if parent did not
Definition at line 65 of file GenericTruthStrategy.h.
|
private |
|
private |
|
private |
Definition at line 62 of file GenericTruthStrategy.h.
|
private |
Definition at line 72 of file GenericTruthStrategy.h.
|
private |
parent particle
Definition at line 57 of file GenericTruthStrategy.h.
|
private |
|
private |
PDG code checks.
Python property
Definition at line 78 of file GenericTruthStrategy.h.
|
private |
|
private |
Definition at line 55 of file GenericTruthStrategy.h.
|
private |
Definition at line 81 of file GenericTruthStrategy.h.
|
private |
child particle kinetic energy / transverse momentum cuts (pT is stored as pT^2 which allows for faster comparisons)
use pT or Ekin cuts?
Definition at line 61 of file GenericTruthStrategy.h.
|
private |
parent kinetic energy / transverse momentum cuts (pT is stored as pT^2 which allows for faster comparisons)
use pT or Ekin cuts?
Definition at line 54 of file GenericTruthStrategy.h.
|
private |
Definition at line 74 of file GenericTruthStrategy.h.
|
private |
Definition at line 75 of file GenericTruthStrategy.h.
|
private |
Definition at line 73 of file GenericTruthStrategy.h.
|
private |
|
private |
vertex type (physics code) checks
Python property
Definition at line 70 of file GenericTruthStrategy.h.