ATLAS Offline Software
Loading...
Searching...
No Matches
PreselCaloExtensionBuilderAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef TRACKTOCALO_PRESELCALOEXTENSIONBUILDERALG_H
6#define TRACKTOCALO_PRESELCALOEXTENSIONBUILDERALG_H
7
9#include "GaudiKernel/ToolHandle.h"
15
16namespace Trk {
32 public:
33 PreselCaloExtensionBuilderAlg(const std::string& name, ISvcLocator* pSvcLocator);
35
36 virtual StatusCode initialize() override;
37 virtual StatusCode execute(const EventContext& ctx) const override;
38
39 private:
40 ToolHandle<Trk::IParticleCaloExtensionTool> m_particleCaloExtensionTool{this, "ParticleCaloExtensionTool",
41 "ParticleCaloExtensionTool"};
42 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_inputTracksKey{this, "InputTracks", "", "Input track container"};
43 SG::WriteHandleKey<CaloExtensionCollection> m_outputCacheKey{this, "OutputCache", "", "Output extension cache"};
44 }; //> end class PreselCaloExtensionBuilderAlg
45} // namespace Trk
46
47#endif //> !TRACKTOCALO_PRESELCALOEXTENSIONBUILDERALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< Trk::IParticleCaloExtensionTool > m_particleCaloExtensionTool
PreselCaloExtensionBuilderAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< CaloExtensionCollection > m_outputCacheKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputTracksKey
Ensure that the ATLAS eigen extensions are properly loaded.