6#include "GaudiKernel/MsgStream.h"
7#include "GaudiKernel/StatusCode.h"
8#include "GaudiKernel/DataObject.h"
9#include "GaudiKernel/IRegistry.h"
10#include "GaudiKernel/IToolSvc.h"
35 ,
m_tool(
"TileMuRcvContByteStreamTool")
69 return StatusCode::SUCCESS ;
84 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
85 return StatusCode::FAILURE;
88 auto cont = std::make_unique<TileMuonReceiverContainer>();
91 if (
sc!=StatusCode::SUCCESS) {
92 ATH_MSG_WARNING(
"Conversion tool returned an error. TileMuonReceiverContainer might be empty." );
97 return StatusCode::SUCCESS;
106 std::string key(
"Tile");
115 ATH_MSG_ERROR(
" Can not cast to TileMuonReceiverContainer " );
116 return StatusCode::FAILURE;
119 std::string
name = pObj->registry()->name();
127 return StatusCode::SUCCESS;
132 return Converter::finalize();
const boost::regex re(r_e)
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
macros to associate a CLID to a type
Helpers for checking error return status codes and reporting errors.
uint32_t CLID
The Class ID type.
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Incident sent after a store is cleared.
TileContainer< TileMuonReceiverObj > TileMuonReceiverContainer
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
const std::string & name() const
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
const EventContext & getEventContext() const
static constexpr long storageType()
Template class for assembling a full atlas raw event from subfragments.
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode finalize() override
TileMuRcvContByteStreamCnv(ISvcLocator *svcloc)
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
virtual StatusCode initialize() override
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
static long storageType()
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static constexpr CLID ID()