CMS 3D CMS Logo

List of all members | Public Types
CSCConstants Class Reference

#include <CSCConstants.h>

Public Types

enum  CFEB_Info { MAX_CFEBS = 5 }
 
enum  Digis_Info { MAX_DIGIS_PER_ALCT = 10, MAX_DIGIS_PER_CLCT = 8 }
 
enum  FPGA_Latency { CLCT_EMUL_TIME_OFFSET = 3, ALCT_EMUL_TIME_OFFSET = 6 }
 
enum  Layer_Info { NUM_LAYERS = 6, KEY_CLCT_LAYER = 3, KEY_CLCT_LAYER_PRE_TMB07 = 4, KEY_ALCT_LAYER = 3 }
 
enum  LCT_stubs {
  MAX_CLCT_TBINS = 16, MAX_ALCT_TBINS = 16, MAX_LCT_TBINS = 16, MAX_MATCH_WINDOW_SIZE = 15,
  MAX_CLCTS_PER_PROCESSOR = 2, MAX_ALCTS_PER_PROCESSOR = 2, MAX_LCTS_PER_CSC = 2, MAX_LCTS_PER_MPC = 18,
  LCT_CENTRAL_BX = 8
}
 
enum  Pattern_Info {
  NUM_ALCT_PATTERNS = 3, NUM_CLCT_PATTERNS = 11, NUM_CLCT_PATTERNS_PRE_TMB07 = 8, MAX_WIRES_IN_PATTERN = 14,
  MAX_STRIPS_IN_PATTERN = 26, MAX_HALFSTRIPS_IN_PATTERN = 42
}
 
enum  WG_and_Strip {
  MAX_NUM_WIRES = 119, MAX_WIRES_ME11 = 48, MAX_NUM_STRIPS = 80, MAX_NUM_STRIPS_7CFEBS = 112,
  NUM_DI_STRIPS = 40+1, NUM_HALF_STRIPS = 160+1, NUM_HALF_STRIPS_7CFEBS = 224+1, NUM_DISTRIPS_PER_CFEB = 8,
  NUM_STRIPS_PER_CFEB = 16, NUM_HALF_STRIPS_PER_CFEB = 32, MAX_HALF_STRIP_ME1A_GANGED = 31, MAX_HALF_STRIP_ME1A_UNGANGED = 95,
  MAX_HALF_STRIP_ME1B = 127, MAX_NUM_STRIPS_ME1B = 64, MAX_NUM_STRIPS_ME1A_GANGED = 16, MAX_NUM_STRIPS_ME1A_UNGANGED = 48
}
 

Detailed Description

Static interface to basic chamber constants.

Definition at line 11 of file CSCConstants.h.

Member Enumeration Documentation

Enumerator
MAX_CFEBS 

Definition at line 14 of file CSCConstants.h.

14  {
15  //Maximum number of cathode front-end boards
16  MAX_CFEBS = 5,
17  };
Enumerator
MAX_DIGIS_PER_ALCT 
MAX_DIGIS_PER_CLCT 

Definition at line 68 of file CSCConstants.h.

Enumerator
CLCT_EMUL_TIME_OFFSET 
ALCT_EMUL_TIME_OFFSET 

Definition at line 19 of file CSCConstants.h.

Enumerator
NUM_LAYERS 
KEY_CLCT_LAYER 
KEY_CLCT_LAYER_PRE_TMB07 
KEY_ALCT_LAYER 

Definition at line 50 of file CSCConstants.h.

Enumerator
MAX_CLCT_TBINS 
MAX_ALCT_TBINS 
MAX_LCT_TBINS 
MAX_MATCH_WINDOW_SIZE 
MAX_CLCTS_PER_PROCESSOR 
MAX_ALCTS_PER_PROCESSOR 
MAX_LCTS_PER_CSC 
MAX_LCTS_PER_MPC 
LCT_CENTRAL_BX 

Definition at line 72 of file CSCConstants.h.

72  {
73  // CSC local trigger considers 4-bit BX window (16 numbers) in the readout
74  MAX_CLCT_TBINS = 16,
75  MAX_ALCT_TBINS = 16,
76  MAX_LCT_TBINS = 16,
77  // Maximum allowed matching window size
79  // Each CLCT processor can send up to 2 CLCTs to TMB per BX
81  // Each ALCT processor can send up to 2 ALCTs to TMB per BX
83  // Each CSC can send up to 2 LCTs to the MPC per BX
84  MAX_LCTS_PER_CSC = 2,
85  // An MPC receives up to 18 LCTs from 9 CSCs in the trigger sector
86  MAX_LCTS_PER_MPC = 18,
87  // Reference BX for LCTs in simulation and firmware
88  LCT_CENTRAL_BX = 8};
Enumerator
NUM_ALCT_PATTERNS 
NUM_CLCT_PATTERNS 
NUM_CLCT_PATTERNS_PRE_TMB07 
MAX_WIRES_IN_PATTERN 
MAX_STRIPS_IN_PATTERN 
MAX_HALFSTRIPS_IN_PATTERN 

Definition at line 57 of file CSCConstants.h.

57  {
59  NUM_CLCT_PATTERNS = 11,
61  // Max number of wires participating in a pattern
63  // Max number of strips participating in a pattern
65  // Max number of halfstrips participating in a pattern
Enumerator
MAX_NUM_WIRES 
MAX_WIRES_ME11 
MAX_NUM_STRIPS 
MAX_NUM_STRIPS_7CFEBS 
NUM_DI_STRIPS 
NUM_HALF_STRIPS 
NUM_HALF_STRIPS_7CFEBS 
NUM_DISTRIPS_PER_CFEB 
NUM_STRIPS_PER_CFEB 
NUM_HALF_STRIPS_PER_CFEB 
MAX_HALF_STRIP_ME1A_GANGED 
MAX_HALF_STRIP_ME1A_UNGANGED 
MAX_HALF_STRIP_ME1B 
MAX_NUM_STRIPS_ME1B 
MAX_NUM_STRIPS_ME1A_GANGED 
MAX_NUM_STRIPS_ME1A_UNGANGED 

Definition at line 25 of file CSCConstants.h.

25  {
26  MAX_NUM_WIRES = 119,
27  MAX_WIRES_ME11 = 48,
28  MAX_NUM_STRIPS = 80,
30  NUM_DI_STRIPS = 40+1, // Add 1 to allow for staggering of strips
31  NUM_HALF_STRIPS = 160+1,
32  NUM_HALF_STRIPS_7CFEBS = 224+1,
33  // each CFEB reads out 8 distrips, 16 strips or 32 halfstrips
37  // max halfstrip number in ME1/1 chambers
38  // All ME1A readout by 1 CFEB -> 32 -1
40  // All ME1A readout by 3 CFEBs -> 3*32 -1
42  // All ME1B readout by 4 CFEBs -> 4*32 -1
43  MAX_HALF_STRIP_ME1B = 127,
47  };