|
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_byteStreamCnvSvc(
"ByteStreamCnvSvc",
name())
37 , m_storeGate(
"StoreGateSvc",
name())
38 , m_robSvc(
"ROBDataProviderSvc",
name())
39 , m_decoder(
"TileROD_Decoder")
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;
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()
ToolHandle< BYTESTREAMTOOL > m_tool
Pointer to TileMuRcvContByteStreamTool.
static const CLID & ID()
the CLID of T
::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()
const std::string & name() const
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
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)
macros to associate a CLID to a type