ATLAS Offline Software
ValidationTruthStrategy.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ValidationTruthStrategy.h, (c) ATLAS Detector software
8 
9 #ifndef ISF_TOOLS_VALIDATIONTRUTHSTRATEGY_H
10 #define ISF_TOOLS_VALIDATIONTRUTHSTRATEGY_H 1
11 
12 // Athena includes
15 
16 // ISF includes
18 
19 namespace ISF {
28  class ValidationTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
29 
30  public:
32  ValidationTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
33 
36 
37  // Athena algtool's Hooks
38  virtual StatusCode initialize() override;
39  virtual StatusCode finalize() override;
40 
42  virtual bool pass( ITruthIncident& incident) const override;
43 
44  virtual bool appliesToRegion(unsigned short geoID) const override;
45 
46 
47  private:
49  double m_minParentP2;
50 
51  IntegerArrayProperty m_regionListProperty;
52  };
53 
54 }
55 
56 
57 #endif //> !ISF_TOOLS_VALIDATIONTRUTHSTRATEGY_H
ISF::ValidationTruthStrategy::pass
virtual bool pass(ITruthIncident &incident) const override
true if the ITruthStrategy implementation applies to the given ITruthIncident
Definition: ValidationTruthStrategy.cxx:56
AtlasRegion.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ISF::ValidationTruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const override
Definition: ValidationTruthStrategy.cxx:64
ITruthStrategy.h
ISF::ValidationTruthStrategy::m_minParentP2
double m_minParentP2
cuts on the parent particle
Definition: ValidationTruthStrategy.h:49
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISF::ValidationTruthStrategy::initialize
virtual StatusCode initialize() override
Definition: ValidationTruthStrategy.cxx:32
ISF::ITruthIncident
Definition: ITruthIncident.h:45
AthAlgTool.h
ISF::ValidationTruthStrategy::~ValidationTruthStrategy
~ValidationTruthStrategy()
Destructor.
Definition: ValidationTruthStrategy.cxx:27
ISF::ValidationTruthStrategy::finalize
virtual StatusCode finalize() override
Definition: ValidationTruthStrategy.cxx:50
ISF::ValidationTruthStrategy::m_regionListProperty
IntegerArrayProperty m_regionListProperty
Definition: ValidationTruthStrategy.h:51
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
ISF::ValidationTruthStrategy::ValidationTruthStrategy
ValidationTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: ValidationTruthStrategy.cxx:17
ISF::ValidationTruthStrategy
Definition: ValidationTruthStrategy.h:28