#include <RPixErrorChecker.h>
Public Types | |
typedef uint32_t | Word32 |
typedef uint64_t | Word64 |
Public Member Functions | |
bool | checkCRC (bool &errorsInEvent, int fedId, const Word64 *trailer) const |
bool | checkHeader (bool &errorsInEvent, int fedId, const Word64 *header) const |
bool | checkROC (bool &errorsInEvent, int fedId, Word32 &errorWord) const |
bool | checkTrailer (bool &errorsInEvent, int fedId, int nWords, const Word64 *trailer) const |
RPixErrorChecker () | |
RPix == CTPPS Pixel detector (Roman Pot Pixels)
Definition at line 15 of file RPixErrorChecker.h.
typedef uint32_t RPixErrorChecker::Word32 |
Definition at line 19 of file RPixErrorChecker.h.
typedef uint64_t RPixErrorChecker::Word64 |
Definition at line 20 of file RPixErrorChecker.h.
RPixErrorChecker::RPixErrorChecker | ( | ) |
Definition at line 35 of file RPixErrorChecker.cc.
bool RPixErrorChecker::checkCRC | ( | bool & | errorsInEvent, |
int | fedId, | ||
const Word64 * | trailer | ||
) | const |
Definition at line 39 of file RPixErrorChecker.cc.
Referenced by CTPPSPixelDataFormatter::interpretRawData().
bool RPixErrorChecker::checkHeader | ( | bool & | errorsInEvent, |
int | fedId, | ||
const Word64 * | header | ||
) | const |
Definition at line 49 of file RPixErrorChecker.cc.
References FEDHeader::check(), FEDHeader::moreHeaders(), and FEDHeader::sourceID().
Referenced by CTPPSPixelDataFormatter::interpretRawData().
bool RPixErrorChecker::checkROC | ( | bool & | errorsInEvent, |
int | fedId, | ||
Word32 & | errorWord | ||
) | const |
Definition at line 81 of file RPixErrorChecker.cc.
References likely, and LogDebug.
Referenced by CTPPSPixelDataFormatter::interpretRawData().
bool RPixErrorChecker::checkTrailer | ( | bool & | errorsInEvent, |
int | fedId, | ||
int | nWords, | ||
const Word64 * | trailer | ||
) | const |
Definition at line 63 of file RPixErrorChecker.cc.
References FEDTrailer::check(), FEDTrailer::lenght(), and FEDTrailer::moreTrailers().
Referenced by CTPPSPixelDataFormatter::interpretRawData().