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
};
45
46
// CSCs have 6 layers. The key (refernce) layer is the third layer
47
enum
Layer_Info
{
48
NUM_LAYERS
= 6,
49
KEY_CLCT_LAYER
= 3,
50
KEY_CLCT_LAYER_PRE_TMB07
= 4,
51
KEY_ALCT_LAYER
= 3 };
52
53
// Both ALCT and CLCTs have patterns. CLCTs have a better granularity than ALCTs, thus more patterns
54
enum
Pattern_Info
{
55
NUM_ALCT_PATTERNS
= 3,
56
NUM_CLCT_PATTERNS
= 11,
57
NUM_CLCT_PATTERNS_PRE_TMB07
= 8,
58
// Max number of wires participating in a pattern
59
MAX_WIRES_IN_PATTERN
= 14,
60
// Max number of strips participating in a pattern
61
MAX_STRIPS_IN_PATTERN
= 26,
62
// Max number of halfstrips participating in a pattern
63
MAX_HALFSTRIPS_IN_PATTERN
= 42};
64
65
enum
Digis_Info
{
66
MAX_DIGIS_PER_ALCT
= 10,
67
MAX_DIGIS_PER_CLCT
= 8 };
68
69
enum
LCT_stubs
{
70
// CSC local trigger considers 4-bit BX window (16 numbers) in the readout
71
MAX_CLCT_TBINS
= 16,
72
MAX_ALCT_TBINS
= 16,
73
MAX_LCT_TBINS
= 16,
74
// Each CLCT processor can snd up to 2 CLCTs to TMB
75
MAX_CLCTS_PER_PROCESSOR
= 2,
76
// Each ALCT processor can snd up to 2 ALCTs to TMB
77
MAX_ALCTS_PER_PROCESSOR
= 2,
78
// Each CSC can send up to 2 LCTs to the MPC.
79
MAX_LCTS_PER_CSC
= 2,
80
// An MPC receives up to 18 LCTs from 9 CSCs in the trigger sector
81
MAX_LCTS_PER_MPC
= 18 };
82
};
83
84
#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::MAX_ALCTS_PER_PROCESSOR
Definition:
CSCConstants.h:77
CSCConstants::KEY_CLCT_LAYER_PRE_TMB07
Definition:
CSCConstants.h:50
CSCConstants::NUM_DI_STRIPS
Definition:
CSCConstants.h:30
CSCConstants::NUM_CLCT_PATTERNS_PRE_TMB07
Definition:
CSCConstants.h:57
CSCConstants::NUM_ALCT_PATTERNS
Definition:
CSCConstants.h:55
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:69
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:47
CSCConstants::NUM_LAYERS
Definition:
CSCConstants.h:48
CSCConstants::MAX_WIRES_ME11
Definition:
CSCConstants.h:27
CSCConstants::KEY_CLCT_LAYER
Definition:
CSCConstants.h:49
CSCConstants::MAX_NUM_WIRES
Definition:
CSCConstants.h:26
CSCConstants::KEY_ALCT_LAYER
Definition:
CSCConstants.h:51
CSCConstants::MAX_WIRES_IN_PATTERN
Definition:
CSCConstants.h:59
CSCConstants::MAX_STRIPS_IN_PATTERN
Definition:
CSCConstants.h:61
CSCConstants::NUM_DISTRIPS_PER_CFEB
Definition:
CSCConstants.h:34
CSCConstants::NUM_CLCT_PATTERNS
Definition:
CSCConstants.h:56
CSCConstants::Pattern_Info
Pattern_Info
Definition:
CSCConstants.h:54
CSCConstants::ALCT_EMUL_TIME_OFFSET
Definition:
CSCConstants.h:21
CSCConstants::MAX_DIGIS_PER_CLCT
Definition:
CSCConstants.h:67
CSCConstants::Digis_Info
Digis_Info
Definition:
CSCConstants.h:65
CSCConstants::FPGA_Latency
FPGA_Latency
Definition:
CSCConstants.h:19
CSCConstants::MAX_HALFSTRIPS_IN_PATTERN
Definition:
CSCConstants.h:63
CSCConstants::MAX_LCTS_PER_CSC
Definition:
CSCConstants.h:79
CSCConstants::MAX_NUM_STRIPS_7CFEBS
Definition:
CSCConstants.h:29
CSCConstants::MAX_DIGIS_PER_ALCT
Definition:
CSCConstants.h:66
CSCConstants
Definition:
CSCConstants.h:11
CSCConstants::MAX_CLCTS_PER_PROCESSOR
Definition:
CSCConstants.h:75
CSCConstants::MAX_CFEBS
Definition:
CSCConstants.h:16
CSCConstants::MAX_NUM_STRIPS
Definition:
CSCConstants.h:28
CSCConstants::MAX_CLCT_TBINS
Definition:
CSCConstants.h:71
CSCConstants::MAX_HALF_STRIP_ME1B
Definition:
CSCConstants.h:43
CSCConstants::NUM_HALF_STRIPS
Definition:
CSCConstants.h:31
CSCConstants::MAX_LCT_TBINS
Definition:
CSCConstants.h:73
CSCConstants::MAX_LCTS_PER_MPC
Definition:
CSCConstants.h:81
CSCConstants::MAX_ALCT_TBINS
Definition:
CSCConstants.h:72
Generated for CMSSW Reference Manual by
1.8.11