EventFilter
EcalRawToDigi
interface
DCCRawDataDefinitions.h
Go to the documentation of this file.
1
#ifndef DCCRAWDATADEFINITIONS_
2
#define DCCRAWDATADEFINITIONS_
3
4
enum
globalFieds
{
5
6
BLOCK_UNPACKED
= 0,
7
SKIP_BLOCK_UNPACKING
= 1,
8
STOP_EVENT_UNPACKING
= 2,
9
10
B_MASK
= 1,
11
HEADERLENGTH
= 9,
12
HEADERSIZE
= 72,
13
EMPTYEVENTSIZE
= 32,
14
15
PHYSICTRIGGER
= 1,
16
CALIBRATIONTRIGGER
= 2,
17
TESTTRIGGER
= 3,
18
TECHNICALTRIGGER
= 4,
19
20
CH_ENABLED
= 0,
21
CH_DISABLED
= 1,
22
CH_TIMEOUT
= 2,
23
CH_HEADERERR
= 3,
24
CH_LINKERR
= 5,
25
CH_LENGTHERR
= 6,
26
CH_SUPPRESS
= 7,
27
CH_IFIFOFULL
= 8,
28
CH_L1AIFIFOFULL
= 0xC,
29
CH_FORCEDZS1
= 0xF,
30
31
SRP_NUMBFLAGS
= 68,
32
SRP_BLOCKLENGTH
= 6,
33
SRP_EB_NUMBFLAGS
= 68,
34
35
BOEVALUE
= 0x5,
36
ERROR_EMPTYEVENT
= 0x1,
37
TOWERH_SIZE
= 8,
38
TRAILER_SIZE
= 8,
39
TCC_EB_NUMBTTS
= 68,
40
TCCID_SMID_SHIFT_EB
= 27,
41
42
NUMB_SM
= 54,
43
NUMB_FE
= 68,
44
NUMB_TCC
= 108,
45
NUMB_XTAL
= 5,
46
NUMB_STRIP
= 5,
47
NUMB_PSEUDOSTRIPS
= 30,
// input1 and input2 of TCC board has at most 30 PS_input (12 of which are duplicated)
48
NUMB_TTS_TPG2_DUPL
= 12,
//
49
NUMB_TTS_TPG1
= 16,
// input1 of TCC board has at most 16 TP's
50
NUMB_TTS_TPG2
= 12,
// input2 of TCC board has at most 12 TP's
51
52
NUMB_SM_EE_MIN_MIN
= 1,
53
NUMB_SM_EE_MIN_MAX
= 9,
54
NUMB_SM_EB_MIN_MIN
= 10,
55
NUMB_SM_EB_MIN_MAX
= 27,
56
NUMB_SM_EB_PLU_MIN
= 28,
57
NUMB_SM_EB_PLU_MAX
= 45,
58
NUMB_SM_EE_PLU_MIN
= 46,
59
NUMB_SM_EE_PLU_MAX
= 54,
60
61
// two DCC have a missing interval in the CCU_id's
62
SECTOR_EEM_CCU_JUMP
= 8,
63
SECTOR_EEP_CCU_JUMP
= 53,
64
MIN_CCUID_JUMP
= 18,
65
MAX_CCUID_JUMP
= 24,
66
67
NUMB_TCC_EE_MIN_EXT_MIN
= 19,
// outer TCC's in EE-
68
NUMB_TCC_EE_MIN_EXT_MAX
= 36,
69
NUMB_TCC_EE_PLU_EXT_MIN
= 73,
// outer TCC's in EE+
70
NUMB_TCC_EE_PLU_EXT_MAX
= 90
71
72
};
73
74
enum
headerFields
{
75
76
H_FEDID_B
= 8,
77
H_FEDID_MASK
= 0xFFF,
78
79
H_BX_B
= 20,
80
H_BX_MASK
= 0xFFF,
81
82
H_L1_B
= 32,
83
H_L1_MASK
= 0xFFFFFF,
84
85
H_TTYPE_B
= 56,
86
H_TTYPE_MASK
= 0xF,
87
88
H_EVLENGTH_MASK
= 0xFFFFFF,
89
90
H_ERRORS_B
= 24,
91
H_ERRORS_MASK
= 0xFF,
92
93
H_RNUMB_B
= 32,
94
H_RNUMB_MASK
= 0xFFFFFF,
95
96
H_RTYPE_MASK
= 0xFFFFFFFF,
// bits 0.. 31 of the 3rd DCC header word
97
98
H_DET_TTYPE_B
= 32,
99
H_DET_TTYPE_MASK
= 0xFFFF,
// for bits 32.. 47 of the 3rd DCC header word
100
101
H_FOV_B
= 48,
102
H_FOV_MASK
= 0xF,
103
104
H_ORBITCOUNTER_B
= 0,
105
H_ORBITCOUNTER_MASK
= 0xFFFFFFFF,
// bits 0.. 31 of the 4th DCC header word
106
107
H_SR_B
= 32,
108
H_ZS_B
= 33,
109
H_TZS_B
= 34,
110
H_MEM_B
= 35,
111
112
H_SRCHSTATUS_B
= 36,
113
H_CHSTATUS_MASK
= 0xF,
114
115
H_TCC1CHSTATUS_B
= 40,
116
H_TCC2CHSTATUS_B
= 44,
117
H_TCC3CHSTATUS_B
= 48,
118
H_TCC4CHSTATUS_B
= 52
119
120
};
121
122
/* 1st TTC Command */
123
/* Half : 1 bits: 7 1st Half (0), 2nd Half (1) */
124
/* TE 1 bit : 6 Test Enable Identifier */
125
/* Type 2 bits: 5-4 Laser (00), LED (01) Test pulse (10), Pedestal (11) */
126
/* Color 2 bits: 3-2 Blue (00), Red(01), Infrared (10), Green (11) */
127
128
/* 2nd TCC Command */
129
/* DCC #: 6 bits: 5-0. DCC 1 to 54. Zero means all DCC */
130
131
enum
detailedTriggerTypeFields
{
132
133
H_DCCID_B
= 0,
134
H_DCCID_MASK
= 0x3F,
135
136
H_WAVEL_B
= 6,
137
H_WAVEL_MASK
= 0x3,
138
139
H_TR_TYPE_B
= 8,
140
H_TR_TYPE_MASK
= 0x7,
141
142
H_HALF_B
= 11,
143
H_HALF_MASK
= 0x1
144
145
};
146
147
enum
towerFields
{
148
149
TOWER_ID_MASK
= 0x7F,
150
151
TOWER_NSAMP_MASK
= 0x7F,
152
TOWER_NSAMP_B
= 8,
153
154
TOWER_BX_MASK
= 0xFFF,
155
TOWER_BX_B
= 16,
156
157
TOWER_L1_MASK
= 0xFFF,
158
TOWER_L1_B
= 32,
159
160
TOWER_ADC_MASK
= 0xFFF,
161
TOWER_DIGI_MASK
= 0x3FFF,
162
163
TOWER_STRIPID_MASK
= 0x7,
164
165
TOWER_XTALID_MASK
= 0x7,
166
TOWER_XTALID_B
= 4,
167
168
TOWER_LENGTH_MASK
= 0x1FF,
169
TOWER_LENGTH_B
= 48
170
171
};
172
173
enum
tccFields
{
174
175
TCC_ID_MASK
= 0xFF,
176
177
TCC_PS_B
= 11,
178
179
TCC_BX_MASK
= 0xFFF,
180
TCC_BX_B
= 16,
181
182
TCC_L1_MASK
= 0xFFF,
183
TCC_L1_B
= 32,
184
185
TCC_TT_MASK
= 0x7F,
186
TCC_TT_B
= 48,
187
188
TCC_TS_MASK
= 0xF,
189
TCC_TS_B
= 55
190
191
};
192
193
enum
srpFields
{
194
195
SRP_NREAD
= 0,
196
SRP_FULLREADOUT
= 3,
197
198
SRP_ID_MASK
= 0xFF,
199
200
SRP_BX_MASK
= 0xFFF,
201
SRP_BX_B
= 16,
202
203
SRP_L1_MASK
= 0xFFF,
204
SRP_L1_B
= 32,
205
206
SRP_NFLAGS_MASK
= 0x7F,
207
SRP_NFLAGS_B
= 48,
208
209
SRP_SRFLAG_MASK
= 0x7,
210
SRP_SRVAL_MASK
= 0x3
211
212
};
213
214
enum
dccFOVs
{
215
// MC raw data based on CMS NOTE 2005/021
216
// (and raw data when FOV was unassigned, earlier than mid 2008)
217
dcc_FOV_0
= 0,
218
219
// real data since ever FOV was initialized; only 2 used >= June 09
220
dcc_FOV_1
= 1,
221
dcc_FOV_2
= 2
222
223
};
224
225
#endif
detailedTriggerTypeFields
detailedTriggerTypeFields
Definition:
DCCRawDataDefinitions.h:131
HEADERSIZE
Definition:
DCCRawDataDefinitions.h:12
NUMB_TCC
Definition:
DCCRawDataDefinitions.h:44
NUMB_PSEUDOSTRIPS
Definition:
DCCRawDataDefinitions.h:47
SECTOR_EEM_CCU_JUMP
Definition:
DCCRawDataDefinitions.h:62
dcc_FOV_0
Definition:
DCCRawDataDefinitions.h:217
H_L1_B
Definition:
DCCRawDataDefinitions.h:82
SRP_ID_MASK
Definition:
DCCRawDataDefinitions.h:198
TOWER_XTALID_MASK
Definition:
DCCRawDataDefinitions.h:165
H_FEDID_MASK
Definition:
DCCRawDataDefinitions.h:77
SKIP_BLOCK_UNPACKING
Definition:
DCCRawDataDefinitions.h:7
SRP_EB_NUMBFLAGS
Definition:
DCCRawDataDefinitions.h:33
NUMB_SM_EB_PLU_MIN
Definition:
DCCRawDataDefinitions.h:56
H_HALF_MASK
Definition:
DCCRawDataDefinitions.h:143
CH_L1AIFIFOFULL
Definition:
DCCRawDataDefinitions.h:28
TOWER_ID_MASK
Definition:
DCCRawDataDefinitions.h:149
SRP_SRFLAG_MASK
Definition:
DCCRawDataDefinitions.h:209
H_TZS_B
Definition:
DCCRawDataDefinitions.h:109
TOWER_XTALID_B
Definition:
DCCRawDataDefinitions.h:166
TCC_BX_B
Definition:
DCCRawDataDefinitions.h:180
CH_SUPPRESS
Definition:
DCCRawDataDefinitions.h:26
SRP_BX_MASK
Definition:
DCCRawDataDefinitions.h:200
H_FOV_MASK
Definition:
DCCRawDataDefinitions.h:102
MIN_CCUID_JUMP
Definition:
DCCRawDataDefinitions.h:64
SRP_NFLAGS_MASK
Definition:
DCCRawDataDefinitions.h:206
H_BX_MASK
Definition:
DCCRawDataDefinitions.h:80
SRP_BLOCKLENGTH
Definition:
DCCRawDataDefinitions.h:32
H_TR_TYPE_B
Definition:
DCCRawDataDefinitions.h:139
H_DCCID_B
Definition:
DCCRawDataDefinitions.h:133
NUMB_SM_EE_PLU_MAX
Definition:
DCCRawDataDefinitions.h:59
NUMB_SM_EB_MIN_MIN
Definition:
DCCRawDataDefinitions.h:54
dcc_FOV_1
Definition:
DCCRawDataDefinitions.h:220
ERROR_EMPTYEVENT
Definition:
DCCRawDataDefinitions.h:36
H_SR_B
Definition:
DCCRawDataDefinitions.h:107
TCC_TS_B
Definition:
DCCRawDataDefinitions.h:189
H_ERRORS_MASK
Definition:
DCCRawDataDefinitions.h:91
NUMB_TTS_TPG2_DUPL
Definition:
DCCRawDataDefinitions.h:48
H_FEDID_B
Definition:
DCCRawDataDefinitions.h:76
TCC_ID_MASK
Definition:
DCCRawDataDefinitions.h:175
headerFields
headerFields
Definition:
DCCRawDataDefinitions.h:74
H_RNUMB_B
Definition:
DCCRawDataDefinitions.h:93
H_EVLENGTH_MASK
Definition:
DCCRawDataDefinitions.h:88
NUMB_STRIP
Definition:
DCCRawDataDefinitions.h:46
TOWER_L1_MASK
Definition:
DCCRawDataDefinitions.h:157
H_ZS_B
Definition:
DCCRawDataDefinitions.h:108
H_WAVEL_B
Definition:
DCCRawDataDefinitions.h:136
TRAILER_SIZE
Definition:
DCCRawDataDefinitions.h:38
NUMB_TCC_EE_MIN_EXT_MAX
Definition:
DCCRawDataDefinitions.h:68
NUMB_FE
Definition:
DCCRawDataDefinitions.h:43
H_HALF_B
Definition:
DCCRawDataDefinitions.h:142
EMPTYEVENTSIZE
Definition:
DCCRawDataDefinitions.h:13
TOWERH_SIZE
Definition:
DCCRawDataDefinitions.h:37
H_TCC4CHSTATUS_B
Definition:
DCCRawDataDefinitions.h:118
TOWER_DIGI_MASK
Definition:
DCCRawDataDefinitions.h:161
globalFieds
globalFieds
Definition:
DCCRawDataDefinitions.h:4
CH_IFIFOFULL
Definition:
DCCRawDataDefinitions.h:27
PHYSICTRIGGER
Definition:
DCCRawDataDefinitions.h:15
H_RNUMB_MASK
Definition:
DCCRawDataDefinitions.h:94
NUMB_SM_EE_PLU_MIN
Definition:
DCCRawDataDefinitions.h:58
NUMB_TCC_EE_PLU_EXT_MAX
Definition:
DCCRawDataDefinitions.h:70
SRP_NREAD
Definition:
DCCRawDataDefinitions.h:195
H_MEM_B
Definition:
DCCRawDataDefinitions.h:110
HEADERLENGTH
Definition:
DCCRawDataDefinitions.h:11
TCCID_SMID_SHIFT_EB
Definition:
DCCRawDataDefinitions.h:40
NUMB_TCC_EE_MIN_EXT_MIN
Definition:
DCCRawDataDefinitions.h:67
H_BX_B
Definition:
DCCRawDataDefinitions.h:79
CH_FORCEDZS1
Definition:
DCCRawDataDefinitions.h:29
H_SRCHSTATUS_B
Definition:
DCCRawDataDefinitions.h:112
H_DCCID_MASK
Definition:
DCCRawDataDefinitions.h:134
H_TTYPE_B
Definition:
DCCRawDataDefinitions.h:85
TCC_L1_B
Definition:
DCCRawDataDefinitions.h:183
CH_TIMEOUT
Definition:
DCCRawDataDefinitions.h:22
NUMB_TTS_TPG2
Definition:
DCCRawDataDefinitions.h:50
CH_ENABLED
Definition:
DCCRawDataDefinitions.h:20
TCC_EB_NUMBTTS
Definition:
DCCRawDataDefinitions.h:39
TCC_TT_MASK
Definition:
DCCRawDataDefinitions.h:185
TOWER_NSAMP_MASK
Definition:
DCCRawDataDefinitions.h:151
TECHNICALTRIGGER
Definition:
DCCRawDataDefinitions.h:18
STOP_EVENT_UNPACKING
Definition:
DCCRawDataDefinitions.h:8
NUMB_TCC_EE_PLU_EXT_MIN
Definition:
DCCRawDataDefinitions.h:69
SRP_NFLAGS_B
Definition:
DCCRawDataDefinitions.h:207
B_MASK
Definition:
DCCRawDataDefinitions.h:10
NUMB_SM_EB_PLU_MAX
Definition:
DCCRawDataDefinitions.h:57
dccFOVs
dccFOVs
Definition:
DCCRawDataDefinitions.h:214
H_WAVEL_MASK
Definition:
DCCRawDataDefinitions.h:137
CALIBRATIONTRIGGER
Definition:
DCCRawDataDefinitions.h:16
H_DET_TTYPE_MASK
Definition:
DCCRawDataDefinitions.h:99
TOWER_BX_MASK
Definition:
DCCRawDataDefinitions.h:154
NUMB_SM_EB_MIN_MAX
Definition:
DCCRawDataDefinitions.h:55
NUMB_SM
Definition:
DCCRawDataDefinitions.h:42
NUMB_XTAL
Definition:
DCCRawDataDefinitions.h:45
CH_DISABLED
Definition:
DCCRawDataDefinitions.h:21
H_FOV_B
Definition:
DCCRawDataDefinitions.h:101
TCC_BX_MASK
Definition:
DCCRawDataDefinitions.h:179
SRP_FULLREADOUT
Definition:
DCCRawDataDefinitions.h:196
TCC_TS_MASK
Definition:
DCCRawDataDefinitions.h:188
SRP_NUMBFLAGS
Definition:
DCCRawDataDefinitions.h:31
H_TTYPE_MASK
Definition:
DCCRawDataDefinitions.h:86
H_TCC3CHSTATUS_B
Definition:
DCCRawDataDefinitions.h:117
TESTTRIGGER
Definition:
DCCRawDataDefinitions.h:17
NUMB_SM_EE_MIN_MIN
Definition:
DCCRawDataDefinitions.h:52
SRP_L1_MASK
Definition:
DCCRawDataDefinitions.h:203
tccFields
tccFields
Definition:
DCCRawDataDefinitions.h:173
H_RTYPE_MASK
Definition:
DCCRawDataDefinitions.h:96
H_TCC1CHSTATUS_B
Definition:
DCCRawDataDefinitions.h:115
TCC_PS_B
Definition:
DCCRawDataDefinitions.h:177
H_DET_TTYPE_B
Definition:
DCCRawDataDefinitions.h:98
NUMB_SM_EE_MIN_MAX
Definition:
DCCRawDataDefinitions.h:53
NUMB_TTS_TPG1
Definition:
DCCRawDataDefinitions.h:49
BOEVALUE
Definition:
DCCRawDataDefinitions.h:35
towerFields
towerFields
Definition:
DCCRawDataDefinitions.h:147
SRP_L1_B
Definition:
DCCRawDataDefinitions.h:204
MAX_CCUID_JUMP
Definition:
DCCRawDataDefinitions.h:65
H_TCC2CHSTATUS_B
Definition:
DCCRawDataDefinitions.h:116
H_ERRORS_B
Definition:
DCCRawDataDefinitions.h:90
H_CHSTATUS_MASK
Definition:
DCCRawDataDefinitions.h:113
SRP_SRVAL_MASK
Definition:
DCCRawDataDefinitions.h:210
H_L1_MASK
Definition:
DCCRawDataDefinitions.h:83
SRP_BX_B
Definition:
DCCRawDataDefinitions.h:201
TOWER_STRIPID_MASK
Definition:
DCCRawDataDefinitions.h:163
CH_HEADERERR
Definition:
DCCRawDataDefinitions.h:23
TOWER_BX_B
Definition:
DCCRawDataDefinitions.h:155
TOWER_LENGTH_MASK
Definition:
DCCRawDataDefinitions.h:168
H_ORBITCOUNTER_B
Definition:
DCCRawDataDefinitions.h:104
TOWER_ADC_MASK
Definition:
DCCRawDataDefinitions.h:160
H_TR_TYPE_MASK
Definition:
DCCRawDataDefinitions.h:140
srpFields
srpFields
Definition:
DCCRawDataDefinitions.h:193
TOWER_LENGTH_B
Definition:
DCCRawDataDefinitions.h:169
SECTOR_EEP_CCU_JUMP
Definition:
DCCRawDataDefinitions.h:63
H_ORBITCOUNTER_MASK
Definition:
DCCRawDataDefinitions.h:105
CH_LENGTHERR
Definition:
DCCRawDataDefinitions.h:25
TOWER_NSAMP_B
Definition:
DCCRawDataDefinitions.h:152
TCC_TT_B
Definition:
DCCRawDataDefinitions.h:186
BLOCK_UNPACKED
Definition:
DCCRawDataDefinitions.h:6
CH_LINKERR
Definition:
DCCRawDataDefinitions.h:24
TOWER_L1_B
Definition:
DCCRawDataDefinitions.h:158
dcc_FOV_2
Definition:
DCCRawDataDefinitions.h:221
TCC_L1_MASK
Definition:
DCCRawDataDefinitions.h:182
Generated for CMSSW Reference Manual by
1.8.16