![]() |
Project
|
#include <RawDataChecker.h>
Public Member Functions | |
void | init (const CrateMasks &masks) |
bool | process (gsl::span< const ROBoard > localBoards, gsl::span< const ROFRecord > rofRecords, gsl::span< const ROFRecord > pageRecords) |
bool | checkMissingLinks (bool clear=true) |
unsigned int | getNEventsProcessed () const |
Gets the number of processed events. | |
unsigned int | getNEventsFaulty () const |
Gets the number of faulty events. | |
unsigned int | getNBusyRaised () const |
Gets the number of busy raised. | |
std::string | getDebugMessage () const |
Gets the debug message. | |
void | clear (bool all=false) |
void | setElectronicsDelay (const ElectronicsDelay &electronicsDelay) |
Sets the delay in the electronics. | |
void | setSyncTrigger (uint32_t syncTrigger) |
Definition at line 32 of file RawDataChecker.h.
bool o2::mid::RawDataChecker::checkMissingLinks | ( | bool | clear = true | ) |
Checks for missing links
Definition at line 60 of file RawDataChecker.cxx.
void o2::mid::RawDataChecker::clear | ( | bool | all = false | ) |
Clears the statistics
Definition at line 114 of file RawDataChecker.cxx.
|
inline |
Gets the debug message.
Definition at line 45 of file RawDataChecker.h.
unsigned int o2::mid::RawDataChecker::getNBusyRaised | ( | ) | const |
Gets the number of busy raised.
Gets the number of busy raised
Definition at line 104 of file RawDataChecker.cxx.
unsigned int o2::mid::RawDataChecker::getNEventsFaulty | ( | ) | const |
Gets the number of faulty events.
Gets the number of faulty events
Definition at line 94 of file RawDataChecker.cxx.
unsigned int o2::mid::RawDataChecker::getNEventsProcessed | ( | ) | const |
Gets the number of processed events.
Gets the number of processed events
Definition at line 84 of file RawDataChecker.cxx.
void o2::mid::RawDataChecker::init | ( | const CrateMasks & | masks | ) |
Initializes the checkers
Definition at line 28 of file RawDataChecker.cxx.
bool o2::mid::RawDataChecker::process | ( | gsl::span< const ROBoard > | localBoards, |
gsl::span< const ROFRecord > | rofRecords, | ||
gsl::span< const ROFRecord > | pageRecords | ||
) |
Checks the raw data
Definition at line 37 of file RawDataChecker.cxx.
|
inline |
Sets the delay in the electronics.
Definition at line 49 of file RawDataChecker.h.
void o2::mid::RawDataChecker::setSyncTrigger | ( | uint32_t | syncTrigger | ) |
Sets the trigger use to verify if all data of an event where received
Definition at line 76 of file RawDataChecker.cxx.