8#ifndef GNN_AUXTASK_DECORATOR_ALG_H
9#define GNN_AUXTASK_DECORATOR_ALG_H
16#include "Gaudi/Property.h"
29 virtual StatusCode
execute(
const EventContext& cxt)
const override;
30 virtual StatusCode
finalize()
override;
35 this,
"jet_container",
"AntiKt4EMPFlow",
"Jet container name to read the aux-task outputs from"
38 this,
"track_container",
"InDetTrackParticles",
"Track container name to decorate with the aux-task outputs"
41 this,
"track_links",
m_jetContainerKey,
"GN2v01_TrackLinks",
"TrackLinks name associated with the jet object"
44 this,
"track_aux_tasks", {},
"Map between aux-task decorations for jets and decorations for tracks"
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainerKey
virtual StatusCode initialize() override
SG::WriteDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trackAuxTasksDecorKeys
virtual StatusCode execute(const EventContext &cxt) const override
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_trackLinksKey
Gaudi::Property< std::map< std::string, std::string > > m_trackAuxTasks
GNNAuxTaskDecoratorAlg(const std::string &name, ISvcLocator *svcloc)
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
SG::ReadDecorHandleKeyArray< xAOD::JetContainer > m_readDecorKeys
virtual StatusCode finalize() override
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray