Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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, "decor_ntrkKey", "ntrk", ""};
64  this, "decor_sumPtKey", "sumPt", ""};
66  this, "decor_chi2Over_ndfKey", "chi2Over_ndf", ""};
68  this, "decor_z_asymmetryKey", "z_asymmetry", ""};
70  this, "decor_weighted_z_asym", "weighted_z_asymmetry", ""};
72  this, "decor_weighted_z_kurt", "z_kurtosis", ""};
74  this, "decor_z_skew", "z_skewness", ""};
76  this, "decor_photon_deltaz", "photon_deltaz", ""};
78  this, "decor_photon_deltaPhi", "photon_deltaPhi", ""};
80  this, "decor_actualInterPerXing", "actualIntPerXing", ""};
81 
83  this, "photonLinks", "", "" };
85  this, "jetLinks", "", "" };
87  this, "electronLinks", "", "" };
89  this, "muonLinks", "", "" };
90 
92  this, "deltaZKey", "", "" };
94  this, "deltaPhiKey", "", "" };
95 
96  // additional ReadHandles for the Photons to declare dependencies
97  // to the scheduler
99  this, "caloPointingZKey", "", "" };
101  this, "zCommonKey", "", "" };
103  this, "zCommonErrorKey", "", "" };
104 
105  // Internal members
106  ToolHandle<CP::TrackVertexAssociationTool> m_trkVtxAssociationTool{
107  this, "TrackVertexAssociationTool",
108  "CP::TrackVertexAssociationTool/TrackVertexAssociationTool",
109  "Track vertex association tool to use"};
110 
111  ToolHandle<GNNTool> m_gnnTool{
112  this, "gnnTool",
113  "InDetGNNHardScatterSelection/GNNTool",
114  "GNN tool to use"};
115  };
116 } // namespace InDetGNNHardScatterSelection
117 
118 #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:98
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_zCommonErrorKey
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_zCommonErrorKey
Definition: VertexDecoratorAlg.h:102
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:82
TrackVertexAssociationTool.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_actualInterPerXing
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_actualInterPerXing
Definition: VertexDecoratorAlg.h:79
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_vertexInKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexInKey
Definition: VertexDecoratorAlg.h:48
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_ntrk
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_ntrk
Definition: VertexDecoratorAlg.h:61
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:111
AthHistogramAlgorithm.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_trkVtxAssociationTool
ToolHandle< CP::TrackVertexAssociationTool > m_trkVtxAssociationTool
Definition: VertexDecoratorAlg.h:106
ElectronContainer.h
GNNTool.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_sumPt
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_sumPt
Definition: VertexDecoratorAlg.h:63
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_weighted_z_kurt
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_weighted_z_kurt
Definition: VertexDecoratorAlg.h:71
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:93
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_chi2Over_ndf
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_chi2Over_ndf
Definition: VertexDecoratorAlg.h:65
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_photon_deltaPhi
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_photon_deltaPhi
Definition: VertexDecoratorAlg.h:77
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_z_asym
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_z_asym
Definition: VertexDecoratorAlg.h:67
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_deltaZKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_deltaZKey
Definition: VertexDecoratorAlg.h:91
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
columnar::final
CM final
Definition: ColumnAccessor.h:106
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_electronLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_electronLinksKey
Definition: VertexDecoratorAlg.h:86
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_photon_deltaz
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_photon_deltaz
Definition: VertexDecoratorAlg.h:75
EventInfo.h
MuonContainer.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::VertexDecoratorAlg
VertexDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: VertexDecoratorAlg.cxx:15
VertexContainer.h
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_z_skew
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_z_skew
Definition: VertexDecoratorAlg.h:73
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_mDecor_weighted_z_asym
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_mDecor_weighted_z_asym
Definition: VertexDecoratorAlg.h:69
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:100
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_jetLinksKey
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_jetLinksKey
Definition: VertexDecoratorAlg.h:84
InDetGNNHardScatterSelection::VertexDecoratorAlg::execute
StatusCode execute() override
Definition: VertexDecoratorAlg.cxx:91
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:88
InDetGNNHardScatterSelection::VertexDecoratorAlg::m_muonsInKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonsInKey
Definition: VertexDecoratorAlg.h:54