![]() |
ATLAS Offline Software
|
ByteStream converter for the RoIBResult object. More...
#include <RoIBResultByteStreamCnv.h>
Public Member Functions | |
RoIBResultByteStreamCnv (ISvcLocator *svcloc) | |
Standard constructor. More... | |
virtual StatusCode | initialize () |
Function connecting to all the needed services/tools. More... | |
virtual StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&pObj) |
Function creating the RoIBResult object from the multiple ROB fragments. More... | |
virtual StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&pAddr) |
Function creating the multiple ROB fragments from the RoIBResult object. More... | |
virtual long | repSvcType () const |
Function needed by the framework. 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) |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Static Public Member Functions | |
static long | storageType () |
Function needed by the framework. More... | |
static const CLID & | classID () |
Function needed by the framework. 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 Member Functions | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
ToolHandle< RoIBResultByteStreamTool > | m_tool |
Tool doing the actual conversion. More... | |
ServiceHandle< IByteStreamEventAccess > | m_ByteStreamCnvSvc |
Service used when writing the BS data. More... | |
ServiceHandle< IROBDataProviderSvc > | m_robDataProviderSvc |
Service used when reading the BS data. More... | |
bool | m_isMT {false} |
Flag if running in athenaMT to prevent calling deprecated methods. More... | |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
ByteStream converter for the RoIBResult object.
This is a bit of a tricky converter. It was first written quite early on, hence the implementation as a template class. The RoIBResult object is put together from a number of separate ROB fragments, as from eformat 3.0 onwards one ROB fragment can only hold one ROD fragment.
Definition at line 37 of file RoIBResultByteStreamCnv.h.
RoIBResultByteStreamCnv< ROBF >::RoIBResultByteStreamCnv | ( | ISvcLocator * | svcloc | ) |
Standard constructor.
|
inlineinherited |
Definition at line 45 of file Converter.h.
|
static |
Function needed by the framework.
|
inlineinherited |
Definition at line 53 of file Converter.h.
|
virtual |
Function creating the RoIBResult object from the multiple ROB fragments.
|
virtual |
Function creating the multiple ROB fragments from the RoIBResult object.
|
virtual |
Function connecting to all the needed services/tools.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
lvl | The message level to test against |
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inlineprotectedinherited |
|
inlinevirtual |
Function needed by the framework.
Definition at line 50 of file RoIBResultByteStreamCnv.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.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
static |
Function needed by the framework.
|
inlineinherited |
Definition at line 50 of file Converter.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.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 60 of file RoIBResultByteStreamCnv.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
private |
Flag if running in athenaMT to prevent calling deprecated methods.
Definition at line 64 of file RoIBResultByteStreamCnv.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Service used when reading the BS data.
Definition at line 62 of file RoIBResultByteStreamCnv.h.
|
private |
Tool doing the actual conversion.
Definition at line 58 of file RoIBResultByteStreamCnv.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.