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),
20{
25}
int m_passProcessCodeRangeHigh
int m_passProcessCategory
int m_passProcessCodeRangeLow
The process code range (low-high) and the category of processes that should pass this strategy.
IntegerArrayProperty m_regionListProperty
◆ ~LLPTruthStrategy()
| ISF::LLPTruthStrategy::~LLPTruthStrategy |
( |
| ) |
|
|
default |
◆ appliesToRegion()
| bool ISF::LLPTruthStrategy::appliesToRegion |
( |
unsigned short | geoID | ) |
const |
|
overridevirtual |
◆ initialize()
| StatusCode ISF::LLPTruthStrategy::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 29 of file LLPTruthStrategy.cxx.
30{
34 ATH_MSG_ERROR(
"Unknown Region (" << region <<
") specified. Please check your configuration.");
35 return StatusCode::FAILURE;
36 }
37 }
39 return StatusCode::SUCCESS;
40}
#define ATH_MSG_VERBOSE(x)
◆ pass()
True if the ITruthStrategy implementationapplies to the given ITruthIncident.
Definition at line 43 of file LLPTruthStrategy.cxx.
44{
45 const int processCode = ti.physicsProcessCode();
47
49
50 return false;
51 }
52 ATH_MSG_VERBOSE(
"ACHLLP: saved a truth vertex for pdg "<< ti.parentPdgCode());
53
54 return true;
55 }
56 const int processCategory = ti.physicsProcessCategory();
58 ATH_MSG_VERBOSE(
"ACHLLP: saved a truth interaction fUserDefined for pdg " << ti.parentPdgCode());
59
60 return true;
61 }
62
63 return false;
64}
◆ m_passProcessCategory
| int ISF::LLPTruthStrategy::m_passProcessCategory |
|
private |
◆ m_passProcessCodeRangeHigh
| int ISF::LLPTruthStrategy::m_passProcessCodeRangeHigh |
|
private |
◆ m_passProcessCodeRangeLow
| int ISF::LLPTruthStrategy::m_passProcessCodeRangeLow |
|
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.
◆ m_regionListProperty
| IntegerArrayProperty ISF::LLPTruthStrategy::m_regionListProperty |
|
private |
The documentation for this class was generated from the following files: