![]() |
ATLAS Offline Software
|
Converter for writing ByteStream from ITkStrips Raw Data. More...
#include <ITkStripsRawContByteStreamCnv.h>
Public Member Functions | |
| ITkStripsRawContByteStreamCnv (ISvcLocator *svcLoc) | |
| Constructor. | |
| virtual | ~ITkStripsRawContByteStreamCnv ()=default |
| Destructor. | |
| virtual StatusCode | initialize () override |
| Initialize. | |
| virtual long | repSvcType () const override |
| Retrieve the class type of the data store the converter uses. | |
| virtual StatusCode | createObjConst (IOpaqueAddress *, DataObject *&) const override |
| createObj method (not used!) | |
| virtual StatusCode | createRepConst (DataObject *pDataObject, IOpaqueAddress *&pOpaqueAddress) const override |
| Method to convert ITkStrips Raw Data into ByteStream. | |
| virtual StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) override final |
| Create the transient representation of an object. | |
| virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override final |
| Convert the transient object to the requested representation. | |
| const std::string & | name () const |
| 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. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| static long | storageType () |
| Storage type. | |
| static const CLID & | classID () |
| Class ID. | |
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. | |
Private Attributes | |
| ToolHandle< ISCTRawContByteStreamTool > | m_rawContByteStreamTool |
| Tool to do coversion from ITkStrips RDO container to ByteStream. | |
| ServiceHandle< IByteStreamEventAccess > | m_byteStreamEventAccess |
| Interface for accessing raw data. | |
| std::string | m_name |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Converter for writing ByteStream from ITkStrips Raw Data.
This will do the conversion on demand, triggered by the ByteStreamAddressProviderSvc. Since it is not possible to configure a Converter with Python Configurables, we use a tool (ITkStripsRawContByteStreamTool) which in turn uses the lightweight ITkStripsRodEncoder class, to do the actual converting.
Definition at line 28 of file ITkStripsRawContByteStreamCnv.h.
| ITkStripsRawContByteStreamCnv::ITkStripsRawContByteStreamCnv | ( | ISvcLocator * | svcLoc | ) |
Constructor.
Definition at line 19 of file ITkStripsRawContByteStreamCnv.cxx.
|
virtualdefault |
Destructor.
|
inlineinherited |
Definition at line 45 of file Converter.h.
|
inlinestatic |
|
inlineinherited |
Definition at line 53 of file Converter.h.
|
finaloverridevirtualinherited |
Create the transient representation of an object.
Non-const version; just calls the const version.
Definition at line 44 of file AthConstConverter.cxx.
|
inlineoverridevirtual |
createObj method (not used!)
Reimplemented from AthConstConverter.
Definition at line 48 of file ITkStripsRawContByteStreamCnv.h.
|
finaloverridevirtualinherited |
Convert the transient object to the requested representation.
Non-const version; just calls the const version.
Definition at line 56 of file AthConstConverter.cxx.
|
overridevirtual |
Method to convert ITkStrips Raw Data into ByteStream.
Gets pointer to RawEvent, get ID container of ITkStrips RDO. Sets up opaque address for Storegate.
Uses ITkStrips RawContByteStreamTool to convert Raw Data to ByteStream.
| pDataObject | Pointer to data object. |
| pOpaqueAddress | Opaque address to object. |
Reimplemented from AthConstConverter.
Definition at line 46 of file ITkStripsRawContByteStreamCnv.cxx.
|
overridevirtual |
Initialize.
Definition at line 28 of file ITkStripsRawContByteStreamCnv.cxx.
|
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 163 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 178 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.
|
inlineinherited |
Definition at line 67 of file AthConstConverter.h.
|
inlineprotectedinherited |
Definition at line 248 of file Converter.h.
|
inlineoverridevirtual |
Retrieve the class type of the data store the converter uses.
Definition at line 41 of file ITkStripsRawContByteStreamCnv.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.
|
inlinestatic |
|
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 |
Interface for accessing raw data.
Definition at line 69 of file ITkStripsRawContByteStreamCnv.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Definition at line 71 of file AthConstConverter.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Tool to do coversion from ITkStrips RDO container to ByteStream.
Definition at line 66 of file ITkStripsRawContByteStreamCnv.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.