ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
33
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
AthAlgTool.h
IVertexCollectionSortingTool.h
IVertexWeightCalculator.h
TrackParticleAuxContainer.h
TrackParticleContainerFwd.h
TrackParticleFwd.h
VertexAuxContainer.h
VertexContainerFwd.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::IVertexCollectionSortingTool
Interface class for vertex Container Sorting.
Definition
IVertexCollectionSortingTool.h:43
Trk::IVertexWeightCalculator
Definition
IVertexWeightCalculator.h:40
Trk::VertexCollectionSortingTool::initialize
virtual StatusCode initialize() override
Definition
VertexCollectionSortingTool.cxx:37
Trk::VertexCollectionSortingTool::m_iVertexWeightCalculator
ToolHandle< Trk::IVertexWeightCalculator > m_iVertexWeightCalculator
Definition
VertexCollectionSortingTool.h:59
Trk::VertexCollectionSortingTool::~VertexCollectionSortingTool
virtual ~VertexCollectionSortingTool()=default
destructor
Trk::VertexCollectionSortingTool::sortVertexContainer
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > sortVertexContainer(const xAOD::VertexContainer &MyVxCont) const override
Sort.
Definition
VertexCollectionSortingTool.cxx:55
Trk::VertexCollectionSortingTool::m_decorationName
Gaudi::Property< std::string > m_decorationName
Definition
VertexCollectionSortingTool.h:64
Trk::VertexCollectionSortingTool::finalize
virtual StatusCode finalize() override
EndOfInitialize.
Definition
VertexCollectionSortingTool.cxx:49
Trk::VertexCollectionSortingTool::VertexCollectionSortingTool
VertexCollectionSortingTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition
VertexCollectionSortingTool.cxx:27
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
Generated on
for ATLAS Offline Software by
1.17.0