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; }
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;
unsigned short int uint16_t
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
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.