CMS 3D CMS Logo

ErrorChecker.h
Go to the documentation of this file.
1 #ifndef ErrorChecker_H
2 #define ErrorChecker_H
3 
10 
12 public:
15 
16  typedef std::vector<SiPixelRawDataError> DetErrors;
17  typedef std::map<cms_uint32_t, DetErrors> Errors;
18 
19  ErrorChecker();
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
cms_uint32_t
unsigned int cms_uint32_t
Definition: typedefs.h:15
ErrorChecker::ErrorChecker
ErrorChecker()
Definition: ErrorChecker.cc:46
mps_update.status
status
Definition: mps_update.py:69
converter
Definition: CandidateProducer.h:25
ErrorChecker::checkTrailer
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors) override
Definition: ErrorChecker.cc:80
ErrorChecker::includeErrors
bool includeErrors
Definition: ErrorChecker.h:40
ErrorChecker::errorDetId
cms_uint32_t errorDetId(const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const override
Definition: ErrorChecker.cc:229
SiPixelFedCabling
Definition: SiPixelFedCabling.h:10
ErrorChecker::checkHeader
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) override
Definition: ErrorChecker.cc:63
ErrorChecker::Word32
cms_uint32_t Word32
Definition: ErrorChecker.h:13
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
errors
Definition: errors.py:1
ErrorChecker::checkROC
bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, Errors &errors) override
Definition: ErrorChecker.cc:105
typedefs.h
ErrorChecker::checkCRC
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) override
Definition: ErrorChecker.cc:50
ErrorChecker::DetErrors
std::vector< SiPixelRawDataError > DetErrors
Definition: ErrorChecker.h:16
ErrorCheckerBase
Definition: ErrorCheckerBase.h:16
ErrorChecker::conversionError
void conversionError(int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors) override
Definition: ErrorChecker.cc:180
cms_uint64_t
unsigned long long cms_uint64_t
Definition: typedefs.h:17
SiPixelFrameConverter
Definition: SiPixelFrameConverter.h:15
ErrorChecker::Word64
cms_uint64_t Word64
Definition: ErrorChecker.h:14
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
ErrorChecker
Definition: ErrorChecker.h:11
ErrorCheckerBase.h
ErrorChecker::setErrorStatus
void setErrorStatus(bool ErrorStatus) override
Definition: ErrorChecker.cc:48
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292
ErrorChecker::Errors
std::map< cms_uint32_t, DetErrors > Errors
Definition: ErrorChecker.h:17