7#ifndef TRIGT1RESULTBYTESTREAM_MUCTPIBYTESTREAMCNV_H
8#define TRIGT1RESULTBYTESTREAM_MUCTPIBYTESTREAMCNV_H
13#include "GaudiKernel/Converter.h"
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
17#ifdef CTP_MUCTPI_HAVE_SAME_ROS
27#ifdef CTP_MUCTPI_HAVE_SAME_ROS
28# include "TrigT1ResultByteStream/CTPByteStreamTool.h"
56 virtual StatusCode
createObj( IOpaqueAddress* pAddr, DataObject*& pObj )
override;
58 virtual StatusCode
createRep( DataObject* pObj, IOpaqueAddress*& pAddr )
override;
61 virtual long repSvcType()
const override {
return i_repSvcType(); }
69 ToolHandle< MuCTPIByteStreamTool >
m_tool;
73#ifdef CTP_MUCTPI_HAVE_SAME_ROS
74 ToolHandle< CTPByteStreamTool > m_ctp_tool;
75 ToolHandle< RecCTPByteStreamTool > m_ctp_rec_tool;
uint32_t CLID
The Class ID type.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Service used when writing the BS data.
static const CLID & classID()
Function needed by the framework.
ToolHandle< MuCTPIByteStreamTool > m_tool
Tool doing the actual conversion.
MuCTPIByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
virtual long repSvcType() const override
Function needed by the framework.
MuCTPISrcIdMap m_srcIdMap
Object storing the various IDs of the MuCTPI fragment.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Function creating the MuCTPI_RDO object from a MuCTPI ROB fragment.
virtual StatusCode initialize() override
Function connecting to all the needed services/tools.
static long storageType()
Function needed by the framework.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service used when reading the BS data.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Function creating the MuCTPI ROB fragment from a MuCTPI_RDO object.
This class provides conversion between Lower level Source ID to higher level source ID for MuCTPI Byt...