DataFormats
L1TMuon
interface
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
18
enum
FPGA_Latency
{
CLCT_EMUL_TIME_OFFSET
= 3,
ALCT_EMUL_TIME_OFFSET
= 6 };
19
20
// Note: WIRE means actually "wiregroup" here
21
enum
WG_and_Strip
{
22
MAX_NUM_WIRES
= 119,
23
MAX_WIRES_ME11
= 48,
24
MAX_NUM_STRIPS
= 80,
25
MAX_NUM_STRIPS_7CFEBS
= 112,
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
30
NUM_DISTRIPS_PER_CFEB
= 8,
31
NUM_STRIPS_PER_CFEB
= 16,
32
NUM_HALF_STRIPS_PER_CFEB
= 32,
33
// max halfstrip number in ME1/1 chambers
34
// All ME1A readout by 1 CFEB -> 32 -1
35
MAX_HALF_STRIP_ME1A_GANGED
= 31,
36
// All ME1A readout by 3 CFEBs -> 3*32 -1
37
MAX_HALF_STRIP_ME1A_UNGANGED
= 95,
38
// All ME1B readout by 4 CFEBs -> 4*32 -1
39
MAX_HALF_STRIP_ME1B
= 127,
40
MAX_NUM_STRIPS_ME1B
= 64,
41
MAX_NUM_STRIPS_ME1A_GANGED
= 16,
42
MAX_NUM_STRIPS_ME1A_UNGANGED
= 48,
43
};
44
45
// CSCs have 6 layers. The key (refernce) layer is the third layer
46
enum
Layer_Info
{
NUM_LAYERS
= 6,
KEY_CLCT_LAYER
= 3,
KEY_ALCT_LAYER
= 3 };
47
48
// Both ALCT and CLCTs have patterns. CLCTs have a better granularity than ALCTs, thus more patterns
49
enum
Pattern_Info
{
50
NUM_ALCT_PATTERNS
= 3,
51
ALCT_PATTERN_WIDTH
= 5,
52
NUM_CLCT_PATTERNS
= 11,
53
CLCT_PATTERN_WIDTH
= 11,
54
// Max number of wires participating in a pattern
55
MAX_WIRES_IN_PATTERN
= 14,
56
NUM_COMPARATOR_CODES
= 4096
57
};
58
59
enum
Digis_Info
{
MAX_DIGIS_PER_ALCT
= 10,
MAX_DIGIS_PER_CLCT
= 8 };
60
61
enum
LCT_stubs
{
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
67
MAX_MATCH_WINDOW_SIZE
= 15,
68
// Each CLCT processor can send up to 2 CLCTs to TMB per BX
69
MAX_CLCTS_PER_PROCESSOR
= 2,
70
MAX_CLCTS_READOUT
= 2,
71
// Each ALCT processor can send up to 2 ALCTs to TMB per BX
72
MAX_ALCTS_PER_PROCESSOR
= 2,
73
MAX_ALCTS_READOUT
= 2,
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
81
ALCT_CLCT_OFFSET
= 1
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
Generated for CMSSW Reference Manual by
1.8.16