![]() |
Project
|
Decoder of the ALTRO data in the raw page. More...
#include <RawDecoder.h>
Public Member Functions | |
RawDecoder (RawReaderMemory &reader) | |
Constructor. | |
~RawDecoder ()=default | |
Destructor. | |
RawErrorType_t | decode () |
Decode the raw cpv payload stream. | |
const std::vector< uint32_t > & | getDigits () const |
Get the reference to the digits container. | |
const std::vector< o2::cpv::BCRecord > & | getBCRecords () const |
Get the reference to the BC records. | |
const std::vector< o2::cpv::RawDecoderError > & | getErrors () const |
Get the reference to the list of decoding errors. | |
void | muteErrors () |
mute error reporting | |
Protected Member Functions | |
RawErrorType_t | readChannels () |
Read channels for the current event in the raw buffer. | |
Decoder of the ALTRO data in the raw page.
This is a base class for reading raw data digits. It takes raw cpv payload from RawReaderMemory and produces std::vector<uint32_t> mDigits and std::vector<BCRecord> mBCRecords
Definition at line 67 of file RawDecoder.h.
RawDecoder::RawDecoder | ( | RawReaderMemory & | reader | ) |
Constructor.
reader | Raw reader instance to be decoded |
Definition at line 21 of file RawDecoder.cxx.
|
default |
Destructor.
RawErrorType_t RawDecoder::decode | ( | ) |
Decode the raw cpv payload stream.
RawDecoderError | if the RCUTrailer or raw cpv payload cannot be decoded |
Decoding and checking the cpvheader, cpvwords and cpvtrailer. After successfull decoding the Decoder can provide a reference to a vector with the decoded chanenels and their bc reference
Definition at line 27 of file RawDecoder.cxx.
|
inline |
Get the reference to the BC records.
Definition at line 93 of file RawDecoder.h.
|
inline |
Get the reference to the digits container.
Definition at line 89 of file RawDecoder.h.
|
inline |
Get the reference to the list of decoding errors.
Definition at line 97 of file RawDecoder.h.
|
inline |
mute error reporting
Definition at line 100 of file RawDecoder.h.
|
protected |
Read channels for the current event in the raw buffer.
Definition at line 42 of file RawDecoder.cxx.