CMS 3D CMS Logo

RPCAMCLinkCounters.cc
Go to the documentation of this file.
2 
4 {
5  switch (type) {
6  // from FED CDF Header and Trailer
7  case fed_event_:
8  return std::string("Event"); break;
10  return std::string("Header check fail"); break;
12  return std::string("Header FED ID mismatch"); break;
14  return std::string("Trailer check fail"); break;
16  return std::string("Trailer length mismatch"); break;
18  return std::string("Trailer CRC mismatch"); break;
19  // from FED Block Header
21  return std::string("Invalid block length"); break;
22  // from FED Block Content
24  return std::string("Invalid AMC number"); break;
25 
27  return std::string("AMC EvC or BC invalid"); break;
29  return std::string("Invalid payload length"); break;
30  // from TwinMux Playload Header
32  return std::string("AMC number mismatch"); break;
33 
34  // from RPC Record
35  case amc_link_invalid_:
36  return std::string("Invalid Link"); break;
37  case amc_data_:
38  return std::string("Data"); break;
39 
40  case input_data_:
41  return std::string("Data"); break;
42  case input_link_error_:
43  return std::string("Link error"); break;
45  return std::string("Link ack fail"); break;
46  case input_eod_:
47  return std::string("EOD"); break;
48  case input_lb_invalid_:
49  return std::string("Invalid LB"); break;
51  return std::string("Invalid Connector"); break;
53  return std::string("Connector not used"); break;
54  /*
55  case input_bc_mismatch_:
56  return std::string("BC Mismatch"); break;
57  case input_bc0_mismatch_:
58  return std::string("BC0 Mismatch"); break;
59  */
60 
61  default:
62  return std::string("unknown"); break;
63  }
64 }
65 
67 {}
type
Definition: HCALResponse.h:21
static unsigned int const amc_link_invalid_
static unsigned int const fed_header_check_fail_
static unsigned int const fed_event_
static std::string getTypeName(unsigned int type)
static unsigned int const input_link_ack_fail_
static unsigned int const input_connector_invalid_
static unsigned int const fed_trailer_length_mismatch_
static unsigned int const input_data_
static unsigned int const input_link_error_
static unsigned int const fed_trailer_crc_mismatch_
static unsigned int const amc_evc_bc_invalid_
static unsigned int const fed_block_amc_number_invalid_
static unsigned int const fed_header_id_mismatch_
static unsigned int const amc_payload_length_invalid_
static unsigned int const fed_block_length_invalid_
static unsigned int const fed_trailer_check_fail_
static unsigned int const input_eod_
static unsigned int const amc_data_
static unsigned int const amc_number_mismatch_
static unsigned int const input_connector_not_used_
static unsigned int const input_lb_invalid_