![]() |
ATLAS Offline Software
|
Converter for writing ByteStream from SCT Raw Data. More...
#include <SCTRawContByteStreamCnv.h>
Public Member Functions | |
| SCTRawContByteStreamCnv (ISvcLocator *svcLoc) | |
| Constructor. | |
| virtual | ~SCTRawContByteStreamCnv ()=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 SCT 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 | |
| PublicToolHandle< ISCTRawContByteStreamToolProviderTool > | m_rawContByteStreamToolProvider |
| Tool to do coversion from SCT RDO container to ByteStream. | |
| const ISCTRawContByteStreamTool * | m_rawContByteStreamTool |
| 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 SCT 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 (SCTRawContByteStreamTool) which in turn uses the lightweight SCT_RodEncoder class, to do the actual converting.
Definition at line 32 of file SCTRawContByteStreamCnv.h.
| SCTRawContByteStreamCnv::SCTRawContByteStreamCnv | ( | ISvcLocator * | svcLoc | ) |
Constructor.
Definition at line 20 of file SCTRawContByteStreamCnv.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 53 of file SCTRawContByteStreamCnv.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 SCT Raw Data into ByteStream.
Gets pointer to RawEvent, get ID container of SCT RDO. Sets up opaque address for Storegate.
Uses SCT RawContByteStreamTool to convert Raw Data to ByteStream.
| pDataObject | Pointer to data object. |
| pOpaqueAddress | Opaque address to object. |
Reimplemented from AthConstConverter.
Definition at line 51 of file SCTRawContByteStreamCnv.cxx.
|
overridevirtual |
Initialize.
Definition at line 30 of file SCTRawContByteStreamCnv.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 46 of file SCTRawContByteStreamCnv.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 76 of file SCTRawContByteStreamCnv.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 |
Definition at line 72 of file SCTRawContByteStreamCnv.h.
|
private |
Tool to do coversion from SCT RDO container to ByteStream.
Definition at line 71 of file SCTRawContByteStreamCnv.h.
|
protectedinherited |
Definition at line 321 of file Converter.h.