Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:12

0001 
0002 #include "DataFormats/CTPPSDigi/interface/CTPPSPixelDataError.h"
0003 
0004 const std::array<std::string, 14> CTPPSPixelDataError::errorMessages_ = {{
0005 
0006     "Error: Unknown error type",
0007     /// error 25
0008     "Error: ROC=25",
0009     /// error  26
0010     "Error: Gap word",
0011     /// error  27
0012     "Error: Dummy word",
0013     /// error  28
0014     "Error: FIFO nearly full",
0015     /// error  29
0016     "Error: Timeout",
0017     /// error  30
0018     "Error: Trailer",
0019     /// error  31
0020     "Error: Event number mismatch",
0021     /// error  32
0022     "Error: Invalid or missing header",
0023     /// error  33
0024     "Error: Invalid or missing trailer",
0025     /// error  34
0026     "Error: Size mismatch",
0027     /// error  35
0028     "Error: Invalid channel",
0029     /// error  36
0030     "Error: Invalid ROC number",
0031     /// error  37
0032     "Error: Invalid dcol/pixel address"}};
0033 
0034 CTPPSPixelDataError::CTPPSPixelDataError() : errorWord64_(0), errorWord32_(0), errorType_(0), fedId_(0) {}
0035 
0036 CTPPSPixelDataError::CTPPSPixelDataError(uint32_t errorWord32, const int errorType, int fedId)
0037     : errorWord64_(0), errorWord32_(errorWord32), errorType_(errorType), fedId_(fedId) {}
0038 
0039 CTPPSPixelDataError::CTPPSPixelDataError(uint64_t errorWord64, const int errorType, int fedId)
0040     : errorWord64_(errorWord64), errorWord32_(0), errorType_(errorType), fedId_(fedId) {}
0041 
0042 CTPPSPixelDataError::~CTPPSPixelDataError() = default;