Main Page
Namespaces
Classes
Package Documentation
L1Trigger
CSCCommonTrigger
interface
CSCConstants.h
Go to the documentation of this file.
1
#ifndef CSCCommonTrigger_CSCConstants_h
2
#define CSCCommonTrigger_CSCConstants_h
3
9
#include <cmath>
10
11
class
CSCConstants
12
{
13
public
:
14
enum
CFEB_Info
{
15
//Maximum number of cathode front-end boards
16
MAX_CFEBS
= 5,
17
};
18
19
enum
FPGA_Latency
{
20
CLCT_EMUL_TIME_OFFSET
= 3,
21
ALCT_EMUL_TIME_OFFSET
= 6
22
};
23
24
// Note: WIRE means actually "wiregroup" here
25
enum
WG_and_Strip
{
26
MAX_NUM_WIRES
= 119,
27
MAX_WIRES_ME11
= 48,
28
MAX_NUM_STRIPS
= 80,
29
MAX_NUM_STRIPS_7CFEBS
= 112,
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
34
NUM_DISTRIPS_PER_CFEB
= 8,
35
NUM_STRIPS_PER_CFEB
= 16,
36
NUM_HALF_STRIPS_PER_CFEB
= 32,
37
// max halfstrip number in ME1/1 chambers
38
// All ME1A readout by 1 CFEB -> 32 -1
39
MAX_HALF_STRIP_ME1A_GANGED
= 31,
40
// All ME1A readout by 3 CFEBs -> 3*32 -1
41
MAX_HALF_STRIP_ME1A_UNGANGED
= 95,
42
// All ME1B readout by 4 CFEBs -> 4*32 -1
43
MAX_HALF_STRIP_ME1B
= 127,
44
MAX_NUM_STRIPS_ME1B
= 64,
45
MAX_NUM_STRIPS_ME1A_GANGED
= 16,
46
MAX_NUM_STRIPS_ME1A_UNGANGED
= 48,
47
};
48
49
// CSCs have 6 layers. The key (refernce) layer is the third layer
50
enum
Layer_Info
{
51
NUM_LAYERS
= 6,
52
KEY_CLCT_LAYER
= 3,
53
KEY_CLCT_LAYER_PRE_TMB07
= 4,
54
KEY_ALCT_LAYER
= 3 };
55
56
// Both ALCT and CLCTs have patterns. CLCTs have a better granularity than ALCTs, thus more patterns
57
enum
Pattern_Info
{
58
NUM_ALCT_PATTERNS
= 3,
59
NUM_CLCT_PATTERNS
= 11,
60
NUM_CLCT_PATTERNS_PRE_TMB07
= 8,
61
// Max number of wires participating in a pattern
62
MAX_WIRES_IN_PATTERN
= 14,
63
// Max number of strips participating in a pattern
64
MAX_STRIPS_IN_PATTERN
= 26,
65
// Max number of halfstrips participating in a pattern
66
MAX_HALFSTRIPS_IN_PATTERN
= 42};
67
68
enum
Digis_Info
{
69
MAX_DIGIS_PER_ALCT
= 10,
70
MAX_DIGIS_PER_CLCT
= 8 };
71
72
enum
LCT_stubs
{
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
78
MAX_MATCH_WINDOW_SIZE
= 15,
79
// Each CLCT processor can send up to 2 CLCTs to TMB per BX
80
MAX_CLCTS_PER_PROCESSOR
= 2,
81
// Each ALCT processor can send up to 2 ALCTs to TMB per BX
82
MAX_ALCTS_PER_PROCESSOR
= 2,
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};
89
};
90
91
#endif
CSCConstants::CFEB_Info
CFEB_Info
Definition:
CSCConstants.h:14
CSCConstants::MAX_HALF_STRIP_ME1A_GANGED
Definition:
CSCConstants.h:39
CSCConstants::NUM_HALF_STRIPS_PER_CFEB
Definition:
CSCConstants.h:36
CSCConstants::WG_and_Strip
WG_and_Strip
Definition:
CSCConstants.h:25
CSCConstants::LCT_CENTRAL_BX
Definition:
CSCConstants.h:88
CSCConstants::MAX_ALCTS_PER_PROCESSOR
Definition:
CSCConstants.h:82
CSCConstants::MAX_NUM_STRIPS_ME1B
Definition:
CSCConstants.h:44
CSCConstants::KEY_CLCT_LAYER_PRE_TMB07
Definition:
CSCConstants.h:53
CSCConstants::NUM_DI_STRIPS
Definition:
CSCConstants.h:30
CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07
Definition:
CSCConstants.h:60
CSCConstants::NUM_ALCT_PATTERNS
Definition:
CSCConstants.h:58
CSCConstants::NUM_HALF_STRIPS_7CFEBS
Definition:
CSCConstants.h:32
CSCConstants::MAX_HALF_STRIP_ME1A_UNGANGED
Definition:
CSCConstants.h:41
CSCConstants::LCT_stubs
LCT_stubs
Definition:
CSCConstants.h:72
CSCConstants::CLCT_EMUL_TIME_OFFSET
Definition:
CSCConstants.h:20
CSCConstants::NUM_STRIPS_PER_CFEB
Definition:
CSCConstants.h:35
CSCConstants::Layer_Info
Layer_Info
Definition:
CSCConstants.h:50
CSCConstants::NUM_LAYERS
Definition:
CSCConstants.h:51
CSCConstants::MAX_WIRES_ME11
Definition:
CSCConstants.h:27
CSCConstants::KEY_CLCT_LAYER
Definition:
CSCConstants.h:52
CSCConstants::MAX_NUM_WIRES
Definition:
CSCConstants.h:26
CSCConstants::KEY_ALCT_LAYER
Definition:
CSCConstants.h:54
CSCConstants::MAX_WIRES_IN_PATTERN
Definition:
CSCConstants.h:62
CSCConstants::MAX_STRIPS_IN_PATTERN
Definition:
CSCConstants.h:64
CSCConstants::NUM_DISTRIPS_PER_CFEB
Definition:
CSCConstants.h:34
CSCConstants::NUM_CLCT_PATTERNS
Definition:
CSCConstants.h:59
CSCConstants::Pattern_Info
Pattern_Info
Definition:
CSCConstants.h:57
CSCConstants::ALCT_EMUL_TIME_OFFSET
Definition:
CSCConstants.h:21
CSCConstants::MAX_DIGIS_PER_CLCT
Definition:
CSCConstants.h:70
CSCConstants::Digis_Info
Digis_Info
Definition:
CSCConstants.h:68
CSCConstants::FPGA_Latency
FPGA_Latency
Definition:
CSCConstants.h:19
CSCConstants::MAX_HALFSTRIPS_IN_PATTERN
Definition:
CSCConstants.h:66
CSCConstants::MAX_LCTS_PER_CSC
Definition:
CSCConstants.h:84
CSCConstants::MAX_NUM_STRIPS_7CFEBS
Definition:
CSCConstants.h:29
CSCConstants::MAX_NUM_STRIPS_ME1A_GANGED
Definition:
CSCConstants.h:45
CSCConstants::MAX_DIGIS_PER_ALCT
Definition:
CSCConstants.h:69
CSCConstants
Definition:
CSCConstants.h:11
CSCConstants::MAX_CLCTS_PER_PROCESSOR
Definition:
CSCConstants.h:80
CSCConstants::MAX_CFEBS
Definition:
CSCConstants.h:16
CSCConstants::MAX_NUM_STRIPS
Definition:
CSCConstants.h:28
CSCConstants::MAX_CLCT_TBINS
Definition:
CSCConstants.h:74
CSCConstants::MAX_HALF_STRIP_ME1B
Definition:
CSCConstants.h:43
CSCConstants::MAX_NUM_STRIPS_ME1A_UNGANGED
Definition:
CSCConstants.h:46
CSCConstants::MAX_MATCH_WINDOW_SIZE
Definition:
CSCConstants.h:78
CSCConstants::NUM_HALF_STRIPS
Definition:
CSCConstants.h:31
CSCConstants::MAX_LCT_TBINS
Definition:
CSCConstants.h:76
CSCConstants::MAX_LCTS_PER_MPC
Definition:
CSCConstants.h:86
CSCConstants::MAX_ALCT_TBINS
Definition:
CSCConstants.h:75
Generated for CMSSW Reference Manual by
1.8.11