ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
TrackToCalo
src
CaloExtensionBuilderAlg.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 TRK_CALOEXTENSIONBUILDERALG_H
6
#define TRK_CALOEXTENSIONBUILDERALG_H
13
14
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
17
#include "
RecoToolInterfaces/IParticleCaloExtensionTool.h
"
18
#include "
StoreGate/ReadHandleKey.h
"
19
#include "
StoreGate/WriteHandleKey.h
"
20
#include "
TRT_ReadoutGeometry/TRT_DetElementContainer.h
"
21
#include "
TrkCaloExtension/CaloExtensionCollection.h
"
22
#include "
xAODTracking/TrackParticleContainer.h
"
23
namespace
Trk
{
52
class
CaloExtensionBuilderAlg
:
public
AthReentrantAlgorithm
53
{
54
public
:
55
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
56
virtual
StatusCode
initialize
()
override
final
;
57
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
58
59
private
:
61
ToolHandle<Trk::IParticleCaloExtensionTool>
m_particleCaloExtensionTool
{
62
this
,
63
"LastCaloExtentionTool"
,
64
"Trk::CaloExtensionBuilderTool"
65
};
66
68
SG::WriteHandleKey<CaloExtensionCollection>
m_ParticleCacheKey
{
69
this
,
70
"ParticleCache"
,
71
"ParticleCaloExtension"
,
72
"Name of the particle measurement extrapolation cache"
73
};
74
76
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_TrkPartContainerKey
{
77
this
,
78
"TrkPartContainerName"
,
79
"InDetTrackParticles"
,
80
"Container of tracks"
81
};
82
SG::ReadDecorHandleKey<xAOD::TrackParticleContainer>
m_trkLinkKey
{
this
,
"trackLinkKey"
,
m_TrkPartContainerKey
,
"trackLink"
};
83
};
84
}
// namespace Trk
85
86
#endif
//
AthReentrantAlgorithm.h
CaloExtensionCollection.h
TrackParticleContainer.h
IParticleCaloExtensionTool.h
SiDetectorElementCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TRT_DetElementContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Trk::CaloExtensionBuilderAlg
This algorithm creates a calo extension collection and stores it in a Gaudi Gate named "ParticleCaloE...
Definition
CaloExtensionBuilderAlg.h:53
Trk::CaloExtensionBuilderAlg::m_TrkPartContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkPartContainerKey
input Track collection and vertex
Definition
CaloExtensionBuilderAlg.h:76
Trk::CaloExtensionBuilderAlg::initialize
virtual StatusCode initialize() override final
Definition
CaloExtensionBuilderAlg.cxx:30
Trk::CaloExtensionBuilderAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
CaloExtensionBuilderAlg.cxx:40
Trk::CaloExtensionBuilderAlg::m_trkLinkKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_trkLinkKey
Definition
CaloExtensionBuilderAlg.h:82
Trk::CaloExtensionBuilderAlg::m_particleCaloExtensionTool
ToolHandle< Trk::IParticleCaloExtensionTool > m_particleCaloExtensionTool
the Calo Extension tool
Definition
CaloExtensionBuilderAlg.h:61
Trk::CaloExtensionBuilderAlg::m_ParticleCacheKey
SG::WriteHandleKey< CaloExtensionCollection > m_ParticleCacheKey
output particle calo extension collection
Definition
CaloExtensionBuilderAlg.h:68
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0