ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexWeightCalculators
TrkVertexWeightCalculators
SumPtVertexWeightCalculator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrkVertexWeightCalculator_SumPtVertexWeightCalculator_H
6
#define TrkVertexWeightCalculator_SumPtVertexWeightCalculator_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
TrkVertexFitterInterfaces/IVertexWeightCalculator.h
"
11
12
// xAOD include
13
#include "
xAODTracking/TrackParticleFwd.h
"
14
#include "
xAODTracking/VertexAuxContainer.h
"
15
#include "
xAODTracking/VertexFwd.h
"
16
30
31
namespace
Trk
{
32
33
class
SumPtVertexWeightCalculator
34
:
public
AthAlgTool
35
,
virtual
public
IVertexWeightCalculator
36
{
37
public
:
38
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
finalize
()
override
;
40
44
45
SumPtVertexWeightCalculator
(
const
std::string& t,
46
const
std::string& n,
47
const
IInterface* p);
48
52
53
virtual
~SumPtVertexWeightCalculator
() =
default
;
54
58
59
virtual
double
estimateSignalCompatibility
(
const
xAOD::Vertex
&
vertex
)
const
override
final
;
60
61
private
:
65
Gaudi::Property<bool>
m_doSumPt2Selection
{
this
,
"DoSumPt2Selection"
,
true
};
66
67
};
// end of class description
68
}
// end of namespace definition
69
70
#endif
AthAlgTool.h
IVertexWeightCalculator.h
TrackParticleFwd.h
VertexAuxContainer.h
VertexFwd.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Trk::IVertexWeightCalculator
Definition
IVertexWeightCalculator.h:40
Trk::SumPtVertexWeightCalculator::SumPtVertexWeightCalculator
SumPtVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition
SumPtVertexWeightCalculator.cxx:27
Trk::SumPtVertexWeightCalculator::estimateSignalCompatibility
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override final
WeightCalculator.
Definition
SumPtVertexWeightCalculator.cxx:36
Trk::SumPtVertexWeightCalculator::~SumPtVertexWeightCalculator
virtual ~SumPtVertexWeightCalculator()=default
destructor
Trk::SumPtVertexWeightCalculator::finalize
virtual StatusCode finalize() override
Definition
SumPtVertexWeightCalculator.cxx:21
Trk::SumPtVertexWeightCalculator::m_doSumPt2Selection
Gaudi::Property< bool > m_doSumPt2Selection
Flag to Set SumPt^2 not SumPt as selection criteria.
Definition
SumPtVertexWeightCalculator.h:65
Trk::SumPtVertexWeightCalculator::initialize
virtual StatusCode initialize() override
Definition
SumPtVertexWeightCalculator.cxx:15
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::vertex
@ vertex
Definition
MeasurementType.h:21
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