15#include "GaudiKernel/DataObject.h"
16#include "GaudiKernel/MsgStream.h"
32 ATH_CHECK(AthConstConverter::initialize());
39 return StatusCode::FAILURE;
46 return StatusCode::SUCCESS;
57 return StatusCode::FAILURE;
61 std::string dataObjectName{pDataObject->registry()->name()};
62 if ( pOpaqueAddress !=
nullptr ) pOpaqueAddress->release();
64 pOpaqueAddress->addRef();
69 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
InDetRawDataContainer< InDetRawDataCollection< SCT_RDORawData > > SCT_RDO_Container
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
virtual StatusCode initialize() override
Initialize.
PublicToolHandle< ISCTRawContByteStreamToolProviderTool > m_rawContByteStreamToolProvider
Tool to do coversion from SCT RDO container to ByteStream.
SCTRawContByteStreamCnv(ISvcLocator *svcLoc)
Constructor.
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
Interface for accessing raw data.
static long storageType()
Storage type.
virtual StatusCode createRepConst(DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override
Method to convert SCT Raw Data into ByteStream.
static const CLID & classID()
Class ID.
const ISCTRawContByteStreamTool * m_rawContByteStreamTool
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)