![]() |
ATLAS Offline Software
|
ByteStream converter for the CTP_RDO object. More...
#include <CTPByteStreamCnv.h>
Public Member Functions | |
| CTPByteStreamCnv (ISvcLocator *svcloc) | |
| Standard constructor. | |
| virtual StatusCode | initialize () override |
| Function connecting to all the needed services/tools. | |
| virtual StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&pObj) override |
| Function creating the CTP_RDO object from a CTP ROB fragment. | |
| virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) override |
| Function creating the CTP ROB fragment from a CTP_RDO object. | |
| virtual long | repSvcType () const override |
| Function needed by the framework. | |
Static Public Member Functions | |
| static long | storageType () |
| Function needed by the framework. | |
| static CLID | classID () |
| Function needed by the framework. | |
Private Attributes | |
| ToolHandle< CTPByteStreamTool > | m_tool |
| Tool doing the actual conversion. | |
| CTPSrcIdMap | m_srcIdMap |
| Object storing the various IDs of the CTP fragment. | |
| ServiceHandle< IROBDataProviderSvc > | m_robDataProvider |
| Service used when reading the BS data. | |
| ServiceHandle< IByteStreamEventAccess > | m_ByteStreamEventAccess |
| Service used when writing the BS data. | |
ByteStream converter for the CTP_RDO object.
This is a quite standard BS converter for the output sent from the Central Trigger Processor to the DAQ. It uses an external tool (CTPByteStreamTool) to do the actual work of the conversion, this converter is "only" supposed to communicate with the framework.
Definition at line 35 of file CTPByteStreamCnv.h.
| CTPByteStreamCnv::CTPByteStreamCnv | ( | ISvcLocator * | svcloc | ) |
Standard constructor.
The constructor sets up all the ToolHandle and ServiceHandle objects and initialises the base class in the correct way.
Definition at line 24 of file CTPByteStreamCnv.cxx.
|
static |
Function needed by the framework.
Function telling the framework the Class ID of the object that this converter is for (CTP_RDO).
Definition at line 36 of file CTPByteStreamCnv.cxx.
|
overridevirtual |
Function creating the CTP_RDO object from a CTP ROB fragment.
This function creates the CTP_RDO object from the BS data.
It requests the ROB fragment with the ROB Id of the CTP and gives this fragment to the CTPByteStreamTool for conversion.
Definition at line 89 of file CTPByteStreamCnv.cxx.
|
overridevirtual |
Function creating the CTP ROB fragment from a CTP_RDO object.
This function receives a CTP_RDO object as input, and adds the ROB fragment of the CTP to the current raw event using the IByteStreamEventAccess interface.
Definition at line 147 of file CTPByteStreamCnv.cxx.
|
overridevirtual |
Function connecting to all the needed services/tools.
Init method gets all necessary services etc.
Definition at line 49 of file CTPByteStreamCnv.cxx.
|
inlineoverridevirtual |
Function needed by the framework.
Definition at line 49 of file CTPByteStreamCnv.h.
|
static |
|
private |
Service used when writing the BS data.
Definition at line 65 of file CTPByteStreamCnv.h.
|
private |
Service used when reading the BS data.
Definition at line 63 of file CTPByteStreamCnv.h.
|
private |
Object storing the various IDs of the CTP fragment.
Definition at line 60 of file CTPByteStreamCnv.h.
|
private |
Tool doing the actual conversion.
Definition at line 57 of file CTPByteStreamCnv.h.