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 ;
82 return StatusCode::FAILURE;
87 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
88 return StatusCode::FAILURE;
91 auto cont = std::make_unique<TileMuonReceiverContainer>();
94 if (
sc!=StatusCode::SUCCESS) {
95 ATH_MSG_WARNING(
"Conversion tool returned an error. TileMuonReceiverContainer might be empty." );
100 return StatusCode::SUCCESS;
109 std::string key(
"Tile");
118 ATH_MSG_ERROR(
" Can not cast to TileMuonReceiverContainer " );
119 return StatusCode::FAILURE;
122 std::string
name = pObj->registry()->name();
130 return StatusCode::SUCCESS;
135 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.
static constexpr long storageType()
Template class for assembling a full atlas raw event from subfragments.
static const CLID & classID()
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)