13#ifndef DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
14#define DERIVATIONFRAMEWORKCORE_LOCKDECORATION_H
41 using AthReentrantAlgorithm::AthReentrantAlgorithm;
54 virtual StatusCode
execute (
const EventContext& ctx)
const override;
60 {
this,
"Decorations", {} };
An algorithm that can be simultaneously executed in multiple threads.
Algorithm to explicitly lock a set of decorations.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
SG::WriteDecorHandleKeyArray< SG::AuxVectorBase > m_decorations
The decoration to lock.
virtual StatusCode execute(const EventContext &ctx) const override
Execute algorithm.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray