Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-06 23:49:38

0001 #ifndef EventFilter_SiPixelRawToDigi_interface_ErrorCheckerPhase0_h
0002 #define EventFilter_SiPixelRawToDigi_interface_ErrorCheckerPhase0_h
0003 /** \class ErrorCheckerPhase0
0004  *
0005  *  
0006  */
0007 
0008 #include "DataFormats/SiPixelDigi/interface/SiPixelDigiConstants.h"
0009 #include "DataFormats/SiPixelRawData/interface/SiPixelFormatterErrors.h"
0010 #include "EventFilter/SiPixelRawToDigi/interface/ErrorCheckerBase.h"
0011 
0012 class ErrorCheckerPhase0 : public ErrorCheckerBase {
0013 public:
0014   ErrorCheckerPhase0();
0015 
0016   bool checkROC(bool& errorsInEvent,
0017                 int fedId,
0018                 const SiPixelFrameConverter* converter,
0019                 const SiPixelFedCabling* theCablingTree,
0020                 Word32& errorWord,
0021                 SiPixelFormatterErrors& errors) const override;
0022 
0023 protected:
0024   cms_uint32_t errorDetId(const SiPixelFrameConverter* converter, int errorType, const Word32& word) const override;
0025 };
0026 
0027 #endif  // EventFilter_SiPixelRawToDigi_interface_ErrorCheckerPhase0_h