![]() |
ATLAS Offline Software
|
Athena Algorithm Tool to fill Collections of SCT RDO Containers. More...
#include <SCTRawDataProviderTool.h>
Public Member Functions | |
SCTRawDataProviderTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. More... | |
virtual | ~SCTRawDataProviderTool ()=default |
Destructor. More... | |
virtual StatusCode | initialize () override |
Initialize. More... | |
virtual StatusCode | convert (std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &vecROBFrags, SCT_RDO_Container &rdoIDCont, IDCInDetBSErrContainer &errs, DataPool< SCT3_RawData > *dataItemsPool, const EventContext &ctx) const override |
Main decoding method. More... | |
Private Attributes | |
ToolHandle< ISCT_RodDecoder > | m_decoder {this, "Decoder", "SCT_RodDecoder", "Decoder"} |
Algorithm Tool to decode ROD byte stream into RDO. More... | |
std::atomic_int | m_decodeErrCount {0} |
Number of decode errors encountered in decoding. More... | |
Athena Algorithm Tool to fill Collections of SCT RDO Containers.
The class inherits from AthAlgTool and ISCTRawDataProviderTool.
Contains a convert method that fills the SCT RDO Collection.
Definition at line 29 of file SCTRawDataProviderTool.h.
SCTRawDataProviderTool::SCTRawDataProviderTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructor.
Definition at line 13 of file SCTRawDataProviderTool.cxx.
|
virtualdefault |
Destructor.
|
overridevirtual |
Main decoding method.
Loops over ROB fragments, get ROB/ROD ID, then decode if not allready decoded.
vecROBFrags | Vector containing ROB framgents. |
rdoIDCont | RDO ID Container to be filled. |
errs | Byte stream error container. |
ctx | EventContext of the event |
Definition at line 29 of file SCTRawDataProviderTool.cxx.
|
overridevirtual |
Initialize.
Definition at line 20 of file SCTRawDataProviderTool.cxx.
|
mutableprivate |
Number of decode errors encountered in decoding.
Turning off error message after 100 errors are counted
Definition at line 65 of file SCTRawDataProviderTool.h.
|
private |
Algorithm Tool to decode ROD byte stream into RDO.
Definition at line 61 of file SCTRawDataProviderTool.h.