11#ifndef ALICEO2_CPV_RAWDECODER_H
12#define ALICEO2_CPV_RAWDECODER_H
89 const std::vector<uint32_t>&
getDigits()
const {
return mDigits; };
93 const std::vector<o2::cpv::BCRecord>&
getBCRecords()
const {
return mBCRecords; };
97 const std::vector<o2::cpv::RawDecoderError>&
getErrors()
const {
return mErrors; }
107 bool addDigit(uint32_t padWord,
short ddl, uint16_t
bc);
108 void removeLastNDigits(
int n);
111 std::vector<uint32_t> mDigits;
112 std::vector<o2::cpv::BCRecord> mBCRecords;
113 std::vector<RawDecoderError> mErrors;
114 bool mChannelsInitialized;
Decoder of the ALTRO data in the raw page.
RawErrorType_t readChannels()
Read channels for the current event in the raw buffer.
const std::vector< uint32_t > & getDigits() const
Get the reference to the digits container.
const std::vector< o2::cpv::RawDecoderError > & getErrors() const
Get the reference to the list of decoding errors.
RawErrorType_t decode()
Decode the raw cpv payload stream.
void muteErrors()
mute error reporting
const std::vector< o2::cpv::BCRecord > & getBCRecords() const
Get the reference to the BC records.
~RawDecoder()=default
Destructor.
Reader for raw data produced by the Readout application in in-memory format.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
BCRecord(uint16_t bunchCrossing, unsigned int first, unsigned int last)
RawDecoderError(const RawDecoderError &e)=default
~RawDecoderError()=default
RawDecoderError(short c, short d, short g, short p, RawErrorType_t e)
RawDecoderError()=default
uint32_t Charge
Bits 18 - 32 : charge.
uint32_t Address
Bits 0 - 17 : Address.