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 
5 #ifndef DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
6 #define DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
7 
9 //
12 //
13 #include <string>
14 #include <vector>
15 namespace DerivationFramework {
16 
17  class PhotonsDirectionTool : public extends<AthAlgTool, IAugmentationTool>
18  {
19  public:
20 
21  using base_class::base_class;
22 
23  virtual StatusCode initialize() override final;
24  virtual StatusCode addBranches(const EventContext& ctx) const override final;
25 
26  private:
28  "PhotonContainer",
29  "Photons",
30  "Input Photons" };
31 
33  "EtaSGEntry",
34  "",
35  "output Eta vector" };
36 
38  "PhiSGEntry",
39  "",
40  "output Phi vector" };
41 
43  "EtSGEntry",
44  "",
45  "output E vector" };
46 
48  "ESGEntry",
49  "",
50  "output E vector" };
51 
52  bool m_doEta = false;
53  bool m_doPhi = false;
54  bool m_doEt = false;
55  bool m_doE = false;
56  };
57 }
58 
59 #endif // DERIVATIONFRAMEWORK_PHOTONSDIRECTIONTOOL_H
DerivationFramework::PhotonsDirectionTool::m_doE
bool m_doE
Definition: PhotonsDirectionTool.h:55
DerivationFramework::PhotonsDirectionTool::m_sgE
SG::WriteHandleKey< std::vector< float > > m_sgE
Definition: PhotonsDirectionTool.h:47
IAugmentationTool.h
DerivationFramework::PhotonsDirectionTool::m_doEt
bool m_doEt
Definition: PhotonsDirectionTool.h:54
DerivationFramework::PhotonsDirectionTool::m_sgEta
SG::WriteHandleKey< std::vector< float > > m_sgEta
Definition: PhotonsDirectionTool.h:32
DerivationFramework::PhotonsDirectionTool::m_sgEt
SG::WriteHandleKey< std::vector< float > > m_sgEt
Definition: PhotonsDirectionTool.h:42
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:27
DerivationFramework::PhotonsDirectionTool::m_doPhi
bool m_doPhi
Definition: PhotonsDirectionTool.h:53
DerivationFramework::PhotonsDirectionTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: PhotonsDirectionTool.cxx:41
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:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::PhotonsDirectionTool
Definition: PhotonsDirectionTool.h:18
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::PhotonsDirectionTool::m_doEta
bool m_doEta
Definition: PhotonsDirectionTool.h:52
DerivationFramework::PhotonsDirectionTool::initialize
virtual StatusCode initialize() override final
Definition: PhotonsDirectionTool.cxx:20
PhotonContainer.h