ATLAS Offline Software
GNNVertexWeightCalculator.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 #ifndef TRKVERTEXWEIGHTCALCULATORS_GNNVERTEXWEIGHTCALCULATOR_H
6 #define TRKVERTEXWEIGHTCALCULATORS_GNNVERTEXWEIGHTCALCULATOR_H
7 
12 
13 #include <memory>
14 #include <string>
15 
26  : public AthAlgTool,
27  virtual public Trk::IVertexWeightCalculator {
28 public:
29  GNNVertexWeightCalculator(const std::string& t,
30  const std::string& n,
31  const IInterface* p);
32 
33  virtual ~GNNVertexWeightCalculator() override;
34  virtual StatusCode initialize() override;
39  virtual double
40  estimateSignalCompatibility(const xAOD::Vertex &vertex) const override;
41 
42 private:
44  this, "GNNScoreKey", "PrimaryVertices_initial.HSGN2_phsvertex",
45  "Name of the hard-scatter GNN decoration"};
46 };
47 
48 #endif // TRKVERTEXWEIGHTCALCULATORS_GNNVERTEXWEIGHTCALCULATOR_H
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
GNNVertexWeightCalculator::m_gnnScoreKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_gnnScoreKey
Definition: GNNVertexWeightCalculator.h:43
GNNVertexWeightCalculator::GNNVertexWeightCalculator
GNNVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
Definition: GNNVertexWeightCalculator.cxx:11
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
IVertexWeightCalculator.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
beamspotman.n
n
Definition: beamspotman.py:729
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
GNNVertexWeightCalculator::estimateSignalCompatibility
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override
Estimate the compatibility of the vertex with a hard scatter vertex, with respect to pileup vertices.
Definition: GNNVertexWeightCalculator.cxx:29
GNNVertexWeightCalculator
A tool to select the primary vertex associated to the hard-scatter using a GNN.
Definition: GNNVertexWeightCalculator.h:27
columnar::final
CM final
Definition: ColumnAccessor.h:106
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
VertexContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
Trk::IVertexWeightCalculator
Definition: IVertexWeightCalculator.h:40
GNNVertexWeightCalculator::initialize
virtual StatusCode initialize() override
Definition: GNNVertexWeightCalculator.cxx:21
AthAlgTool
Definition: AthAlgTool.h:26
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
GNNVertexWeightCalculator::~GNNVertexWeightCalculator
virtual ~GNNVertexWeightCalculator() override