![]() |
ATLAS Offline Software
|
Gaudi bytestream Converter for the HLTResult class. More...
#include <HLTResultByteStreamCnv.h>
Public Member Functions | |
| HLTResultByteStreamCnv (ISvcLocator *svcloc) | |
| std Gaudi converter constructor | |
| virtual StatusCode | initialize () |
| Gaudi initialize. | |
| virtual StatusCode | finalize () |
| Gaudi finalize. | |
| virtual StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&pObj) |
| create RDO (HLTResult) from bytestream | |
| virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) |
| create bytestream from RDOs (HLTResult) | |
| long | repSvcType () const |
| return repSvcType | |
Static Public Member Functions | |
| static long | storageType () |
| storageType | |
| static CLID | classID () |
| CLID. | |
Private Attributes | |
| MsgStream * | m_log |
| std message stream | |
| ToolHandle< HLTResultByteStreamTool > | m_tool |
| tool for conversion work | |
| ServiceHandle< IByteStreamEventAccess > | m_ByteStreamEventAccess |
| Gaudi helper. | |
| ServiceHandle< IROBDataProviderSvc > | m_robDataProvider |
| Gaudi ROB helper. | |
Gaudi bytestream Converter for the HLTResult class.
An AlgTool to provide conversion of Run-1&2 HLTResult from/to ByteStream.
This class essentially provides two methods:
The first one creates a DataObject from persistent information, captured in IOpaqueAddress, and the second is supposed to write the DataObject to a persistent representation. Here, DataObject will be casted to HLTResult
see here for a general ByteStream converter description: http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/Event/ByteStreamCnvSvc/doc/ByteStream.txt
beginning of this file:
ByteStream conversion Service (ByteStreamCnvSvc) provides a means to convert the raw data in the ByteStream format to and from the transient representation, Raw Data Objects (RDO). In Gaudi's terminology, ByteStream can be considered as a persistency for reading and storing raw data. In practice, the source of the ByteStream can be a file, or the online data source (or its emulation) through network, for example. Together with the IdentifiableContainer, used to contain the Raw Data Objects, ByteStreamCnvSvc provides a mechanism for creating the RDOs on demand.
This tool is used by the Gaudi converter class: HLTResultByteStreamCnv.
Definition at line 69 of file HLTResultByteStreamCnv.h.
| HLT::HLTResultByteStreamCnv::HLTResultByteStreamCnv | ( | ISvcLocator * | svcloc | ) |
std Gaudi converter constructor
Constructor.
Definition at line 34 of file HLTResultByteStreamCnv.cxx.
|
static |
|
virtual |
create RDO (HLTResult) from bytestream
createObj should create the RDO from bytestream.
Definition at line 148 of file HLTResultByteStreamCnv.cxx.
|
virtual |
create bytestream from RDOs (HLTResult)
createRep should create the bytestream from RDOs.
Definition at line 175 of file HLTResultByteStreamCnv.cxx.
|
virtual |
Gaudi finalize.
Definition at line 55 of file HLTResultByteStreamCnv.cxx.
|
virtual |
Gaudi initialize.
Init method gets all necessary services etc.
Definition at line 65 of file HLTResultByteStreamCnv.cxx.
|
inline |
return repSvcType
Definition at line 85 of file HLTResultByteStreamCnv.h.
|
static |
|
private |
Gaudi helper.
Definition at line 93 of file HLTResultByteStreamCnv.h.
|
private |
std message stream
Definition at line 89 of file HLTResultByteStreamCnv.h.
|
private |
Gaudi ROB helper.
Definition at line 95 of file HLTResultByteStreamCnv.h.
|
private |
tool for conversion work
Definition at line 91 of file HLTResultByteStreamCnv.h.