1 #ifndef ErrorCheckerBase_H 2 #define ErrorCheckerBase_H 24 typedef std::map<cms_uint32_t, DetErrors>
Errors;
30 virtual bool checkCRC(
bool& errorsInEvent,
int fedId,
const Word64* trailer, Errors&
errors)=0;
32 virtual bool checkHeader(
bool& errorsInEvent,
int fedId,
const Word64*
header, Errors& errors)=0;
34 virtual bool checkTrailer(
bool& errorsInEvent,
int fedId,
unsigned int nWords,
const Word64* trailer, Errors& errors)=0;
38 Word32& errorWord, Errors& errors)=0;
43 int status, Word32& errorWord, Errors& errors)=0;
48 int errorType,
const Word32 & word)
const =0;
virtual cms_uint32_t errorDetId(const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const =0
virtual ~ErrorCheckerBase()
virtual void setErrorStatus(bool ErrorStatus)=0
virtual bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors)=0
unsigned int cms_uint32_t
virtual bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors)=0
std::map< cms_uint32_t, DetErrors > Errors
std::vector< SiPixelRawDataError > DetErrors
virtual bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, Errors &errors)=0
virtual bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors)=0
virtual void conversionError(int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors)=0
unsigned long long cms_uint64_t