![]() |
ATLAS Offline Software
|
ByteStream converter for the MuCTPI_RDO object. More...
#include <MuCTPIByteStreamCnv.h>
Public Member Functions | |
| MuCTPIByteStreamCnv (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 MuCTPI_RDO object from a MuCTPI ROB fragment. | |
| virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) override |
| Function creating the MuCTPI ROB fragment from a MuCTPI_RDO object. | |
| virtual long | repSvcType () const override |
| Function needed by the framework. | |
| void | addTrack (TIDA::Track *t) |
| const std::vector< TIDA::Track * > & | tracks () const |
| void | clear () |
| void | selectTracks (const TrigInDetTrackCollection *trigtracks) |
| void | selectTracks (const Rec::TrackParticleContainer *trigtracks) |
| void | selectTracks (const Analysis::MuonContainer *muontracks) |
Static Public Member Functions | |
| static long | storageType () |
| Function needed by the framework. | |
| static const CLID & | classID () |
| Function needed by the framework. | |
Protected Member Functions | |
| double | phiCorr (double phi) |
| void | ipCorr (double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt) |
Protected Attributes | |
| double | m_beamX |
| double | m_beamY |
| double | m_beamZ |
| std::vector< TIDA::Track * > | m_tracks |
Private Attributes | |
| ToolHandle< MuCTPIByteStreamTool > | m_tool |
| Tool doing the actual conversion. | |
| MuCTPISrcIdMap | m_srcIdMap |
| Object storing the various IDs of the MuCTPI 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 MuCTPI_RDO object.
This is a quite standard BS converter for the output sent from the "Muon to Central Trigger Processor Interface" to the DAQ. It uses an external tool (MuCTPIByteStreamTool) to do the actual work of the conversion, this converter is "only" supposed to communicate with the framework.
Definition at line 47 of file MuCTPIByteStreamCnv.h.
| MuCTPIByteStreamCnv::MuCTPIByteStreamCnv | ( | 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 33 of file MuCTPIByteStreamCnv.cxx.
|
inlineinherited |
Definition at line 45 of file Converter.h.
|
static |
Function needed by the framework.
Function telling the framework the Class ID of the object that this converter is for (MuCTPI_RDO).
Definition at line 50 of file MuCTPIByteStreamCnv.cxx.
|
inlineinherited |
Definition at line 53 of file Converter.h.
|
overridevirtual |
Function creating the MuCTPI_RDO object from a MuCTPI ROB fragment.
This function creates the MuCTPI_RDO object from the BS data.
It requests the ROB fragment with the ROB Id of the MuCTPI and gives this fragment to the MuCTPIByteStreamTool for conversion.
Definition at line 116 of file MuCTPIByteStreamCnv.cxx.
|
overridevirtual |
Function creating the MuCTPI ROB fragment from a MuCTPI_RDO object.
This function receives a MuCTPI_RDO object as input, and adds the ROB fragment of the MuCTPI to the current raw event using the IByteStreamEventAccess interface.
Definition at line 231 of file MuCTPIByteStreamCnv.cxx.
|
overridevirtual |
Function connecting to all the needed services/tools.
Init method gets all necessary services etc.
Definition at line 63 of file MuCTPIByteStreamCnv.cxx.
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
|
inlineprotectedinherited |
Definition at line 248 of file Converter.h.
|
inlineoverridevirtual |
Function needed by the framework.
Definition at line 61 of file MuCTPIByteStreamCnv.h.
|
inlineinherited |
Definition at line 177 of file Converter.h.
|
inlineinherited |
Definition at line 111 of file Converter.h.
|
inlineinherited |
Definition at line 56 of file Converter.h.
|
static |
|
inlineinherited |
Definition at line 50 of file Converter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
protectedinherited |
Definition at line 320 of file Converter.h.
|
private |
Service used when writing the BS data.
Definition at line 82 of file MuCTPIByteStreamCnv.h.
|
private |
Service used when reading the BS data.
Definition at line 80 of file MuCTPIByteStreamCnv.h.
|
private |
Object storing the various IDs of the MuCTPI fragment.
Definition at line 71 of file MuCTPIByteStreamCnv.h.
|
private |
Tool doing the actual conversion.
Definition at line 69 of file MuCTPIByteStreamCnv.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.