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 
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 
CTPPSPixelDataError::errorMessages_
static const std::array< std::string, 14 > errorMessages_
Definition: CTPPSPixelDataError.h:44
CTPPSPixelDataError::CTPPSPixelDataError
CTPPSPixelDataError()
Default constructor.
Definition: CTPPSPixelDataError.cc:34
CTPPSPixelDataError.h
CTPPSPixelDataError::~CTPPSPixelDataError
~CTPPSPixelDataError()
Destructor.
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:89
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13