5#ifndef TRACKINGANALYSISALGORITHMS_TRACKPARTICLEMERGERALG_H
6#define TRACKINGANALYSISALGORITHMS_TRACKPARTICLEMERGERALG_H
45 virtual StatusCode
initialize()
override final;
48 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
59 this,
"InputTrackParticleLocations", {
"InDetTrackParticles",
"InDetLargeD0TrackParticles"},
60 "Input track collections to be merged"
65 this,
"OutputTrackParticleLocationCopy",
"InDetWithLRTTrackParticles",
"Output collection name"
68 this,
"OutputTrackParticleLocation",
"InDetWithLRTTrackParticles",
"Output view collection name"
76 this,
"RequiredDecorations", {},
"Decorations that the algorithm needs to wait for"};
DataVector adapter that acts like it holds const pointers.
virtual StatusCode execute(const EventContext &ctx) const override final
Function executing the algorithm.
TrackParticleMergerAlg(const std::string &name, ISvcLocator *svcLoc)
Algorithm constructor.
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_requiredDecorations
Extra guard for deep-copy mode.
SG::WriteHandleKey< ConstDataVector< xAOD::TrackParticleContainer > > m_outputTrackParticleLocationView
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTrackParticleLocationCopy
Output collection name.
virtual StatusCode initialize() override final
Function initialising the algorithm.
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_inputTrackParticleLocations
Input track collections to be merged.
Gaudi::Property< bool > m_createViewCollection
Option to create a view collection and not deep-copy tracks.
the base class for EventLoop reentrant algorithms
Property holding a SG store/key/clid from which a WriteHandle is made.
Select isolated Photons, Electrons and Muons.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray