#include <ErrorChecker.h>
Public Member Functions | |
bool | checkROC (bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, SiPixelFormatterErrors &errors) const override |
ErrorChecker () | |
Public Member Functions inherited from ErrorCheckerBase | |
bool | checkCRC (bool &errorsInEvent, int fedId, const Word64 *trailer, SiPixelFormatterErrors &errors) const |
bool | checkHeader (bool &errorsInEvent, int fedId, const Word64 *header, SiPixelFormatterErrors &errors) const |
bool | checkTrailer (bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, SiPixelFormatterErrors &errors) const |
void | conversionError (int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, SiPixelFormatterErrors &errors) const |
ErrorCheckerBase () | |
void | setErrorStatus (bool ErrorStatus) |
virtual | ~ErrorCheckerBase ()=default |
Protected Member Functions | |
cms_uint32_t | errorDetId (const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const override |
Protected Member Functions inherited from ErrorCheckerBase | |
void | addErrorToCollectionDummy (int errorType, int fedId, Word64 word, SiPixelFormatterErrors &errors) const |
int | getConversionErrorTypeAndIssueLogMessage (int status, int fedId) const |
Additional Inherited Members | |
Protected Attributes inherited from ErrorCheckerBase | |
bool | includeErrors_ |
Definition at line 12 of file ErrorChecker.h.
ErrorChecker::ErrorChecker | ( | ) |
Definition at line 21 of file ErrorChecker.cc.
|
overridevirtual |
Implements ErrorCheckerBase.
Definition at line 23 of file ErrorChecker.cc.
References relativeConstraints::error, sipixelconstants::ERROR_mask, errorDetId(), l1tstage2_dqm_sourceclient-live_cfg::fedId, SiPixelFedCabling::findItem(), ErrorCheckerBase::includeErrors_, LIKELY, sipixelconstants::LINK_mask, sipixelconstants::LINK_shift, LogDebug, sipixelconstants::OMIT_ERR_mask, sipixelconstants::OMIT_ERR_shift, and sipixelconstants::ROC_shift.
|
overrideprotectedvirtual |
Implements ErrorCheckerBase.
Definition at line 99 of file ErrorChecker.cc.
References sipixelobjects::ElectronicIndex::dcol, sipixelconstants::dummyDetId, sipixelobjects::ElectronicIndex::link, sipixelconstants::LINK_mask, sipixelconstants::LINK_shift, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::DetectorIndex::rawId, sipixelobjects::ElectronicIndex::roc, sipixelconstants::ROC_mask, sipixelconstants::ROC_shift, and mps_update::status.
Referenced by checkROC().