ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexTools
TrkVertexTools
SecVertexMergingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
//Author: Lianyou Shan <lianyou.shan@cern.ch>
5
6
#ifndef TrkVertexTools_SecVertexMergingTool_H
7
#define TrkVertexTools_SecVertexMergingTool_H
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
TrkVertexFitterInterfaces/IVertexMergingTool.h
"
12
#include "
TrkVertexFitterInterfaces/IVertexFitter.h
"
13
14
15
//xAOD include
16
#include "
xAODTracking/VertexFwd.h
"
17
#include "
xAODTracking/TrackParticleFwd.h
"
18
#include "
xAODTracking/VertexContainerFwd.h
"
19
#include "
xAODTracking/VertexAuxContainer.h
"
20
#include "
xAODTracking/TrackParticleContainerFwd.h
"
21
#include "
xAODTracking/TrackParticleAuxContainer.h
"
22
36
37
namespace
Trk
38
{
39
class
IVertexFitter
;
40
41
class
SecVertexMergingTool
:
public
AthAlgTool
,
virtual
public
IVertexMergingTool
42
{
43
public
:
44
virtual
StatusCode
initialize
()
override
;
45
virtual
StatusCode
finalize
()
override
;
46
50
SecVertexMergingTool
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
51
55
virtual
~SecVertexMergingTool
();
56
60
virtual
std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
61
mergeVertexContainer
(
const
EventContext& ctx,
const
xAOD::VertexContainer
& MyVxCont)
const override
;
62
63
private
:
64
65
int
m_Compatidime
;
// Lianyou added
66
float
m_minDist
;
67
ToolHandle< Trk::IVertexFitter >
m_iVertexFitter
;
68
69
bool
checkCompatibility
(
const
xAOD::Vertex
* vx1,
const
xAOD::Vertex
* vx2 )
const
;
70
71
};
//end of class description
72
}
//end of namespace definition
73
74
#endif
AthAlgTool.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
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::SecVertexMergingTool::SecVertexMergingTool
SecVertexMergingTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition
SecVertexMergingTool.cxx:17
Trk::SecVertexMergingTool::initialize
virtual StatusCode initialize() override
Definition
SecVertexMergingTool.cxx:33
Trk::SecVertexMergingTool::checkCompatibility
bool checkCompatibility(const xAOD::Vertex *vx1, const xAOD::Vertex *vx2) const
Definition
SecVertexMergingTool.cxx:242
Trk::SecVertexMergingTool::mergeVertexContainer
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > mergeVertexContainer(const EventContext &ctx, const xAOD::VertexContainer &MyVxCont) const override
Merging.
Definition
SecVertexMergingTool.cxx:51
Trk::SecVertexMergingTool::m_iVertexFitter
ToolHandle< Trk::IVertexFitter > m_iVertexFitter
Definition
SecVertexMergingTool.h:67
Trk::SecVertexMergingTool::finalize
virtual StatusCode finalize() override
EndOfInitialize.
Definition
SecVertexMergingTool.cxx:45
Trk::SecVertexMergingTool::m_Compatidime
int m_Compatidime
Definition
SecVertexMergingTool.h:65
Trk::SecVertexMergingTool::~SecVertexMergingTool
virtual ~SecVertexMergingTool()
destructor
Trk::SecVertexMergingTool::m_minDist
float m_minDist
Definition
SecVertexMergingTool.h:66
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