ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
TrackVertexAssociationTool
src
TrackVertexAssoTestAlg.h
Go to the documentation of this file.
1
2
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
(
const
EventContext& ctx);
51
virtual
StatusCode
finalize
();
52
54
// Private data:
56
private
:
57
59
TrackVertexAssoTestAlg
();
60
61
ToolHandle<CP::ITrackVertexAssociationTool>
m_TVATool
{
this
,
"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
AthAlgorithm.h
TrackParticleContainer.h
ITrackVertexAssociationTool.h
VertexContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrackVertexAssoTestAlg::m_vertexContname
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContname
Definition
TrackVertexAssoTestAlg.h:67
TrackVertexAssoTestAlg::initialize
virtual StatusCode initialize()
Definition
TrackVertexAssoTestAlg.cxx:45
TrackVertexAssoTestAlg::TrackVertexAssoTestAlg
TrackVertexAssoTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
TrackVertexAssoTestAlg.cxx:33
TrackVertexAssoTestAlg::TrackVertexAssoTestAlg
TrackVertexAssoTestAlg()
Default constructor:
TrackVertexAssoTestAlg::m_TVATool
ToolHandle< CP::ITrackVertexAssociationTool > m_TVATool
Definition
TrackVertexAssoTestAlg.h:61
TrackVertexAssoTestAlg::finalize
virtual StatusCode finalize()
Definition
TrackVertexAssoTestAlg.cxx:57
TrackVertexAssoTestAlg::~TrackVertexAssoTestAlg
virtual ~TrackVertexAssoTestAlg()
Destructor:
TrackVertexAssoTestAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TrackVertexAssoTestAlg.cxx:64
TrackVertexAssoTestAlg::m_trkContname
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkContname
Containers.
Definition
TrackVertexAssoTestAlg.h:66
Generated on
for ATLAS Offline Software by
1.17.0