26 m_tool(
"LArRawDataContByteStreamTool"),
43 ATH_CHECK( AthConstConverter::initialize() );
45 if (
m_rdpSvc.retrieve().isFailure()) {
46 ATH_MSG_WARNING(
" Can't get ByteStreamInputSvc interface Reading of ByteStream Data not possible. " );
53 return StatusCode::SUCCESS;
64 return StatusCode::FAILURE;
69 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
70 return StatusCode::FAILURE;
78 if (
sc!=StatusCode::SUCCESS) {
79 ATH_MSG_WARNING(
"Conversion tool returned an error. LArRawChannelContainer might be empty." );
84 ATH_MSG_DEBUG(
"Created a LArRawChannelContainer of size" << channelContainer->size() );
88 ATH_MSG_DEBUG(
"For the following events, we will reserve space for "
92 return StatusCode::SUCCESS;
108 return StatusCode::FAILURE;
111 const std::string& nm = pObj->registry()->name();
113 if ( pAddr !=
nullptr ) pAddr->release();
118 return StatusCode::SUCCESS;
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
uint32_t CLID
The Class ID type.
Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old LArRawChannelContainer
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
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.
Template class for assembling a full atlas raw event from subfragments.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
static long storageType()
LArRawChannelContByteStreamCnv(ISvcLocator *svcloc)
virtual ~LArRawChannelContByteStreamCnv()
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode initialize() override
static const CLID & classID()
std::atomic< size_t > m_contSize
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
ToolHandle< BYTESTREAMTOOL > m_tool
Container for LArRawChannel (IDC using LArRawChannelCollection)
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)