10#include "GaudiKernel/StatusCode.h"
11#include "GaudiKernel/DataObject.h"
12#include "GaudiKernel/IRegistry.h"
13#include "GaudiKernel/IToolSvc.h"
68 return StatusCode::SUCCESS ;
80 return StatusCode::FAILURE;
84 std::vector<const ROBDataProviderSvc::ROBF*> robf;
88 auto cont = std::make_unique<TileLaserObject>() ;
91 if (robf.size() > 0 ) {
92 m_decoder->fillTileLaserObj(robf[0], *cont);
94 ATH_MSG_DEBUG(
" No LASTROD fragment in BS, TileLaserObject will be empty." );
99 return StatusCode::SUCCESS;
108 return StatusCode::FAILURE ;
#define ATH_CHECK
Evaluate an expression and check for errors.
macros to associate a CLID to a type
Helpers for checking error return status codes and reporting errors.
uint32_t CLID
The Class ID type.
convert to and from a SG storable
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.
static constexpr long storageType()
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
TileLaserObjByteStreamCnv(ISvcLocator *svcloc)
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
virtual StatusCode initialize() override
static const CLID & classID()
static long storageType()
std::vector< uint32_t > m_ROBID
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)