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_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_CLCTS_READOUT = 2, MAX_ALCTS_PER_PROCESSOR = 2, MAX_ALCTS_READOUT = 2,
  MAX_LCTS_PER_CSC = 2, MAX_LCTS_PER_MPC = 18, LCT_CENTRAL_BX = 8, ALCT_CLCT_OFFSET = 1
}
 
enum  Pattern_Info {
  NUM_ALCT_PATTERNS = 3, ALCT_PATTERN_WIDTH = 5, NUM_CLCT_PATTERNS = 11, CLCT_PATTERN_WIDTH = 11,
  MAX_WIRES_IN_PATTERN = 14, NUM_COMPARATOR_CODES = 4096
}
 
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

◆ CFEB_Info

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  };

◆ Digis_Info

Enumerator
MAX_DIGIS_PER_ALCT 
MAX_DIGIS_PER_CLCT 

Definition at line 59 of file CSCConstants.h.

◆ FPGA_Latency

Enumerator
CLCT_EMUL_TIME_OFFSET 
ALCT_EMUL_TIME_OFFSET 

Definition at line 18 of file CSCConstants.h.

◆ Layer_Info

Enumerator
NUM_LAYERS 
KEY_CLCT_LAYER 
KEY_ALCT_LAYER 

Definition at line 46 of file CSCConstants.h.

46 { NUM_LAYERS = 6, KEY_CLCT_LAYER = 3, KEY_ALCT_LAYER = 3 };

◆ LCT_stubs

Enumerator
MAX_CLCT_TBINS 
MAX_ALCT_TBINS 
MAX_LCT_TBINS 
MAX_MATCH_WINDOW_SIZE 
MAX_CLCTS_PER_PROCESSOR 
MAX_CLCTS_READOUT 
MAX_ALCTS_PER_PROCESSOR 
MAX_ALCTS_READOUT 
MAX_LCTS_PER_CSC 
MAX_LCTS_PER_MPC 
LCT_CENTRAL_BX 
ALCT_CLCT_OFFSET 

Definition at line 61 of file CSCConstants.h.

61  {
62  // CSC local trigger considers 4-bit BX window (16 numbers) in the readout
63  MAX_CLCT_TBINS = 16,
64  MAX_ALCT_TBINS = 16,
65  MAX_LCT_TBINS = 16,
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
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  // Offset between the ALCT and CLCT central BX in simulation
82  };

◆ Pattern_Info

Enumerator
NUM_ALCT_PATTERNS 
ALCT_PATTERN_WIDTH 
NUM_CLCT_PATTERNS 
CLCT_PATTERN_WIDTH 
MAX_WIRES_IN_PATTERN 
NUM_COMPARATOR_CODES 

Definition at line 49 of file CSCConstants.h.

49  {
52  NUM_CLCT_PATTERNS = 11,
53  CLCT_PATTERN_WIDTH = 11,
54  // Max number of wires participating in a pattern
57  };

◆ WG_and_Strip

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  };
CSCConstants::MAX_WIRES_ME11
Definition: CSCConstants.h:23
CSCConstants::MAX_NUM_WIRES
Definition: CSCConstants.h:22
CSCConstants::MAX_DIGIS_PER_ALCT
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::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::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::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::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::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::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