25 StatusCode EventDecoratorAlg ::
32 ANA_MSG_INFO (
"Adding uint32_t decoration " <<
name <<
" with value " << value <<
" to EventInfo");
35#ifndef XAOD_STANDALONE
40 addDependency(decorKey.fullKey(), decorKey.mode());
50 return StatusCode::SUCCESS;
55 StatusCode EventDecoratorAlg ::
56 execute (
const EventContext& ctx)
const
62 return StatusCode::FAILURE;
70 return StatusCode::SUCCESS;
Manage lookup of vectors of auxiliary data.
Define macros for attributes used to control the static checker.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the name of the event info object
std::vector< std::function< void(const xAOD::EventInfo &)> > m_decFunctions
the functions to add decorations
Gaudi::Property< std::map< std::string, uint32_t > > m_uint32Decorations
the uint32_t decorations to add
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Handle class for adding a decoration to an object.
Select isolated Photons, Electrons and Muons.
EventInfo_v1 EventInfo
Definition of the latest event info version.