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
cms_uint32_t
unsigned int cms_uint32_t
Definition: typedefs.h:15
ErrorCheckerPhase0
Definition: ErrorCheckerPhase0.h:11
mps_update.status
status
Definition: mps_update.py:69
converter
Definition: CandidateProducer.h:25
ErrorCheckerPhase0::checkTrailer
bool checkTrailer(bool &errorsInEvent, int fedId, unsigned int nWords, const Word64 *trailer, Errors &errors) override
Definition: ErrorCheckerPhase0.cc:80
ErrorCheckerPhase0::conversionError
void conversionError(int fedId, const SiPixelFrameConverter *converter, int status, Word32 &errorWord, Errors &errors) override
Definition: ErrorCheckerPhase0.cc:175
SiPixelFedCabling
Definition: SiPixelFedCabling.h:10
ErrorCheckerBase::Word32
cms_uint32_t Word32
Definition: ErrorCheckerBase.h:18
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
ErrorCheckerPhase0::Word32
cms_uint32_t Word32
Definition: ErrorCheckerPhase0.h:13
errors
Definition: errors.py:1
ErrorCheckerPhase0::DetErrors
std::vector< SiPixelRawDataError > DetErrors
Definition: ErrorCheckerPhase0.h:16
typedefs.h
ErrorCheckerPhase0::ErrorCheckerPhase0
ErrorCheckerPhase0()
Definition: ErrorCheckerPhase0.cc:46
ErrorCheckerPhase0::checkHeader
bool checkHeader(bool &errorsInEvent, int fedId, const Word64 *header, Errors &errors) override
Definition: ErrorCheckerPhase0.cc:63
ErrorCheckerBase
Definition: ErrorCheckerBase.h:16
ErrorCheckerPhase0::includeErrors
bool includeErrors
Definition: ErrorCheckerPhase0.h:40
cms_uint64_t
unsigned long long cms_uint64_t
Definition: typedefs.h:17
SiPixelFrameConverter
Definition: SiPixelFrameConverter.h:15
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
ErrorCheckerPhase0::errorDetId
cms_uint32_t errorDetId(const SiPixelFrameConverter *converter, int errorType, const Word32 &word) const override
Definition: ErrorCheckerPhase0.cc:227
ErrorCheckerBase.h
ErrorCheckerBase::Word64
cms_uint64_t Word64
Definition: ErrorCheckerBase.h:19
ErrorCheckerPhase0::checkCRC
bool checkCRC(bool &errorsInEvent, int fedId, const Word64 *trailer, Errors &errors) override
Definition: ErrorCheckerPhase0.cc:50
ErrorCheckerPhase0::checkROC
bool checkROC(bool &errorsInEvent, int fedId, const SiPixelFrameConverter *converter, const SiPixelFedCabling *theCablingTree, Word32 &errorWord, Errors &errors) override
Definition: ErrorCheckerPhase0.cc:105
ErrorCheckerBase::Errors
std::map< cms_uint32_t, DetErrors > Errors
Definition: ErrorCheckerBase.h:22
RecoTauValidation_cfi.header
header
Definition: RecoTauValidation_cfi.py:292
ErrorCheckerPhase0::setErrorStatus
void setErrorStatus(bool ErrorStatus) override
Definition: ErrorCheckerPhase0.cc:48
ErrorCheckerPhase0::Errors
std::map< cms_uint32_t, DetErrors > Errors
Definition: ErrorCheckerPhase0.h:17
ErrorCheckerPhase0::Word64
cms_uint64_t Word64
Definition: ErrorCheckerPhase0.h:14