ATLAS Offline Software
|
Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream. More...
#include <SCTRawContByteStreamTool.h>
Public Member Functions | |
SCTRawContByteStreamTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. More... | |
virtual | ~SCTRawContByteStreamTool ()=default |
Destructor. More... | |
virtual StatusCode | initialize () override |
Initialize. More... | |
virtual StatusCode | finalize () override |
Finalize. More... | |
virtual StatusCode | convert (const SCT_RDO_Container *sctRDOCont) const override |
Main Convert method. More... | |
Private Attributes | |
ServiceHandle< IByteStreamCnvSvc > | m_byteStreamCnvSvc { this, "ByteStreamCnvSvc", "ByteStreamCnvSvc" } |
ToolHandle< ISCT_RodEncoder > | m_encoder {this, "Encoder", "SCT_RodEncoder", "SCT ROD Encoder for RDO to BS conversion"} |
Algorithm Tool to decode ROB bytestream data into RDO. More... | |
ToolHandle< ISCT_CablingTool > | m_cabling {this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"} |
Providing mappings of online and offline identifiers and also serial numbers. More... | |
const SCT_ID * | m_sctIDHelper {nullptr} |
Identifier helper class for the SCT subdetector that creates compact Identifier objects and IdentifierHash or hash IDs. More... | |
UnsignedShortProperty | m_rodBlockVersion {this, "RodBlockVersion", 0} |
Athena Algorithm Tool to provide conversion from SCT RDO container to ByteStream.
Conversion from SCT RDO container to ByteStream, and fill it in RawEvent.
The class inherits from AthAlgTool and ISCTRawContByteStreamTool.
Contains convert method that maps ROD ID's to vectors of RDOs in those RODs, then loops through the map, using RodEncoder to fill data for each ROD in turn.
Definition at line 37 of file SCTRawContByteStreamTool.h.
SCTRawContByteStreamTool::SCTRawContByteStreamTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructor.
Definition at line 18 of file SCTRawContByteStreamTool.cxx.
|
virtualdefault |
Destructor.
|
overridevirtual |
Main Convert method.
Maps ROD ID's to vectors of RDOs in those RODs, then loops through the map, using RodEncoder to fill data for each ROD in turn.
sctRDOCont | SCT RDO Container of Raw Data Collections. |
Definition at line 49 of file SCTRawContByteStreamTool.cxx.
|
overridevirtual |
Finalize.
Definition at line 42 of file SCTRawContByteStreamTool.cxx.
|
overridevirtual |
|
private |
Definition at line 64 of file SCTRawContByteStreamTool.h.
|
private |
Providing mappings of online and offline identifiers and also serial numbers.
Definition at line 71 of file SCTRawContByteStreamTool.h.
|
private |
Algorithm Tool to decode ROB bytestream data into RDO.
Definition at line 68 of file SCTRawContByteStreamTool.h.
|
private |
Definition at line 77 of file SCTRawContByteStreamTool.h.
Identifier helper class for the SCT subdetector that creates compact Identifier objects and IdentifierHash or hash IDs.
Also allows decoding of these IDs.
Definition at line 75 of file SCTRawContByteStreamTool.h.