ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexWeightCalculators
TrkVertexWeightCalculators
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
8
#include "
StoreGate/ReadDecorHandleKey.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include <
TrkVertexFitterInterfaces/IVertexWeightCalculator.h
>
11
#include <
xAODTracking/VertexContainer.h
>
12
13
#include <memory>
14
#include <string>
15
25
class
GNNVertexWeightCalculator
final
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
:
43
SG::ReadDecorHandleKey<xAOD::VertexContainer>
m_gnnScoreKey
{
44
this
,
"GNNScoreKey"
,
"PrimaryVertices_initial.HSGN2_phsvertex"
,
45
"Name of the hard-scatter GNN decoration"
};
46
};
47
48
#endif
// TRKVERTEXWEIGHTCALCULATORS_GNNVERTEXWEIGHTCALCULATOR_H
AthAlgTool.h
IVertexWeightCalculator.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
VertexContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
GNNVertexWeightCalculator::initialize
virtual StatusCode initialize() override
Definition
GNNVertexWeightCalculator.cxx:21
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::GNNVertexWeightCalculator
GNNVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
Definition
GNNVertexWeightCalculator.cxx:11
GNNVertexWeightCalculator::~GNNVertexWeightCalculator
virtual ~GNNVertexWeightCalculator() override
GNNVertexWeightCalculator::m_gnnScoreKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_gnnScoreKey
Definition
GNNVertexWeightCalculator.h:43
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
Trk::IVertexWeightCalculator
Definition
IVertexWeightCalculator.h:40
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Generated on
for ATLAS Offline Software by
1.17.0