ATLAS Offline Software
Tracking
TrkVertexFitter
TrkVertexTools
TrkVertexTools
SecVertexMergingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 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
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
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
Trk::SecVertexMergingTool::mergeVertexContainer
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > mergeVertexContainer(const xAOD::VertexContainer &MyVxCont) const override
Merging
Definition:
SecVertexMergingTool.cxx:51
VertexContainerFwd.h
Trk::SecVertexMergingTool::m_minDist
float m_minDist
Definition:
SecVertexMergingTool.h:66
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
Trk::SecVertexMergingTool
Definition:
SecVertexMergingTool.h:42
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
Trk::SecVertexMergingTool::m_iVertexFitter
ToolHandle< Trk::IVertexFitter > m_iVertexFitter
Definition:
SecVertexMergingTool.h:67
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:794
Trk::SecVertexMergingTool::checkCompatibility
bool checkCompatibility(const xAOD::Vertex *vx1, const xAOD::Vertex *vx2) const
Definition:
SecVertexMergingTool.cxx:243
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::SecVertexMergingTool::~SecVertexMergingTool
virtual ~SecVertexMergingTool()
destructor
IVertexFitter.h
VertexFwd.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition:
Vertex_v1.h:42
TrackParticleFwd.h
Trk::SecVertexMergingTool::initialize
virtual StatusCode initialize() override
Definition:
SecVertexMergingTool.cxx:33
Trk::SecVertexMergingTool::finalize
virtual StatusCode finalize() override
EndOfInitialize.
Definition:
SecVertexMergingTool.cxx:45
AthAlgTool
Definition:
AthAlgTool.h:26
IVertexMergingTool.h
TrackParticleContainerFwd.h
Trk::IVertexMergingTool
Interface class for merging compatible vertices in a single collection.
Definition:
Tracking/TrkVertexFitter/TrkVertexFitterInterfaces/TrkVertexFitterInterfaces/IVertexMergingTool.h:42
Trk::SecVertexMergingTool::m_Compatidime
int m_Compatidime
Definition:
SecVertexMergingTool.h:65
VertexAuxContainer.h
Trk::SecVertexMergingTool::SecVertexMergingTool
SecVertexMergingTool(const std::string &t, const std::string &n, const IInterface *p)
constructor
Definition:
SecVertexMergingTool.cxx:17
Generated on Tue Dec 24 2024 21:18:00 for ATLAS Offline Software by
1.8.18