ATLAS Offline Software
Tracking
TrkVertexFitter
TrkVertexTools
TrkVertexTools
VertexCollectionSortingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrkVertexTools_VertexCollectionSortingTool_H
6
#define TrkVertexTools_VertexCollectionSortingTool_H
7
8
#include "
TrkVertexFitterInterfaces/IVertexCollectionSortingTool.h
"
9
#include "
TrkVertexFitterInterfaces/IVertexWeightCalculator.h
"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "GaudiKernel/ToolHandle.h"
13
// xAOD include
14
#include "
xAODTracking/TrackParticleAuxContainer.h
"
15
#include "
xAODTracking/TrackParticleContainerFwd.h
"
16
#include "
xAODTracking/TrackParticleFwd.h
"
17
#include "
xAODTracking/VertexAuxContainer.h
"
18
#include "
xAODTracking/VertexContainerFwd.h
"
19
#include "
xAODTracking/VertexFwd.h
"
20
34
namespace
Trk
{
35
class
IVertexWeightCalculator;
36
37
class
VertexCollectionSortingTool
final
38
:
public
AthAlgTool
39
,
virtual
public
IVertexCollectionSortingTool
40
{
41
public
:
42
virtual
StatusCode
initialize
()
override
;
43
virtual
StatusCode
finalize
()
override
;
47
VertexCollectionSortingTool
(
const
std::string&
t
,
48
const
std::string&
n
,
49
const
IInterface*
p
);
53
virtual
~VertexCollectionSortingTool
() =
default
;
55
virtual
std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
56
sortVertexContainer
(
const
xAOD::VertexContainer
& MyVxCont)
const override
;
57
58
private
:
59
ToolHandle<Trk::IVertexWeightCalculator>
m_iVertexWeightCalculator
{
60
this
,
61
"VertexWeightCalculator"
,
62
"Trk::IVertexWeightCalculator"
63
};
64
Gaudi::Property<std::string>
m_decorationName
{
65
this
,
66
"decorationName"
,
67
"sumPt2"
,
68
"Name to use for the decoration"
69
};
70
71
};
// end of class description
72
}
// end of namespace definition
73
74
#endif
Trk::VertexCollectionSortingTool
Definition:
VertexCollectionSortingTool.h:40
IVertexCollectionSortingTool.h
VertexContainerFwd.h
Trk::VertexCollectionSortingTool::finalize
virtual StatusCode finalize() override
EndOfInitialize.
Definition:
VertexCollectionSortingTool.cxx:49
Trk::IVertexCollectionSortingTool
Interface class for vertex Container Sorting.
Definition:
IVertexCollectionSortingTool.h:43
Trk::VertexCollectionSortingTool::sortVertexContainer
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > sortVertexContainer(const xAOD::VertexContainer &MyVxCont) const override
Sort.
Definition:
VertexCollectionSortingTool.cxx:55
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
IVertexWeightCalculator.h
Trk::VertexCollectionSortingTool::initialize
virtual StatusCode initialize() override
Definition:
VertexCollectionSortingTool.cxx:37
Trk::VertexCollectionSortingTool::VertexCollectionSortingTool
VertexCollectionSortingTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition:
VertexCollectionSortingTool.cxx:27
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
TrackParticleAuxContainer.h
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::VertexCollectionSortingTool::~VertexCollectionSortingTool
virtual ~VertexCollectionSortingTool()=default
destructor
VertexFwd.h
Trk::VertexCollectionSortingTool::m_iVertexWeightCalculator
ToolHandle< Trk::IVertexWeightCalculator > m_iVertexWeightCalculator
Definition:
VertexCollectionSortingTool.h:59
TrackParticleFwd.h
AthAlgTool
Definition:
AthAlgTool.h:26
TrackParticleContainerFwd.h
VertexAuxContainer.h
Trk::VertexCollectionSortingTool::m_decorationName
Gaudi::Property< std::string > m_decorationName
Definition:
VertexCollectionSortingTool.h:64
Generated on Thu Nov 7 2024 21:31:25 for ATLAS Offline Software by
1.8.18