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 
21 class PhotonsDirectionTool : public extends<AthAlgTool, IAugmentationTool>
22 {
23 public:
25  const std::string& t,
26  const std::string& n,
27  const IInterface* p);
28 
29  virtual StatusCode initialize() override final;
30  virtual StatusCode addBranches() const override final;
31 
32 private:
34  "PhotonContainer",
35  "Photons",
36  "Input Photons" };
37 
39  "EtaSGEntry",
40  "",
41  "output Eta vector" };
42 
44  "PhiSGEntry",
45  "",
46  "output Phi vector" };
47 
49  "EtSGEntry",
50  "",
51  "output E vector" };
52 
54  "ESGEntry",
55  "",
56  "output E vector" };
57 
58  bool m_doEta = false;
59  bool m_doPhi = false;
60  bool m_doEt = false;
61  bool m_doE = false;
62 };
63 }
64 
65 #endif // DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
DerivationFramework::PhotonsDirectionTool::m_doE
bool m_doE
Definition: PhotonsDirectionTool.h:61
DerivationFramework::PhotonsDirectionTool::m_sgE
SG::WriteHandleKey< std::vector< float > > m_sgE
Definition: PhotonsDirectionTool.h:53
IAugmentationTool.h
DerivationFramework::PhotonsDirectionTool::m_doEt
bool m_doEt
Definition: PhotonsDirectionTool.h:60
DerivationFramework::PhotonsDirectionTool::m_sgEta
SG::WriteHandleKey< std::vector< float > > m_sgEta
Definition: PhotonsDirectionTool.h:38
DerivationFramework::PhotonsDirectionTool::m_sgEt
SG::WriteHandleKey< std::vector< float > > m_sgEt
Definition: PhotonsDirectionTool.h:48
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::PhotonsDirectionTool::addBranches
virtual StatusCode addBranches() const override final
Definition: PhotonsDirectionTool.cxx:48
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:33
DerivationFramework::PhotonsDirectionTool::m_doPhi
bool m_doPhi
Definition: PhotonsDirectionTool.h:59
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
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:43
beamspotman.n
n
Definition: beamspotman.py:729
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::PhotonsDirectionTool
Definition: PhotonsDirectionTool.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::PhotonsDirectionTool::m_doEta
bool m_doEta
Definition: PhotonsDirectionTool.h:58
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:27
PhotonContainer.h