CMS 3D CMS Logo

CSCConstants.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1TMuon_CSCConstants_h
2 #define DataFormats_L1TMuon_CSCConstants_h
3 
9 #include <cmath>
10 
11 class CSCConstants {
12 public:
13  enum CFEB_Info {
14  //Maximum number of cathode front-end boards
15  MAX_CFEBS = 5,
16  };
17 
19 
20  // Note: WIRE means actually "wiregroup" here
21  enum WG_and_Strip {
26  NUM_DI_STRIPS = 40 + 1, // Add 1 to allow for staggering of strips
27  NUM_HALF_STRIPS = 160 + 1,
29  // each CFEB reads out 8 distrips, 16 strips or 32 halfstrips
33  // max halfstrip number in ME1/1 chambers
34  // All ME1A readout by 1 CFEB -> 32 -1
36  // All ME1A readout by 3 CFEBs -> 3*32 -1
38  // All ME1B readout by 4 CFEBs -> 4*32 -1
43  };
44 
45  // CSCs have 6 layers. The key (refernce) layer is the third layer
47 
48  // Both ALCT and CLCTs have patterns. CLCTs have a better granularity than ALCTs, thus more patterns
49  enum Pattern_Info {
54  // Max number of wires participating in a pattern
57  };
58 
60 
61  enum LCT_stubs {
62  // CSC local trigger considers 4-bit BX window (16 numbers) in the readout
66  // Maximum allowed matching window size
68  // Each CLCT processor can send up to 2 CLCTs to TMB per BX
71  // Each ALCT processor can send up to 2 ALCTs to TMB per BX
74  // Each CSC can send up to 2 LCTs to the MPC per BX
76  // An MPC receives up to 18 LCTs from 9 CSCs in the trigger sector
78  // Reference BX for LCTs in simulation and firmware
80  // Offset between the ALCT and CLCT central BX in simulation
82  };
83 };
84 
85 #endif
CSCConstants::MAX_WIRES_ME11
Definition: CSCConstants.h:23
CSCConstants::MAX_NUM_WIRES
Definition: CSCConstants.h:22
CSCConstants::Pattern_Info
Pattern_Info
Definition: CSCConstants.h:49
CSCConstants::MAX_DIGIS_PER_ALCT
Definition: CSCConstants.h:59
CSCConstants::Digis_Info
Digis_Info
Definition: CSCConstants.h:59
CSCConstants::MAX_ALCT_TBINS
Definition: CSCConstants.h:64
CSCConstants::LCT_CENTRAL_BX
Definition: CSCConstants.h:79
CSCConstants::NUM_ALCT_PATTERNS
Definition: CSCConstants.h:50
CSCConstants::KEY_ALCT_LAYER
Definition: CSCConstants.h:46
CSCConstants::ALCT_CLCT_OFFSET
Definition: CSCConstants.h:81
CSCConstants::WG_and_Strip
WG_and_Strip
Definition: CSCConstants.h:21
CSCConstants::MAX_CLCTS_PER_PROCESSOR
Definition: CSCConstants.h:69
CSCConstants::MAX_NUM_STRIPS
Definition: CSCConstants.h:24
CSCConstants::MAX_LCTS_PER_CSC
Definition: CSCConstants.h:75
CSCConstants::MAX_WIRES_IN_PATTERN
Definition: CSCConstants.h:55
CSCConstants::NUM_LAYERS
Definition: CSCConstants.h:46
CSCConstants::MAX_NUM_STRIPS_ME1B
Definition: CSCConstants.h:40
CSCConstants::NUM_DISTRIPS_PER_CFEB
Definition: CSCConstants.h:30
CSCConstants::MAX_LCT_TBINS
Definition: CSCConstants.h:65
CSCConstants::MAX_ALCTS_READOUT
Definition: CSCConstants.h:73
CSCConstants::ALCT_EMUL_TIME_OFFSET
Definition: CSCConstants.h:18
CSCConstants::CFEB_Info
CFEB_Info
Definition: CSCConstants.h:13
CSCConstants::NUM_COMPARATOR_CODES
Definition: CSCConstants.h:56
CSCConstants::MAX_ALCTS_PER_PROCESSOR
Definition: CSCConstants.h:72
CSCConstants::MAX_HALF_STRIP_ME1B
Definition: CSCConstants.h:39
CSCConstants::NUM_STRIPS_PER_CFEB
Definition: CSCConstants.h:31
CSCConstants::MAX_NUM_STRIPS_7CFEBS
Definition: CSCConstants.h:25
CSCConstants::Layer_Info
Layer_Info
Definition: CSCConstants.h:46
CSCConstants::MAX_HALF_STRIP_ME1A_UNGANGED
Definition: CSCConstants.h:37
CSCConstants::MAX_DIGIS_PER_CLCT
Definition: CSCConstants.h:59
CSCConstants::MAX_CLCTS_READOUT
Definition: CSCConstants.h:70
CSCConstants::NUM_DI_STRIPS
Definition: CSCConstants.h:26
CSCConstants
Definition: CSCConstants.h:11
CSCConstants::MAX_NUM_STRIPS_ME1A_GANGED
Definition: CSCConstants.h:41
CSCConstants::KEY_CLCT_LAYER
Definition: CSCConstants.h:46
CSCConstants::MAX_CLCT_TBINS
Definition: CSCConstants.h:63
CSCConstants::MAX_MATCH_WINDOW_SIZE
Definition: CSCConstants.h:67
CSCConstants::FPGA_Latency
FPGA_Latency
Definition: CSCConstants.h:18
CSCConstants::NUM_HALF_STRIPS
Definition: CSCConstants.h:27
CSCConstants::MAX_NUM_STRIPS_ME1A_UNGANGED
Definition: CSCConstants.h:42
CSCConstants::NUM_HALF_STRIPS_7CFEBS
Definition: CSCConstants.h:28
CSCConstants::MAX_LCTS_PER_MPC
Definition: CSCConstants.h:77
CSCConstants::NUM_CLCT_PATTERNS
Definition: CSCConstants.h:52
CSCConstants::LCT_stubs
LCT_stubs
Definition: CSCConstants.h:61
CSCConstants::CLCT_PATTERN_WIDTH
Definition: CSCConstants.h:53
CSCConstants::NUM_HALF_STRIPS_PER_CFEB
Definition: CSCConstants.h:32
CSCConstants::MAX_CFEBS
Definition: CSCConstants.h:15
CSCConstants::MAX_HALF_STRIP_ME1A_GANGED
Definition: CSCConstants.h:35
CSCConstants::CLCT_EMUL_TIME_OFFSET
Definition: CSCConstants.h:18
CSCConstants::ALCT_PATTERN_WIDTH
Definition: CSCConstants.h:51