ATLAS Offline Software
Loading...
Searching...
No Matches
VertexWeightCalculator.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_VERTEXWEIGHTCALCULATOR_H
6#define TRKVERTEXWEIGHTCALCULATORS_VERTEXWEIGHTCALCULATOR_H
7
12
13#include <memory>
14#include <string>
15
22 : public AthAlgTool,
23 virtual public Trk::IVertexWeightCalculator {
24public:
25 VertexWeightCalculator(const std::string& t,
26 const std::string& n,
27 const IInterface* p);
28
29 virtual ~VertexWeightCalculator() override;
30 virtual StatusCode initialize() override;
35 virtual double
36 estimateSignalCompatibility(const xAOD::Vertex &vertex) const override;
37
38private:
40 this, "ScoreKey", "",
41 "Name of the hard-scatter decoration"};
42};
43
44#endif // TRKVERTEXWEIGHTCALCULATORS_VERTEXWEIGHTCALCULATOR_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:
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
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.
virtual StatusCode initialize() override
virtual ~VertexWeightCalculator() override
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_ScoreKey
VertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
Vertex_v1 Vertex
Define the latest version of the vertex class.