File indexing completed on 2024-04-06 12:04:01
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
0008 "Error: ROC=25",
0009
0010 "Error: Gap word",
0011
0012 "Error: Dummy word",
0013
0014 "Error: FIFO nearly full",
0015
0016 "Error: Timeout",
0017
0018 "Error: Trailer",
0019
0020 "Error: Event number mismatch",
0021
0022 "Error: Invalid or missing header",
0023
0024 "Error: Invalid or missing trailer",
0025
0026 "Error: Size mismatch",
0027
0028 "Error: Invalid channel",
0029
0030 "Error: Invalid ROC number",
0031
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;