CMS 3D CMS Logo

RPixErrorChecker.h
Go to the documentation of this file.
1 #ifndef CTPPS_CTPPSRawToDigi_RPixErrorChecker_h
2 #define CTPPS_CTPPSRawToDigi_RPixErrorChecker_h
3 
8 #include <cstdint>
9 
10 #include <vector>
11 #include <map>
12 
13 class FEDRawData;
14 
16 
17 public:
18 
19  typedef uint32_t Word32;
20  typedef uint64_t Word64;
21 
22 
23 
25 
26  bool checkCRC(bool& errorsInEvent, int fedId, const Word64* trailer) const;
27 
28  bool checkHeader(bool& errorsInEvent, int fedId, const Word64* header) const;
29 
30  bool checkTrailer(bool& errorsInEvent, int fedId, unsigned int nWords, const Word64* trailer) const;
31 
32  bool checkROC(bool& errorsInEvent, int fedId, Word32& errorWord) const;
33 
34 
35 private:
36 
37 
38 };
39 
40 #endif
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer) const
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header) const
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer) const
unsigned long long uint64_t
Definition: Time.h:15
bool checkROC(bool &errorsInEvent, int fedId, Word32 &errorWord) const