ATLAS Offline Software
CaloExtensionBuilderAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRK_CALOEXTENSIONBUILDERALG_H
6 #define TRK_CALOEXTENSIONBUILDERALG_H
7 
15 #include "GaudiKernel/ToolHandle.h"
23 namespace Trk {
53 {
54 public:
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 
69  this,
70  "ParticleCache",
71  "ParticleCaloExtension",
72  "Name of the particle measurement extrapolation cache"
73  };
74 
77  this,
78  "TrkPartContainerName",
79  "InDetTrackParticles",
80  "Container of tracks"
81  };
82 };
83 } // namespace Trk
84 
85 #endif //
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Trk::CaloExtensionBuilderAlg::m_particleCaloExtensionTool
ToolHandle< Trk::IParticleCaloExtensionTool > m_particleCaloExtensionTool
the Calo Extension tool
Definition: CaloExtensionBuilderAlg.h:61
TRT_DetElementContainer.h
SG::ReadHandleKey< xAOD::TrackParticleContainer >
Trk::CaloExtensionBuilderAlg::initialize
virtual StatusCode initialize() override final
Definition: CaloExtensionBuilderAlg.cxx:31
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
Trk::CaloExtensionBuilderAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: CaloExtensionBuilderAlg.cxx:40
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
Trk::CaloExtensionBuilderAlg::m_TrkPartContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkPartContainerKey
input Track collection and vertex
Definition: CaloExtensionBuilderAlg.h:76
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
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
SiDetectorElementCollection.h
CaloExtensionCollection.h
IParticleCaloExtensionTool.h
TrackParticleContainer.h
Trk::CaloExtensionBuilderAlg
This algorithm creates a calo extension collection and stores it in a Gaudi Gate named "ParticleCaloE...
Definition: CaloExtensionBuilderAlg.h:53