ATLAS Offline Software
LLPTruthStrategy.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 // LLPTruthStrategy.h, (c) ATLAS Detector software
8 
9 #ifndef ISF_TOOLS_LLPTRUTHSTRATEGY_H
10 #define ISF_TOOLS_LLPTRUTHSTRATEGY_H 1
11 
12 // stl includes
13 #include <set>
14 #include <vector>
15 
16 // Athena includes
19 
20 // ISF includes
22 
23 namespace ISF {
24 
32  class LLPTruthStrategy final : public extends<AthAlgTool, ITruthStrategy> {
33 
34  public:
36  LLPTruthStrategy( const std::string& t, const std::string& n, const IInterface* p );
37 
40 
41  // Athena algtool's Hooks
42  virtual StatusCode initialize() override;
43  virtual StatusCode finalize() override;
44 
46  virtual bool pass( ITruthIncident& incident) const override;
47 
48  virtual bool appliesToRegion(unsigned short geoID) const override;
49 
50  private:
56 
57  IntegerArrayProperty m_regionListProperty;
58 
60  bool isSUSYParticle(const int absPdgID) const;
61  };
62 
63 }
64 
65 
66 #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:58
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
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:53
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ISF::LLPTruthStrategy::finalize
virtual StatusCode finalize() override
Definition: LLPTruthStrategy.cxx:50
ISF::LLPTruthStrategy::m_passProcessCategory
int m_passProcessCategory
Definition: LLPTruthStrategy.h:55
ISF::LLPTruthStrategy::LLPTruthStrategy
LLPTruthStrategy(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: LLPTruthStrategy.cxx:17
ISF::LLPTruthStrategy::~LLPTruthStrategy
~LLPTruthStrategy()
Destructor.
Definition: LLPTruthStrategy.cxx:30
ITruthStrategy.h
ISF::LLPTruthStrategy::m_passProcessCodeRangeHigh
int m_passProcessCodeRangeHigh
Definition: LLPTruthStrategy.h:54
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:35
ISF::ITruthIncident
Definition: ITruthIncident.h:45
AthAlgTool.h
ISF::LLPTruthStrategy
Definition: LLPTruthStrategy.h:32
ISF::LLPTruthStrategy::m_regionListProperty
IntegerArrayProperty m_regionListProperty
Definition: LLPTruthStrategy.h:57
ISF::LLPTruthStrategy::appliesToRegion
virtual bool appliesToRegion(unsigned short geoID) const override
Definition: LLPTruthStrategy.cxx:91
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
ISF::LLPTruthStrategy::isSUSYParticle
bool isSUSYParticle(const int absPdgID) const
Returns true if the given |pdgID| is a SUSY particle.
Definition: LLPTruthStrategy.cxx:99