![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
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"
34 :
AthConstConverter(storageType(), classID(),svcloc,
"TileMuRcvContByteStreamCnv")
35 , m_tool(
"TileMuRcvContByteStreamTool")
36 , m_byteStreamEventAccess(
"ByteStreamCnvSvc",
name())
37 , m_byteStreamCnvSvc(0)
38 , m_storeGate(
"StoreGateSvc",
name())
39 , m_robSvc(
"ROBDataProviderSvc",
name())
40 , m_decoder(
"TileROD_Decoder")
71 return StatusCode::SUCCESS ;
84 return StatusCode::FAILURE;
89 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
90 return StatusCode::FAILURE;
93 auto cont = std::make_unique<TileMuonReceiverContainer>();
96 if (
sc!=StatusCode::SUCCESS) {
97 ATH_MSG_WARNING(
"Conversion tool returned an error. TileMuonReceiverContainer might be empty." );
102 return StatusCode::SUCCESS;
111 std::string
key(
"Tile");
120 ATH_MSG_ERROR(
" Can not cast to TileMuonReceiverContainer " );
121 return StatusCode::FAILURE;
124 std::string
name = pObj->registry()->name();
132 return StatusCode::SUCCESS;
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
virtual StatusCode finalize() override
Template class for assembling a full atlas raw event from subfragments.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
DataObject * asStorable(T *pObject)
Gaudi converter base class with const interfaces.
static long storageType()
ByteStreamCnvSvc * m_byteStreamCnvSvc
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
static const CLID & ID()
the CLID of T
Gaudi Conversion Service class for ByteStream Persistency.
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
TileMuRcvContByteStreamCnv(ISvcLocator *svcloc)
uint32_t CLID
The Class ID type.
static constexpr long storageType()
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
virtual StatusCode initialize() override
Helpers for checking error return status codes and reporting errors.
static const CLID & classID()
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
Incident sent after a store is cleared.
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
#define ATH_MSG_WARNING(x)
const boost::regex re(r_e)
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
StatusCode getFullEventAssembler(T *&t, const std::string &nm)
Access to FullEventAssembler.
macros to associate a CLID to a type