ATLAS Offline Software
RpvEgammaIDTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // RpvEgammaIDTool.h (c) ATLAS Detector software
7 // Straight copy of DerivationFrameworkEGamma/EGammaPassSelectionWrapper.h
8 // because DerivationFrameworkEGamma is not in AtlasProduction
10 
11 #ifndef DERIVATIONFRAMEWORK_EGAMMAPASSSELECTONWRAPPER_H
12 #define DERIVATIONFRAMEWORK_EGAMMAPASSSELECTONWRAPPER_H 1
13 
14 #include<string>
15 
16 // Gaudi & Athena basics
18 
19 // DerivationFramework includes
23 
24 namespace DerivationFramework {
25 
33  class RpvEgammaIDTool : public AthAlgTool, public IAugmentationTool {
34 
35  public:
37  RpvEgammaIDTool( const std::string& t, const std::string& n, const IInterface* p );
38 
41 
42  // Athena algtool's Hooks
45 
47  virtual StatusCode addBranches() const;
48 
49  private:
50  std::vector<std::string> m_qualFlags;
51  SG::ReadHandleKey<xAOD::EgammaContainer> m_collNameKey { this, "CollectionName", "ElectronCollection", ""};
52  SG::WriteHandleKey<std::vector<int>> m_egammaSelectionKey { this, "EGammaSelectionKey", "DVPhotonsLoose", ""};
53  std::string m_selectionString;
54 
55  };
56 
57 }
58 
59 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::RpvEgammaIDTool::initialize
StatusCode initialize()
Definition: RpvEgammaIDTool.cxx:35
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::RpvEgammaIDTool
Definition: RpvEgammaIDTool.h:33
IAugmentationTool.h
DerivationFramework::RpvEgammaIDTool::m_selectionString
std::string m_selectionString
Definition: RpvEgammaIDTool.h:53
DerivationFramework::RpvEgammaIDTool::RpvEgammaIDTool
RpvEgammaIDTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: RpvEgammaIDTool.cxx:21
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::RpvEgammaIDTool::~RpvEgammaIDTool
~RpvEgammaIDTool()
Destructor.
Definition: RpvEgammaIDTool.cxx:31
DerivationFramework::RpvEgammaIDTool::addBranches
virtual StatusCode addBranches() const
Check that the current event passes this filter.
Definition: RpvEgammaIDTool.cxx:49
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
EgammaContainer.h
DerivationFramework::RpvEgammaIDTool::m_qualFlags
std::vector< std::string > m_qualFlags
Definition: RpvEgammaIDTool.h:50
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::RpvEgammaIDTool::m_egammaSelectionKey
SG::WriteHandleKey< std::vector< int > > m_egammaSelectionKey
Definition: RpvEgammaIDTool.h:52
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::RpvEgammaIDTool::finalize
StatusCode finalize()
Definition: RpvEgammaIDTool.cxx:42
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::RpvEgammaIDTool::m_collNameKey
SG::ReadHandleKey< xAOD::EgammaContainer > m_collNameKey
Definition: RpvEgammaIDTool.h:51