CMS 3D CMS Logo

ErrorCheckerPhase0.h
Go to the documentation of this file.
1 #ifndef ErrorCheckerPhase0_H
2 #define ErrorCheckerPhase0_H
3 
10 
11 
13 
14 public:
17 
18  typedef std::vector<SiPixelRawDataError> DetErrors;
19  typedef std::map<cms_uint32_t, DetErrors> Errors;
20 
22 
23  void setErrorStatus(bool ErrorStatus) override;
24 
25  bool checkCRC(bool& errorsInEvent, int fedId, const Word64* trailer, Errors& errors) override;
26 
27  bool checkHeader(bool& errorsInEvent, int fedId, const Word64* header, Errors& errors) override;
28 
29  bool checkTrailer(bool& errorsInEvent, int fedId, unsigned int nWords, const Word64* trailer, Errors& errors) override;
30 
31  bool checkROC(bool& errorsInEvent, int fedId, const SiPixelFrameConverter* converter,
32  const SiPixelFedCabling* theCablingTree,
33  Word32& errorWord, Errors& errors) override;
34 
35 
36 
38  int status, Word32& errorWord, Errors& errors) override;
39 
40 private:
41 
43 
45  int errorType, const Word32 & word) const override;
46 
47 };
48 
49 #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
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