5#ifndef BYTESTREAMCNVSVCBASE_IBYTESTREAMCNVSVC_H
6#define BYTESTREAMCNVSVCBASE_IBYTESTREAMCNVSVC_H
8#include "GaudiKernel/IInterface.h"
47 t =
dynamic_cast<T*
>(fea);
50 <<
"FullEventAssembler with key '" << name <<
"' exists, but of different type" <<
endmsg;
51 return StatusCode::FAILURE;
53 return StatusCode::SUCCESS;
56 auto ptr = std::make_unique<T>();
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
base class for assembling a full atlas raw event from subfragments
interface for bytestream conversion services
DeclareInterfaceID(IByteStreamCnvSvc, 1, 0)
Gaudi interface id.
StatusCode getFullEventAssembler(T *&t, const std::string &name)
Access to FullEventAssembler.
virtual FullEventAssemblerBase * findFullEventAssembler(const std::string &name) const =0
Find FullEventAssembler with given name.
virtual StatusCode storeFullEventAssembler(std::unique_ptr< FullEventAssemblerBase > fea, const std::string &name)=0
Store FullEventAssembler under given name.