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 13 of file CSCConstants.h.

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

Definition at line 61 of file CSCConstants.h.

Enumerator
CLCT_EMUL_TIME_OFFSET 
ALCT_EMUL_TIME_OFFSET 

Definition at line 18 of file CSCConstants.h.

Enumerator
NUM_LAYERS 
KEY_CLCT_LAYER 
KEY_CLCT_LAYER_PRE_TMB07 
KEY_ALCT_LAYER 

Definition at line 46 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 63 of file CSCConstants.h.

63  {
64  // CSC local trigger considers 4-bit BX window (16 numbers) in the readout
65  MAX_CLCT_TBINS = 16,
66  MAX_ALCT_TBINS = 16,
67  MAX_LCT_TBINS = 16,
68  // Maximum allowed matching window size
70  // Each CLCT processor can send up to 2 CLCTs to TMB per BX
72  // 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
75  MAX_LCTS_PER_CSC = 2,
76  // An MPC receives up to 18 LCTs from 9 CSCs in the trigger sector
77  MAX_LCTS_PER_MPC = 18,
78  // Reference BX for LCTs in simulation and firmware
79  LCT_CENTRAL_BX = 8
80  };
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 49 of file CSCConstants.h.

49  {
51  NUM_CLCT_PATTERNS = 11,
53  // Max number of wires participating in a pattern
55  // Max number of strips participating in a pattern
57  // Max number of halfstrips participating in a pattern
59  };
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 21 of file CSCConstants.h.

21  {
22  MAX_NUM_WIRES = 119,
23  MAX_WIRES_ME11 = 48,
24  MAX_NUM_STRIPS = 80,
26  NUM_DI_STRIPS = 40 + 1, // Add 1 to allow for staggering of strips
27  NUM_HALF_STRIPS = 160 + 1,
28  NUM_HALF_STRIPS_7CFEBS = 224 + 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
39  MAX_HALF_STRIP_ME1B = 127,
43  };