1 #ifndef CTPPS_CTPPSRawToDigi_RPixErrorChecker_h 2 #define CTPPS_CTPPSRawToDigi_RPixErrorChecker_h 25 typedef std::map<uint32_t, DetErrors>
Errors;
57 bool checkTrailer(
bool& errorsInEvent,
int fedId,
unsigned int nWords,
const Word64* trailer, Errors&
errors)
const;
59 bool checkROC(
bool& errorsInEvent,
int fedId, uint32_t iD,
const Word32& errorWord, Errors&
errors)
const;
void conversionError(int fedId, uint32_t iD, const State &state, const Word32 &errorWord, Errors &errors) const
static constexpr int OMIT_ERR_shift
static constexpr int CRC_shift
static constexpr int DCOL_shift
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) const
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) const
static constexpr int ROC_bits
static constexpr int ADC_bits
std::map< uint32_t, DetErrors > Errors
static constexpr Word32 OMIT_ERR_mask
static constexpr Word32 dummyDetId
std::vector< CTPPSPixelDataError > DetErrors
static constexpr int ADC_shift
static constexpr int DCOL_bits
static constexpr int PXID_bits
void setErrorStatus(bool errorStatus)
unsigned long long uint64_t
static constexpr int OMIT_ERR_bits
static constexpr int CRC_bits
static constexpr Word32 ERROR_mask
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors) const
static constexpr Word64 CRC_mask
static constexpr int ROC_shift
bool checkROC(bool &errorsInEvent, int fedId, uint32_t iD, const Word32 &errorWord, Errors &errors) const
static constexpr int PXID_shift