5#ifndef XAODEVENTINFOCNV_EVENTINFOCNVALG_H
6#define XAODEVENTINFOCNV_EVENTINFOCNVALG_H
14#include "GaudiKernel/ToolHandle.h"
20#include "EventInfo/EventInfo.h"
41 virtual StatusCode
execute (
const EventContext& ctx)
const override;
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteHandleKey< xAOD::EventInfo > m_xaodKey
Key for the output object.
virtual StatusCode initialize() override
Function initialising the algorithm.
EventInfoCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
SG::WriteHandleKey< xAOD::EventInfoContainer > m_pileupKey
For pileup.
ToolHandle< IEventInfoCnvTool > m_cnvTool
Handle to the converter tool.
SG::ReadHandleKey< EventInfo > m_aodKey
Key for the input object If blank, we do a keyless retrieve from SG instead!