ATLAS Offline Software
Loading...
Searching...
No Matches
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>
15namespace 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
SG::WriteHandleKey< std::vector< float > > m_sgE
SG::WriteHandleKey< std::vector< float > > m_sgPhi
virtual StatusCode initialize() override final
SG::WriteHandleKey< std::vector< float > > m_sgEt
SG::ReadHandleKey< xAOD::PhotonContainer > m_collName
SG::WriteHandleKey< std::vector< float > > m_sgEta
virtual StatusCode addBranches(const EventContext &ctx) const override final
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
THE reconstruction tool.