5#ifndef TILEBYTESTREAM_TILEL2_BYTESTREAMCNV_H
6#define TILEBYTESTREAM_TILEL2_BYTESTREAMCNV_H
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/ServiceHandle.h"
75 virtual StatusCode
createObjConst(IOpaqueAddress* pAddr, DataObject*& pObj)
const override;
76 virtual StatusCode
createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr)
const override;
77 virtual StatusCode
finalize()
override;
80 virtual long repSvcType()
const override {
return i_repSvcType(); }
Gaudi converter base class with const interfaces.
Provide an interface for finding inheritance information at run time.
#define SG_BASE(D, B)
Declare that class D derives from class B.
uint32_t CLID
The Class ID type.
Helper for recycling objects from event to event.
TileContainer< TileL2 > TileL2Container
Define macros for attributes used to control the static checker.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Holder for recyclable objects.
Gaudi Conversion Service class for ByteStream Persistency.
Abstract factory to create the converter.
Interface for accessing raw data.
Interface class for managing ROB for both online and offline.
The Athena Transient Store API.
This class provides conversion between fragment ID and RESrcID.
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
Athena::RecyclableDataQueue< TileRecyclableL2Container > m_queue ATLAS_THREAD_SAFE
Queue of data objects to recycle.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
static const CLID & classID()
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
TileL2ContByteStreamCnv(ISvcLocator *svcloc)
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
virtual StatusCode finalize() override
ToolHandle< BYTESTREAMTOOL > m_tool
virtual long repSvcType() const override
Storage type and class ID.
TileL2ContByteStreamTool BYTESTREAMTOOL
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
virtual StatusCode initialize() override
static long storageType()
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
TileRecyclableL2Container(const TileROD_Decoder &decoder)
void recycle()
Recycle this object for use in another event.