CMS 3D CMS Logo

RPCAMCLinkEvents.h
Go to the documentation of this file.
1 #ifndef EventFilter_RPCRawToDigi_RPCAMCLinkEvents_h
2 #define EventFilter_RPCRawToDigi_RPCAMCLinkEvents_h
3 
4 #include <string>
5 
7 
9 public:
10  // from FED CDF Header and Trailer
11  static unsigned int const fed_event_ = RPCAMCLinkEvent::fed_ | RPCAMCLinkEvent::debug_ | 0;
17  // from AMC13 Header
19  // from AMC13 AMC Header
22 
23  static unsigned int const amc_event_ = RPCAMCLinkEvent::amc_ | RPCAMCLinkEvent::debug_ | 0;
29  // from AMC Payload Header
32 
33  // from RPC Record
35 
39  static unsigned int const input_eod_ = RPCAMCLinkEvent::input_ | RPCAMCLinkEvent::info_ | 3;
43 
44  static unsigned int const fed_min_ = 0;
45  static unsigned int const fed_max_ = 8;
46  static unsigned int const amc_min_ = 0;
47  static unsigned int const amc_max_ = 10;
48  static unsigned int const input_min_ = 0;
49  static unsigned int const input_max_ = 7;
50 
51 public:
53 
54  static std::string getEventName(unsigned int event);
55 };
56 
57 #endif // EventFilter_RPCRawToDigi_RPCAMCLinkEvents_h
RPCAMCLinkEvents::fed_min_
static unsigned const int fed_min_
Definition: RPCAMCLinkEvents.h:44
RPCAMCLinkEvents::fed_amc13_amc_number_invalid_
static unsigned const int fed_amc13_amc_number_invalid_
Definition: RPCAMCLinkEvents.h:20
RPCAMCLinkEvents::amc_min_
static unsigned const int amc_min_
Definition: RPCAMCLinkEvents.h:46
RPCAMCLinkEvents::fed_max_
static unsigned const int fed_max_
Definition: RPCAMCLinkEvents.h:45
RPCAMCLinkEvents::input_event_
static unsigned const int input_event_
Definition: RPCAMCLinkEvents.h:36
RPCAMCLinkEvent::debug_
static unsigned const int debug_
Definition: RPCAMCLinkEvent.h:16
RPCAMCLinkEvents
Definition: RPCAMCLinkEvents.h:8
RPCAMCLinkEvents::input_connector_invalid_
static unsigned const int input_connector_invalid_
Definition: RPCAMCLinkEvents.h:41
RPCAMCLinkEvents::amc_amc13_length_incorrect_
static unsigned const int amc_amc13_length_incorrect_
Definition: RPCAMCLinkEvents.h:25
RPCAMCLinkEvents::input_max_
static unsigned const int input_max_
Definition: RPCAMCLinkEvents.h:49
RPCAMCLinkEvents::fed_trailer_length_mismatch_
static unsigned const int fed_trailer_length_mismatch_
Definition: RPCAMCLinkEvents.h:15
RPCAMCLinkEvents::amc_number_mismatch_
static unsigned const int amc_number_mismatch_
Definition: RPCAMCLinkEvents.h:30
RPCAMCLinkEvent::amc_
static unsigned const int amc_
Definition: RPCAMCLinkEvent.h:13
RPCAMCLinkEvents::input_lb_invalid_
static unsigned const int input_lb_invalid_
Definition: RPCAMCLinkEvents.h:40
RPCAMCLinkEvents::input_min_
static unsigned const int input_min_
Definition: RPCAMCLinkEvents.h:48
RPCAMCLinkEvents::amc_event_
static unsigned const int amc_event_
Definition: RPCAMCLinkEvents.h:23
RPCAMCLinkEvents::fed_event_
static unsigned const int fed_event_
Definition: RPCAMCLinkEvents.h:11
RPCAMCLinkEvents::amc_payload_incomplete_
static unsigned const int amc_payload_incomplete_
Definition: RPCAMCLinkEvents.h:28
RPCAMCLinkEvents::fed_header_check_fail_
static unsigned const int fed_header_check_fail_
Definition: RPCAMCLinkEvents.h:12
RPCAMCLinkEvents::fed_trailer_crc_mismatch_
static unsigned const int fed_trailer_crc_mismatch_
Definition: RPCAMCLinkEvents.h:16
RPCAMCLinkEvents::amc_max_
static unsigned const int amc_max_
Definition: RPCAMCLinkEvents.h:47
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCAMCLinkEvents::fed_trailer_check_fail_
static unsigned const int fed_trailer_check_fail_
Definition: RPCAMCLinkEvents.h:14
RPCAMCLinkEvents::input_link_ack_fail_
static unsigned const int input_link_ack_fail_
Definition: RPCAMCLinkEvents.h:38
RPCAMCLinkEvents::amc_amc13_block_incomplete_
static unsigned const int amc_amc13_block_incomplete_
Definition: RPCAMCLinkEvents.h:21
RPCAMCLinkEvents::RPCAMCLinkEvents
RPCAMCLinkEvents()
Definition: RPCAMCLinkEvents.cc:3
RPCAMCLinkEvent::fed_
static unsigned const int fed_
Definition: RPCAMCLinkEvent.h:12
RPCAMCLinkEvents::getEventName
static std::string getEventName(unsigned int event)
Definition: RPCAMCLinkEvents.cc:5
RPCAMCLinkEvents::fed_amc13_block_incomplete_
static unsigned const int fed_amc13_block_incomplete_
Definition: RPCAMCLinkEvents.h:18
RPCAMCLinkEvent::info_
static unsigned const int info_
Definition: RPCAMCLinkEvent.h:17
RPCAMCLinkEvents::amc_link_invalid_
static unsigned const int amc_link_invalid_
Definition: RPCAMCLinkEvents.h:34
RPCAMCLinkEvents::amc_amc13_size_inconsistent_
static unsigned const int amc_amc13_size_inconsistent_
Definition: RPCAMCLinkEvents.h:27
RPCAMCLinkEvents::amc_amc13_evc_bc_invalid_
static unsigned const int amc_amc13_evc_bc_invalid_
Definition: RPCAMCLinkEvents.h:24
RPCAMCLinkEvents::amc_size_mismatch_
static unsigned const int amc_size_mismatch_
Definition: RPCAMCLinkEvents.h:31
RPCAMCLinkEvent::warn_
static unsigned const int warn_
Definition: RPCAMCLinkEvent.h:18
RPCAMCLinkEvents::fed_header_id_mismatch_
static unsigned const int fed_header_id_mismatch_
Definition: RPCAMCLinkEvents.h:13
RPCAMCLinkEvents::input_connector_not_used_
static unsigned const int input_connector_not_used_
Definition: RPCAMCLinkEvents.h:42
RPCAMCLinkEvent.h
RPCAMCLinkEvents::input_link_error_
static unsigned const int input_link_error_
Definition: RPCAMCLinkEvents.h:37
RPCAMCLinkEvent::input_
static unsigned const int input_
Definition: RPCAMCLinkEvent.h:14
event
Definition: event.py:1
RPCAMCLinkEvents::input_eod_
static unsigned const int input_eod_
Definition: RPCAMCLinkEvents.h:39
RPCAMCLinkEvents::amc_amc13_crc_mismatch_
static unsigned const int amc_amc13_crc_mismatch_
Definition: RPCAMCLinkEvents.h:26