ATLAS Offline Software
LLPTruthStrategy.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_TOOLS_LLPTRUTHSTRATEGY_H
6 #define ISF_TOOLS_LLPTRUTHSTRATEGY_H 1
7 
8 // stl includes
9 #include <set>
10 #include <vector>
11 
12 // Athena includes
15 
16 // ISF includes
18 
19 namespace ISF {
20 
28  class LLPTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
29 
30  public:
32  LLPTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
33 
35  ~LLPTruthStrategy() = default;
36 
37  // Athena algtool's Hooks
38  virtual StatusCode initialize() override;
39 
41  virtual bool pass( ITruthIncident& incident) const override;
42 
43  virtual bool appliesToRegion(unsigned short geoID) const override;
44 
45  private:
51 
52  IntegerArrayProperty m_regionListProperty;
53  };
54 
55 }
56 
57 
58 #endif //> !ISF_TOOLS_LLPTRUTHSTRATEGY_H
ISF::LLPTruthStrategy::pass
virtual bool pass(ITruthIncident &incident) const override
True if the ITruthStrategy implementationapplies to the given ITruthIncident.
Definition: LLPTruthStrategy.cxx:43
AtlasRegion.h
ISF::LLPTruthStrategy::m_passProcessCodeRangeLow
int m_passProcessCodeRangeLow
The process code range (low-high) and the category of processes that should pass this strategy.
Definition: LLPTruthStrategy.h:48
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ISF::LLPTruthStrategy::m_passProcessCategory
int m_passProcessCategory
Definition: LLPTruthStrategy.h:50
ISF::LLPTruthStrategy::LLPTruthStrategy
LLPTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: LLPTruthStrategy.cxx:15
ITruthStrategy.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
ISF::LLPTruthStrategy::m_passProcessCodeRangeHigh
int m_passProcessCodeRangeHigh
Definition: LLPTruthStrategy.h:49
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::LLPTruthStrategy::initialize
virtual StatusCode initialize() override
Definition: LLPTruthStrategy.cxx:29
ISF::ITruthIncident
Definition: ITruthIncident.h:45
AthAlgTool.h
ISF::LLPTruthStrategy
Definition: LLPTruthStrategy.h:28
ISF::LLPTruthStrategy::m_regionListProperty
IntegerArrayProperty m_regionListProperty
Definition: LLPTruthStrategy.h:52
ISF::LLPTruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const override
Definition: LLPTruthStrategy.cxx:67
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
ISF::LLPTruthStrategy::~LLPTruthStrategy
~LLPTruthStrategy()=default
Destructor.