ATLAS Offline Software
VertexDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // Always protect against multiple includes!
6 #ifndef HSGNN_VERTEXDECORATORALG
7 #define HSGNN_VERTEXDECORATORALG
8 
9 #include <utility>
10 #include <vector>
11 
13 
18 #include <xAODJet/JetContainer.h>
19 #include <xAODMuon/MuonContainer.h>
20 
24 
37 {
38 
40 public:
41  VertexDecoratorAlg(const std::string& name, ISvcLocator *pSvcLocator);
42 
43  StatusCode initialize() override;
44  StatusCode execute() override;
45 private:
46 
47  // Members for configurable properties
49  this, "vertexIn", "PrimaryVertices", "containerName to read"};
51  this, "eventIn", "EventInfo", "containerName to read"};
53  this, "electronsIn", "Electrons", "containerName to read"};
55  this, "muonsIn", "Muons", "containerName to read"};
57  this, "jetsIn", "AntiKt4EMTopoJets", "containerName to read"};
59  this, "photonsIn", "Photons", "containerName to read"};
60 
62  this, "photonLinks", "", "" };
64  this, "jetLinks", "", "" };
66  this, "electronLinks", "", "" };
68  this, "muonLinks", "", "" };
69 
71  this, "deltaZKey", "", "" };
73  this, "deltaPhiKey", "", "" };
74 
75  // additional ReadHandles for the Photons to declare dependencies
76  // to the scheduler
78  this, "caloPointingZKey", "", "" };
80  this, "zCommonKey", "", "" };
82  this, "zCommonErrorKey", "", "" };
83 
84  // Internal members
85  ToolHandle<CP::TrackVertexAssociationTool> m_trkVtxAssociationTool{
86  this, "TrackVertexAssociationTool",
87  "CP::TrackVertexAssociationTool/TrackVertexAssociationTool",
88  "Track vertex association tool to use"};
89 
90  ToolHandle<GNNTool> m_gnnTool{
91  this, "gnnTool",
92  "InDetGNNHardScatterSelection/GNNTool",
93  "GNN tool to use"};
94  };
95 } // namespace InDetGNNHardScatterSelection
96 
97 #endif
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_photonsInKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsInKey
Definition: VertexDecoratorAlg.h:58
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_caloPointingZKey
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_caloPointingZKey
Definition: VertexDecoratorAlg.h:77
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_zCommonErrorKey
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_zCommonErrorKey
Definition: VertexDecoratorAlg.h:81
InDetGNNHardScatterSelection::VertexDecoratorAlg::initialize
StatusCode initialize() override
Definition: VertexDecoratorAlg.cxx:21
InDetGNNHardScatterSelection::VertexDecoratorAlg
Definition: VertexDecoratorAlg.h:39
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_eventInKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInKey
Definition: VertexDecoratorAlg.h:50
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_photonLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_photonLinksKey
Definition: VertexDecoratorAlg.h:61
TrackVertexAssociationTool.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_vertexInKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexInKey
Definition: VertexDecoratorAlg.h:48
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_gnnTool
ToolHandle< GNNTool > m_gnnTool
Definition: VertexDecoratorAlg.h:90
AthHistogramAlgorithm.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_trkVtxAssociationTool
ToolHandle< CP::TrackVertexAssociationTool > m_trkVtxAssociationTool
Definition: VertexDecoratorAlg.h:85
ElectronContainer.h
GNNTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_deltaPhiKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_deltaPhiKey
Definition: VertexDecoratorAlg.h:72
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_deltaZKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_deltaZKey
Definition: VertexDecoratorAlg.h:70
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_electronLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_electronLinksKey
Definition: VertexDecoratorAlg.h:65
EventInfo.h
MuonContainer.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::VertexDecoratorAlg
VertexDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: VertexDecoratorAlg.cxx:15
VertexContainer.h
JetContainer.h
InDetGNNHardScatterSelection
Definition: InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/ConstituentsLoader.h:22
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_jetsInKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsInKey
Definition: VertexDecoratorAlg.h:56
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_zCommonKey
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_zCommonKey
Definition: VertexDecoratorAlg.h:79
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_jetLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_jetLinksKey
Definition: VertexDecoratorAlg.h:63
InDetGNNHardScatterSelection::VertexDecoratorAlg::execute
StatusCode execute() override
Definition: VertexDecoratorAlg.cxx:67
IInDetVertexTruthMatchTool.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_electronsInKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsInKey
Definition: VertexDecoratorAlg.h:52
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
PhotonContainer.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_muonLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_muonLinksKey
Definition: VertexDecoratorAlg.h:67
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_muonsInKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonsInKey
Definition: VertexDecoratorAlg.h:54