9#include "GaudiKernel/MsgStream.h"
10#include "GaudiKernel/StatusCode.h"
11#include "GaudiKernel/DataObject.h"
12#include "GaudiKernel/IRegistry.h"
21 ,
AthMessaging(svcloc != nullptr ? msgSvc() : nullptr,
"EventInfoByteStreamxAODCnv")
38 CHECK(Converter::initialize());
39 return StatusCode::SUCCESS;
46 StatusCode
sc = Converter::finalize();
59 return StatusCode::FAILURE;
64 const std::string nm = *(pRE_Addr->par());
65 const std::string nmAux = nm +
"Aux.";
74 return StatusCode::SUCCESS;
79 ATH_MSG_DEBUG(
"Nothing to be done for xAOD::EventInfo createReps");
80 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
Object reference supporting deferred reading from StoreGate.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
converter method to write object
EventInfoByteStreamxAODCnv(ISvcLocator *svcloc)
virtual StatusCode initialize() override
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
converter method to create object
static const CLID & classID()
static long storageType()
virtual StatusCode finalize() override
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
uint32_t runNumber() const
The current event's run number.
uint64_t eventNumber() const
The current event's event number.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
EventInfo_v1 EventInfo
Definition of the latest event info version.