ATLAS Offline Software
InnerDetector
InDetRecTools
TrackVertexAssociationTool
src
TrackVertexAssoTestAlg.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// TrackVertexAssoTestAlg.h
8
// Header file for class TrackVertexAssoTestAlg
9
// Author: Rachid Mazini, Bo Liu
11
#ifndef TRACKVERTEXASSOCIATIONTOOL_TRACKVERTEXASSOTESTALG_H
12
#define TRACKVERTEXASSOCIATIONTOOL_TRACKVERTEXASSOTESTALG_H 1
13
14
// STL includes
15
#include <string>
16
17
// FrameWork includes
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
21
// Tools
22
#include "
TrackVertexAssociationTool/ITrackVertexAssociationTool.h
"
23
24
//xAOD
25
#include "
xAODTracking/TrackParticleContainer.h
"
26
#include "
xAODTracking/VertexContainer.h
"
27
28
class
TrackVertexAssoTestAlg
29
:
public
::AthAlgorithm
30
{
31
33
// Public methods:
35
public
:
36
37
// Copy constructor:
38
40
TrackVertexAssoTestAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
41
43
virtual
~TrackVertexAssoTestAlg
();
44
45
// Assignment operator:
46
//TrackVertexAssoTestAlg &operator=(const TrackVertexAssoTestAlg &alg);
47
48
// Athena algorithm's Hooks
49
virtual
StatusCode
initialize
();
50
virtual
StatusCode
execute
();
51
virtual
StatusCode
finalize
();
52
54
// Private data:
56
private
:
57
59
TrackVertexAssoTestAlg
();
60
61
ToolHandle<CP::ITrackVertexAssociationTool>
m_TVATool
;
62
64
65
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trkContname
66
{
this
,
"TrackContainer"
,
"InDetTrackParticles"
,
"Input track particles"
};
67
SG::ReadHandleKey<xAOD::VertexContainer>
m_vertexContname
{
this
,
"VertexContainer"
,
"PrimaryVertices"
,
"Input vertices"
};
68
69
};
70
71
72
#endif //> !TRACKVERTEXASSOCIATIONTOOL_TRACKVERTEXASSOTESTALG_H
TrackVertexAssoTestAlg::execute
virtual StatusCode execute()
Definition:
TrackVertexAssoTestAlg.cxx:70
TrackVertexAssoTestAlg::m_trkContname
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkContname
Containers.
Definition:
TrackVertexAssoTestAlg.h:66
TrackVertexAssoTestAlg::finalize
virtual StatusCode finalize()
Definition:
TrackVertexAssoTestAlg.cxx:63
TrackVertexAssoTestAlg::m_TVATool
ToolHandle< CP::ITrackVertexAssociationTool > m_TVATool
Definition:
TrackVertexAssoTestAlg.h:61
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackVertexAssoTestAlg::TrackVertexAssoTestAlg
TrackVertexAssoTestAlg()
Default constructor:
ITrackVertexAssociationTool.h
AthAlgorithm
Definition:
AthAlgorithm.h:47
TrackVertexAssoTestAlg::~TrackVertexAssoTestAlg
virtual ~TrackVertexAssoTestAlg()
Destructor:
TrackVertexAssoTestAlg
Definition:
TrackVertexAssoTestAlg.h:30
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
VertexContainer.h
TrackVertexAssoTestAlg::m_vertexContname
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContname
Definition:
TrackVertexAssoTestAlg.h:67
TrackVertexAssoTestAlg::initialize
virtual StatusCode initialize()
Definition:
TrackVertexAssoTestAlg.cxx:51
TrackParticleContainer.h
Generated on Thu Nov 7 2024 21:29:17 for ATLAS Offline Software by
1.8.18