SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_requiredDecorations
Extra guard for deep-copy mode.
SG::WriteHandleKey< ConstDataVector< xAOD::TrackParticleContainer > > m_outputTrackParticleLocationView
Gaudi::Property< bool > m_createViewCollection
Option to create a view collection and not deep-copy tracks.
virtual StatusCode execute(const EventContext &ctx) const override final
Function executing the algorithm.
virtual StatusCode initialize() override final
Function initialising the algorithm.
TrackParticleMergerAlg(const std::string &name, ISvcLocator *svcLoc)
Algorithm constructor.
Algorithm to merge multiple track collections into one.
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputTrackParticleLocationCopy
Output collection name.
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_inputTrackParticleLocations
Input track collections to be merged.