ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexTools
TrkVertexTools
Tracking/TrkVertexFitter/TrkVertexTools/TrkVertexTools/VertexMergingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrkVertexTools_VertexMergingTool_H
6
#define TrkVertexTools_VertexMergingTool_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
TrkVertexFitterInterfaces/IVertexMergingTool.h
"
11
#include "
TrkVertexFitterInterfaces/IVertexFitter.h
"
12
#include "
BeamSpotConditionsData/BeamSpotData.h
"
13
14
//xAOD include
15
#include "
xAODTracking/VertexFwd.h
"
16
#include "
xAODTracking/TrackParticleFwd.h
"
17
#include "
xAODTracking/VertexContainerFwd.h
"
18
#include "
xAODTracking/VertexAuxContainer.h
"
19
#include "
xAODTracking/TrackParticleContainerFwd.h
"
20
#include "
xAODTracking/TrackParticleAuxContainer.h
"
21
35
36
37
namespace
Trk
38
{
39
class
IVertexFitter
;
40
41
class
VertexMergingTool
:
public
AthAlgTool
,
virtual
public
IVertexMergingTool
42
{
43
public
:
44
StatusCode
initialize
()
override
;
45
49
VertexMergingTool
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
50
54
virtual
~VertexMergingTool
();
55
59
virtual
std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
60
mergeVertexContainer
(
const
EventContext& ctx,
const
xAOD::VertexContainer
& MyVxCont)
const override
;
61
62
private
:
63
64
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamSpotKey
{
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
65
ToolHandle< Trk::IVertexFitter >
m_iVertexFitter
;
66
bool
m_useBeamConstraint
;
67
68
bool
checkCompatibility
(
const
xAOD::Vertex
* vx1,
const
xAOD::Vertex
* vx2 )
const
;
69
70
};
//end of class description
71
}
//end of namespace definition
72
73
#endif
AthAlgTool.h
BeamSpotData.h
IVertexFitter.h
TrackParticleAuxContainer.h
TrackParticleContainerFwd.h
TrackParticleFwd.h
IVertexMergingTool.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
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Trk::IVertexFitter
Interface class for vertex fitting AlgTools, for more detailed information, take a look at the header...
Definition
IVertexFitter.h:55
Trk::IVertexMergingTool
Interface class for merging compatible vertices in a single collection.
Definition
Tracking/TrkVertexFitter/TrkVertexFitterInterfaces/TrkVertexFitterInterfaces/IVertexMergingTool.h:41
Trk::VertexMergingTool::m_iVertexFitter
ToolHandle< Trk::IVertexFitter > m_iVertexFitter
Definition
Tracking/TrkVertexFitter/TrkVertexTools/TrkVertexTools/VertexMergingTool.h:65
Trk::VertexMergingTool::mergeVertexContainer
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > mergeVertexContainer(const EventContext &ctx, const xAOD::VertexContainer &MyVxCont) const override
Merging.
Definition
Tracking/TrkVertexFitter/TrkVertexTools/src/VertexMergingTool.cxx:43
Trk::VertexMergingTool::checkCompatibility
bool checkCompatibility(const xAOD::Vertex *vx1, const xAOD::Vertex *vx2) const
Definition
Tracking/TrkVertexFitter/TrkVertexTools/src/VertexMergingTool.cxx:127
Trk::VertexMergingTool::initialize
StatusCode initialize() override
Definition
Tracking/TrkVertexFitter/TrkVertexTools/src/VertexMergingTool.cxx:28
Trk::VertexMergingTool::~VertexMergingTool
virtual ~VertexMergingTool()
destructor
Trk::VertexMergingTool::m_useBeamConstraint
bool m_useBeamConstraint
Definition
Tracking/TrkVertexFitter/TrkVertexTools/TrkVertexTools/VertexMergingTool.h:66
Trk::VertexMergingTool::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
Tracking/TrkVertexFitter/TrkVertexTools/TrkVertexTools/VertexMergingTool.h:64
Trk::VertexMergingTool::VertexMergingTool
VertexMergingTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition
Tracking/TrkVertexFitter/TrkVertexTools/src/VertexMergingTool.cxx:14
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
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