5#ifndef INDETPHYSVALMONITORING_ParameterErrDecoratorAlg_H
6#define INDETPHYSVALMONITORING_ParameterErrDecoratorAlg_H
21#include "GaudiKernel/EventContext.h"
32 virtual StatusCode
execute(
const EventContext &ctx)
const;
38 {
this,
"Prefix",
"",
"Decoration prefix to avoid clashes."};
42 {
this,
"TrackParticleContainerName",
"InDetTrackParticles",
""};
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
virtual bool decorateTrack(const xAOD::TrackParticle &particle, std::vector< IDPVM::OptionalDecoration< xAOD::TrackParticleContainer, float > > &floatDecoration) const
Gaudi::Property< std::string > m_prefix
std::vector< std::pair< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >, SG::AuxElement::ConstAccessor< float > > > m_decor
virtual StatusCode execute(const EventContext &ctx) const
ParameterErrDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize()
virtual ~ParameterErrDecoratorAlg()
virtual StatusCode initialize()
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkParticleKey
SG::ConstAccessor< T, ALLOC > ConstAccessor
Property holding a SG store/key/clid from which a ReadHandle is made.
std::pair< SG::WriteDecorHandle< ContainerType, VariableType >, bool > OptionalDecoration
TrackParticle_v1 TrackParticle
Reference the current persistent version:
implementation file for function of same name