#include <ErrorChecker.h>
Public Types | |
typedef std::vector < SiPixelRawDataError > | DetErrors |
typedef std::map< cms_uint32_t, DetErrors > | Errors |
typedef cms_uint32_t | Word32 |
typedef cms_uint64_t | Word64 |
Public Member Functions | |
bool | checkCRC (bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) |
bool | checkHeader (bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) |
bool | checkROC (bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, Word32 &errorWord, Errors &errors) |
bool | checkTrailer (bool &errorsInEvent, int fedId, int nWords, const Word64 *trailer, Errors &errors) |
void | conversionError (int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors) |
ErrorChecker () | |
void | setErrorStatus (bool ErrorStatus) |
Private Member Functions | |
cms_uint32_t | errorDetId (const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const |
Private Attributes | |
bool | includeErrors |
Definition at line 18 of file ErrorChecker.h.
typedef std::vector<SiPixelRawDataError> ErrorChecker::DetErrors |
Definition at line 26 of file ErrorChecker.h.
typedef std::map<cms_uint32_t, DetErrors> ErrorChecker::Errors |
Definition at line 27 of file ErrorChecker.h.
typedef cms_uint32_t ErrorChecker::Word32 |
Definition at line 23 of file ErrorChecker.h.
typedef cms_uint64_t ErrorChecker::Word64 |
Definition at line 24 of file ErrorChecker.h.
ErrorChecker::ErrorChecker | ( | ) |
Definition at line 46 of file ErrorChecker.cc.
bool ErrorChecker::checkCRC | ( | bool & | errorsInEvent, |
int | fedId, | ||
const Word64 * | trailer, | ||
Errors & | errors | ||
) |
Definition at line 56 of file ErrorChecker.cc.
bool ErrorChecker::checkHeader | ( | bool & | errorsInEvent, |
int | fedId, | ||
const Word64 * | header, | ||
Errors & | errors | ||
) |
Definition at line 69 of file ErrorChecker.cc.
bool ErrorChecker::checkROC | ( | bool & | errorsInEvent, |
int | fedId, | ||
const SiPixelFrameConverter * | converter, | ||
Word32 & | errorWord, | ||
Errors & | errors | ||
) |
Definition at line 113 of file ErrorChecker.cc.
bool ErrorChecker::checkTrailer | ( | bool & | errorsInEvent, |
int | fedId, | ||
int | nWords, | ||
const Word64 * | trailer, | ||
Errors & | errors | ||
) |
Definition at line 87 of file ErrorChecker.cc.
void ErrorChecker::conversionError | ( | int | fedId, |
const SiPixelFrameConverter * | converter, | ||
int | status, | ||
Word32 & | errorWord, | ||
Errors & | errors | ||
) |
Definition at line 178 of file ErrorChecker.cc.
|
private |
Definition at line 226 of file ErrorChecker.cc.
void ErrorChecker::setErrorStatus | ( | bool | ErrorStatus | ) |
Definition at line 51 of file ErrorChecker.cc.
|
private |
Definition at line 49 of file ErrorChecker.h.