![]() |
Project
|
#include <RawFileReader.h>
Public Member Functions | |
| bool | init (const char *inFilename, bool readContinuous=false) |
| bool | readHB (bool sendCompleteHBs=false) |
| void | clear () |
| int | getState () |
| Gets the state. | |
| const std::vector< uint8_t > & | getData () |
| Gets the vector of data. | |
| void | setCustomRDH (const header::RAWDataHeader &rdh) |
| void | setCustomPayloadSize (uint16_t memorySize=0x2000, uint16_t offsetToNext=0x2000) |
Definition at line 28 of file RawFileReader.h.
| void o2::mid::RawFileReader::clear | ( | ) |
Clears the bytes and counters
Definition at line 50 of file RawFileReader.cxx.
|
inline |
Gets the vector of data.
Definition at line 39 of file RawFileReader.h.
|
inline |
Gets the state.
Definition at line 36 of file RawFileReader.h.
Initializes the raw file reader
Definition at line 29 of file RawFileReader.cxx.
Reads one HB
Definition at line 80 of file RawFileReader.cxx.
| void o2::mid::RawFileReader::setCustomPayloadSize | ( | uint16_t | memorySize = 0x2000, |
| uint16_t | offsetToNext = 0x2000 |
||
| ) |
Sets a custom memory and payload size This is done to be able to correctly read test data that have a wrong RDH
Definition at line 56 of file RawFileReader.cxx.
|
inline |
Definition at line 41 of file RawFileReader.h.