Loading [MathJax]/extensions/tex2jax.js
|
ATLAS Offline Software
|
Go to the documentation of this file.
26 AthConstConverter(storageType(), classID(),svcloc,
"LArRawChannelContByteStreamCnv"),
27 m_tool(
"LArRawDataContByteStreamTool"),
28 m_rdpSvc(
"ROBDataProviderSvc",
name()),
29 m_byteStreamCnvSvc(
"ByteStreamCnvSvc",
name()),
46 if (
m_rdpSvc.retrieve().isFailure()) {
47 ATH_MSG_WARNING(
" Can't get ByteStreamInputSvc interface Reading of ByteStream Data not possible. " );
54 return StatusCode::SUCCESS;
65 return StatusCode::FAILURE;
70 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
71 return StatusCode::FAILURE;
79 if (
sc!=StatusCode::SUCCESS) {
80 ATH_MSG_WARNING(
"Conversion tool returned an error. LArRawChannelContainer might be empty." );
85 ATH_MSG_DEBUG(
"Created a LArRawChannelContainer of size" << channelContainer->size() );
89 ATH_MSG_DEBUG(
"For the following events, we will reserve space for "
93 return StatusCode::SUCCESS;
109 return StatusCode::FAILURE;
112 const std::string&
nm = pObj->registry()->name();
114 if ( pAddr !=
nullptr ) pAddr->release();
119 return StatusCode::SUCCESS;
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)
ServiceHandle< IROBDataProviderSvc > m_rdpSvc
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
ToolHandle< BYTESTREAMTOOL > m_tool
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Gaudi converter base class with const interfaces.
LArRawChannelContByteStreamCnv(ISvcLocator *svcloc)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const CLID & ID()
the CLID of T
virtual StatusCode initialize() override
Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old LArRawChannelContainer
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
uint32_t CLID
The Class ID type.
virtual ~LArRawChannelContByteStreamCnv()
std::atomic< size_t > m_contSize
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
#define ATH_MSG_WARNING(x)
const boost::regex re(r_e)
static const CLID & classID()
macros to associate a CLID to a type
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Container for LArRawChannel (IDC using LArRawChannelCollection)