CMS 3D CMS Logo

ErrorCheckerPhase0.h
Go to the documentation of this file.
1 #ifndef ErrorCheckerPhase0_H
2 #define ErrorCheckerPhase0_H
3 
10 
12 public:
15 
16  typedef std::vector<SiPixelRawDataError> DetErrors;
17  typedef std::map<cms_uint32_t, DetErrors> Errors;
18 
20 
21  void setErrorStatus(bool ErrorStatus) override;
22 
23  bool checkCRC(bool& errorsInEvent, int fedId, const Word64* trailer, Errors& errors) override;
24 
25  bool checkHeader(bool& errorsInEvent, int fedId, const Word64* header, Errors& errors) override;
26 
27  bool checkTrailer(bool& errorsInEvent, int fedId, unsigned int nWords, const Word64* trailer, Errors& errors) override;
28 
29  bool checkROC(bool& errorsInEvent,
30  int fedId,
32  const SiPixelFedCabling* theCablingTree,
33  Word32& errorWord,
34  Errors& errors) override;
35 
36  void conversionError(
37  int fedId, const SiPixelFrameConverter* converter, int status, Word32& errorWord, Errors& errors) override;
38 
39 private:
41 
42  cms_uint32_t errorDetId(const SiPixelFrameConverter* converter, int errorType, const Word32& word) const override;
43 };
44 
45 #endif
void setErrorStatus(bool ErrorStatus) override
cms_uint32_t errorDetId(const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const override
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) override
std::vector< SiPixelRawDataError > DetErrors
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) override
uint64_t word
unsigned int cms_uint32_t
Definition: typedefs.h:15
bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, Errors &errors) override
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors) override
void conversionError(int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors) override
std::map< cms_uint32_t, DetErrors > Errors
Definition: errors.py:1
unsigned long long cms_uint64_t
Definition: typedefs.h:17