ATLAS Offline Software
PhotonsDirectionTool.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 // PhotonsDirectionTool.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
10 #define DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
11 
13 //
16 //
17 #include <string>
18 #include <vector>
19 namespace DerivationFramework {
20 
22  : public AthAlgTool
23  , public IAugmentationTool
24 {
25 public:
27  const std::string& t,
28  const std::string& n,
29  const IInterface* p);
30 
31  virtual StatusCode initialize() override final;
32  virtual StatusCode addBranches() const override final;
33 
34 private:
36  "PhotonContainer",
37  "Photons",
38  "Input Photons" };
39 
41  "EtaSGEntry",
42  "",
43  "output Eta vector" };
44 
46  "PhiSGEntry",
47  "",
48  "output Phi vector" };
49 
51  "EtSGEntry",
52  "",
53  "output E vector" };
54 
56  "ESGEntry",
57  "",
58  "output E vector" };
59 
60  bool m_doEta = false;
61  bool m_doPhi = false;
62  bool m_doEt = false;
63  bool m_doE = false;
64 };
65 }
66 
67 #endif // DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
DerivationFramework::PhotonsDirectionTool::m_doE
bool m_doE
Definition: PhotonsDirectionTool.h:63
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::PhotonsDirectionTool::m_sgE
SG::WriteHandleKey< std::vector< float > > m_sgE
Definition: PhotonsDirectionTool.h:55
IAugmentationTool.h
DerivationFramework::PhotonsDirectionTool::m_doEt
bool m_doEt
Definition: PhotonsDirectionTool.h:62
DerivationFramework::PhotonsDirectionTool::m_sgEta
SG::WriteHandleKey< std::vector< float > > m_sgEta
Definition: PhotonsDirectionTool.h:40
DerivationFramework::PhotonsDirectionTool::m_sgEt
SG::WriteHandleKey< std::vector< float > > m_sgEt
Definition: PhotonsDirectionTool.h:50
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::PhotonsDirectionTool::addBranches
virtual StatusCode addBranches() const override final
Pass the thinning service
Definition: PhotonsDirectionTool.cxx:49
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::PhotonsDirectionTool::m_collName
SG::ReadHandleKey< xAOD::PhotonContainer > m_collName
Definition: PhotonsDirectionTool.h:35
DerivationFramework::PhotonsDirectionTool::m_doPhi
bool m_doPhi
Definition: PhotonsDirectionTool.h:61
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework::PhotonsDirectionTool::m_sgPhi
SG::WriteHandleKey< std::vector< float > > m_sgPhi
Definition: PhotonsDirectionTool.h:45
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::PhotonsDirectionTool
Definition: PhotonsDirectionTool.h:24
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::PhotonsDirectionTool::m_doEta
bool m_doEta
Definition: PhotonsDirectionTool.h:60
DerivationFramework::PhotonsDirectionTool::PhotonsDirectionTool
PhotonsDirectionTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: PhotonsDirectionTool.cxx:19
DerivationFramework::PhotonsDirectionTool::initialize
virtual StatusCode initialize() override final
Definition: PhotonsDirectionTool.cxx:28
AthAlgTool
Definition: AthAlgTool.h:26
PhotonContainer.h