ATLAS Offline Software
|
Gaudi bytestream Converter for the HLTResult class. More...
#include <HLTResultByteStreamCnv.h>
Public Member Functions | |
HLTResultByteStreamCnv (ISvcLocator *svcloc) | |
std Gaudi converter constructor More... | |
virtual StatusCode | initialize () |
Gaudi initialize. More... | |
virtual StatusCode | finalize () |
Gaudi finalize. More... | |
virtual StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&pObj) |
create RDO (HLTResult) from bytestream More... | |
virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) |
create bytestream from RDOs (HLTResult) More... | |
long | repSvcType () const |
return repSvcType More... | |
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 () |
storageType More... | |
static const CLID & | classID () |
CLID. More... | |
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 | |
MsgStream * | m_log |
std message stream More... | |
ToolHandle< HLTResultByteStreamTool > | m_tool |
tool for conversion work More... | |
ServiceHandle< IByteStreamEventAccess > | m_ByteStreamEventAccess |
Gaudi helper. More... | |
ServiceHandle< IROBDataProviderSvc > | m_robDataProvider |
Gaudi ROB helper. More... | |
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.
|
inlineinherited |
Definition at line 45 of file Converter.h.
CLID.
Definition at line 45 of file HLTResultByteStreamCnv.cxx.
|
inlineinherited |
Definition at line 53 of file Converter.h.
|
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 174 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.
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
|
inlineprotectedinherited |
|
inline |
return repSvcType
Definition at line 85 of file HLTResultByteStreamCnv.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 |
storageType
Definition at line 50 of file HLTResultByteStreamCnv.cxx.
|
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 |
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.
|
protectedinherited |
Definition at line 321 of file Converter.h.