|
ATLAS Offline Software
|
Go to the documentation of this file.
17 m_passProcessCodeRangeLow(0),
18 m_passProcessCodeRangeHigh(0),
19 m_passProcessCategory(0)
32 for (
auto region : m_regionListProperty.value()) {
34 ATH_MSG_ERROR(
"Unknown Region (" << region <<
") specified. Please check your configuration.");
35 return StatusCode::FAILURE;
39 return StatusCode::SUCCESS;
46 if( (processCode>m_passProcessCodeRangeLow && processCode<m_passProcessCodeRangeHigh) ){
57 if ( processCategory==m_passProcessCategory ){
69 return std::find( m_regionListProperty.begin(),
70 m_regionListProperty.end(),
71 geoID ) != m_regionListProperty.end();
virtual bool pass(ITruthIncident &incident) const override
True if the ITruthStrategy implementationapplies to the given ITruthIncident.
std::string find(const std::string &s)
return a remapped string
virtual int physicsProcessCode() const =0
Return specific physics process code of the truth incident (eg ionisation, bremsstrahlung,...
virtual int parentPdgCode() const =0
Return the PDG Code of the parent particle.
int m_passProcessCodeRangeLow
The process code range (low-high) and the category of processes that should pass this strategy.
#define ATH_MSG_VERBOSE(x)
int m_passProcessCategory
LLPTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
int m_passProcessCodeRangeHigh
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
bool isSUSY(const T &p)
PDG rule 11d Fundamental supersymmetric particles are identified by adding a nonzero n to the particl...
IntegerArrayProperty m_regionListProperty
virtual bool appliesToRegion(unsigned short geoID) const override
virtual int physicsProcessCategory() const =0
Return category of the physics process represented by the truth incident (eg hadronic,...