ATLAS Offline Software
Loading...
Searching...
No Matches
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 {
28public:
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
42private:
44 this, "GNNScoreKey", "PrimaryVertices_initial.HSGN2_phsvertex",
45 "Name of the hard-scatter GNN decoration"};
46};
47
48#endif // TRKVERTEXWEIGHTCALCULATORS_GNNVERTEXWEIGHTCALCULATOR_H
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode initialize() override
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.
GNNVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
virtual ~GNNVertexWeightCalculator() override
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_gnnScoreKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Vertex_v1 Vertex
Define the latest version of the vertex class.