ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexWeightCalculators
TrkVertexWeightCalculators
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
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
21
class
VertexWeightCalculator
final
22
:
public
AthAlgTool
,
23
virtual
public
Trk::IVertexWeightCalculator
{
24
public
:
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
38
private
:
39
SG::ReadDecorHandleKey<xAOD::VertexContainer>
m_ScoreKey
{
40
this
,
"ScoreKey"
,
""
,
41
"Name of the hard-scatter decoration"
};
42
};
43
44
#endif
// TRKVERTEXWEIGHTCALCULATORS_VERTEXWEIGHTCALCULATOR_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
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
VertexWeightCalculator::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
VertexWeightCalculator.cxx:29
VertexWeightCalculator::initialize
virtual StatusCode initialize() override
Definition
VertexWeightCalculator.cxx:21
VertexWeightCalculator::~VertexWeightCalculator
virtual ~VertexWeightCalculator() override
VertexWeightCalculator::m_ScoreKey
SG::ReadDecorHandleKey< xAOD::VertexContainer > m_ScoreKey
Definition
VertexWeightCalculator.h:39
VertexWeightCalculator::VertexWeightCalculator
VertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
Definition
VertexWeightCalculator.cxx:11
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