CMS 3D CMS Logo

CTPPSPixelDataError.cc
Go to the documentation of this file.
1 
3 
4 const std::array<std::string, 14> CTPPSPixelDataError::errorMessages_ = {{
5 
6  "Error: Unknown error type",
8  "Error: ROC=25",
10  "Error: Gap word",
12  "Error: Dummy word",
14  "Error: FIFO nearly full",
16  "Error: Timeout",
18  "Error: Trailer",
20  "Error: Event number mismatch",
22  "Error: Invalid or missing header",
24  "Error: Invalid or missing trailer",
26  "Error: Size mismatch",
28  "Error: Invalid channel",
30  "Error: Invalid ROC number",
32  "Error: Invalid dcol/pixel address"}};
33 
34 CTPPSPixelDataError::CTPPSPixelDataError() : errorWord64_(0), errorWord32_(0), errorType_(0), fedId_(0) {}
35 
37  : errorWord64_(0), errorWord32_(errorWord32), errorType_(errorType), fedId_(fedId) {}
38 
40  : errorWord64_(errorWord64), errorWord32_(0), errorType_(errorType), fedId_(fedId) {}
41 
uint32_t errorWord32() const
the 32-bit word that contains the error information
static const std::array< std::string, 14 > errorMessages_
unsigned long long uint64_t
Definition: Time.h:13
~CTPPSPixelDataError()
Destructor.
int errorType() const
the number associated with the error type (26-31 for ROC number errors, 32-33 for calibration errors)...
CTPPSPixelDataError()
Default constructor.
uint64_t errorWord64() const
the 64-bit word that contains the error information
int fedId() const
the fedId where the error occured