CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
36 CTPPSPixelDataError::CTPPSPixelDataError(uint32_t errorWord32, const int errorType, int fedId)
37  : errorWord64_(0), errorWord32_(errorWord32), errorType_(errorType), fedId_(fedId) {}
38 
39 CTPPSPixelDataError::CTPPSPixelDataError(uint64_t errorWord64, const int errorType, int fedId)
40  : errorWord64_(errorWord64), errorWord32_(0), errorType_(errorType), fedId_(fedId) {}
41 
static const std::array< std::string, 14 > errorMessages_
unsigned long long uint64_t
Definition: Time.h:13
~CTPPSPixelDataError()
Destructor.
CTPPSPixelDataError()
Default constructor.