CMS 3D CMS Logo

ErrorChecker.h
Go to the documentation of this file.
1 #ifndef EventFilter_SiPixelRawToDigi_interface_ErrorChecker_h
2 #define EventFilter_SiPixelRawToDigi_interface_ErrorChecker_h
3 
11 
13 public:
14  ErrorChecker();
15 
16  bool checkROC(bool& errorsInEvent,
17  int fedId,
19  const SiPixelFedCabling* theCablingTree,
20  Word32& errorWord,
21  SiPixelFormatterErrors& errors) const override;
22 
23 protected:
24  cms_uint32_t errorDetId(const SiPixelFrameConverter* converter, int errorType, const Word32& word) const override;
26  int errorType,
27  unsigned int channel,
28  unsigned int roc) const;
29 };
30 
31 #endif // EventFilter_SiPixelRawToDigi_interface_ErrorChecker_h
cms_uint32_t errorDetIdSimple(const SiPixelFrameConverter *converter, int errorType, unsigned int channel, unsigned int roc) const
bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, SiPixelFormatterErrors &errors) const override
Definition: ErrorChecker.cc:23
uint64_t word
cms_uint32_t Word32
unsigned int cms_uint32_t
Definition: typedefs.h:15
cms_uint32_t errorDetId(const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const override
Definition: errors.py:1
std::map< cms_uint32_t, std::vector< SiPixelRawDataError > > SiPixelFormatterErrors