|
ATLAS Offline Software
|
Go to the documentation of this file.
38 m_minParentP2 *= m_minParentP2;
40 for(
auto region : m_regionListProperty.value()) {
42 ATH_MSG_ERROR(
"Unknown Region (" << region <<
") specified. Please check your configuration.");
43 return StatusCode::FAILURE;
47 return StatusCode::SUCCESS;
53 return StatusCode::SUCCESS;
59 bool pass = ( ti.
parentP2() >= m_minParentP2 );
66 return std::find( m_regionListProperty.begin(),
67 m_regionListProperty.end(),
68 geoID ) != m_regionListProperty.end();
virtual bool pass(ITruthIncident &incident) const override
true if the ITruthStrategy implementation applies to the given ITruthIncident
std::string find(const std::string &s)
return a remapped string
#define ATH_MSG_VERBOSE(x)
virtual bool appliesToRegion(unsigned short geoID) const override
double m_minParentP2
cuts on the parent particle
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
~ValidationTruthStrategy()
Destructor.
virtual StatusCode finalize() override
IntegerArrayProperty m_regionListProperty
ValidationTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
virtual double parentP2() const =0
Return p^2 of the parent particle.