An ISF truth strategy for recording long lived particles to the MC truth.
More...
#include <LLPTruthStrategy.h>
An ISF truth strategy for recording long lived particles to the MC truth.
- Author
- Elmar.Ritsch -at- cern.ch
Definition at line 28 of file LLPTruthStrategy.h.
◆ LLPTruthStrategy()
| ISF::LLPTruthStrategy::LLPTruthStrategy |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
Constructor with parameters.
Constructor.
Definition at line 15 of file LLPTruthStrategy.cxx.
15 :
16 base_class(t,n,p)
17{
18}
◆ ~LLPTruthStrategy()
| ISF::LLPTruthStrategy::~LLPTruthStrategy |
( |
| ) |
|
|
default |
◆ appliesToRegion()
| bool ISF::LLPTruthStrategy::appliesToRegion |
( |
unsigned short | geoID | ) |
const |
|
finaloverridevirtual |
◆ initialize()
| StatusCode ISF::LLPTruthStrategy::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 21 of file LLPTruthStrategy.cxx.
22{
26 ATH_MSG_ERROR(
"Unknown Region (" << region <<
") specified. Please check your configuration.");
27 return StatusCode::FAILURE;
28 }
29 }
31 return StatusCode::SUCCESS;
32}
#define ATH_MSG_VERBOSE(x)
◆ pass()
True if the ITruthStrategy implementationapplies to the given ITruthIncident.
Definition at line 35 of file LLPTruthStrategy.cxx.
36{
37 const int processCode = ti.physicsProcessCode();
39
41
42 return false;
43 }
44 ATH_MSG_VERBOSE(
"ACHLLP: saved a truth vertex for pdg "<< ti.parentPdgCode());
45
46 return true;
47 }
48 const int processCategory = ti.physicsProcessCategory();
50 ATH_MSG_VERBOSE(
"ACHLLP: saved a truth interaction fUserDefined for pdg " << ti.parentPdgCode());
51
52 return true;
53 }
54
55 return false;
56}
Gaudi::Property< int > m_passProcessCategory
Gaudi::Property< int > m_passProcessCodeRangeLow
The process code range (low-high) and the category of processes that should pass this strategy.
Gaudi::Property< int > m_passProcessCodeRangeHigh
◆ m_passProcessCategory
| Gaudi::Property<int> ISF::LLPTruthStrategy::m_passProcessCategory {this, "PassProcessCategory", 9} |
|
private |
◆ m_passProcessCodeRangeHigh
| Gaudi::Property<int> ISF::LLPTruthStrategy::m_passProcessCodeRangeHigh {this, "PassProcessCodeRangeHigh", 299} |
|
private |
◆ m_passProcessCodeRangeLow
| Gaudi::Property<int> ISF::LLPTruthStrategy::m_passProcessCodeRangeLow {this, "PassProcessCodeRangeLow", 200} |
|
private |
The process code range (low-high) and the category of processes that should pass this strategy.
Definition at line 48 of file LLPTruthStrategy.h.
48{this, "PassProcessCodeRangeLow", 200};
◆ m_regionListProperty
| IntegerArrayProperty ISF::LLPTruthStrategy::m_regionListProperty {this, "Regions", {}} |
|
private |
The documentation for this class was generated from the following files: