7#ifndef TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMCNV_H
8#define TRIGT1RESULTBYTESTREAM_CTPBYTESTREAMCNV_H
11#include "GaudiKernel/Converter.h"
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
44 virtual StatusCode
createObj( IOpaqueAddress* pAddr, DataObject*& pObj )
override;
46 virtual StatusCode
createRep( DataObject* pObj, IOpaqueAddress*& pAddr )
override;
49 virtual long repSvcType()
const override {
return i_repSvcType(); }
57 ToolHandle< CTPByteStreamTool >
m_tool;
uint32_t CLID
The Class ID type.
virtual long repSvcType() const override
Function needed by the framework.
static const CLID & classID()
Function needed by the framework.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Function creating the CTP ROB fragment from a CTP_RDO object.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Function creating the CTP_RDO object from a CTP ROB fragment.
ToolHandle< CTPByteStreamTool > m_tool
Tool doing the actual conversion.
CTPByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
virtual StatusCode initialize() override
Function connecting to all the needed services/tools.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
CTPSrcIdMap m_srcIdMap
Object storing the various IDs of the CTP fragment.
static long storageType()
Function needed by the framework.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Service used when writing the BS data.
This class provides conversion between Lower level Source ID to higher level source ID for CTP ByteSt...