CMS 3D CMS Logo

RawDataTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 eventTypes = [
4  "UNKNOWN",
5  "COSMIC",
6  "BEAMH4",
7  "BEAMH2",
8  "MTCC",
9  "LASER_STD",
10  "LASER_POWER_SCAN",
11  "LASER_DELAY_SCAN",
12  "TESTPULSE_SCAN_MEM",
13  "TESTPULSE_MGPA",
14  "PEDESTAL_STD",
15  "PEDESTAL_OFFSET_SCAN",
16  "PEDESTAL_25NS_SCAN",
17  "LED_STD",
18  "PHYSICS_GLOBAL",
19  "COSMICS_GLOBAL",
20  "HALO_GLOBAL",
21  "LASER_GAP",
22  "TESTPULSE_GAP",
23  "PEDESTAL_GAP",
24  "LED_GAP",
25  "PHYSICS_LOCAL",
26  "COSMICS_LOCAL",
27  "HALO_LOCAL",
28  "CALIB_LOCAL"
29 ]
30 
31 statuses = [
32  "ENABLED",
33  "DISABLED",
34  "TIMEOUT",
35  "HEADERERROR",
36  "CHANNELID",
37  "LINKERROR",
38  "BLOCKSIZE",
39  "SUPPRESSED",
40  "FORCEDFULLSUPP",
41  "L1ADESYNC",
42  "BXDESYNC",
43  "L1ABXDESYNC",
44  "FIFOFULL",
45  "HPARITY",
46  "VPARITY",
47  "FORCEDZS"
48 ]
49 
50 ecalRawDataTask = cms.untracked.PSet(
51  MEs = cms.untracked.PSet(
52  TrendBXTCC = cms.untracked.PSet(
53  path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT bunch crossing TCC errors'),
54  kind = cms.untracked.string('TH1F'),
55  otype = cms.untracked.string('Ecal2P'),
56  btype = cms.untracked.string('Trend'),
57  description = cms.untracked.string('Trend of the number of bunch crossing value mismatches between DCC and TCC.')
58  ),
59  TrendL1ATCC = cms.untracked.PSet(
60  path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT L1A TCC errors'),
61  kind = cms.untracked.string('TH1F'),
62  otype = cms.untracked.string('Ecal2P'),
63  btype = cms.untracked.string('Trend'),
64  description = cms.untracked.string('Trend of the number of L1A value mismatches between DCC and TCC.')
65  ),
66  TrendBXSRP = cms.untracked.PSet(
67  path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT bunch crossing SRP errors'),
68  kind = cms.untracked.string('TH1F'),
69  otype = cms.untracked.string('Ecal2P'),
70  btype = cms.untracked.string('Trend'),
71  description = cms.untracked.string('Trend of the number of bunch crossing value mismatches between DCC and SRP.')
72  ),
73  TrendL1ASRP = cms.untracked.PSet(
74  path = cms.untracked.string('Ecal/Trends/RawDataTask number of %(prefix)sRDT L1A SRP errors'),
75  kind = cms.untracked.string('TH1F'),
76  otype = cms.untracked.string('Ecal2P'),
77  btype = cms.untracked.string('Trend'),
78  description = cms.untracked.string('Trend of the number of L1A value mismatches between DCC and SRP.')
79  ),
80  BXSRP = cms.untracked.PSet(
81  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing SRP errors'),
82  kind = cms.untracked.string('TH1F'),
83  otype = cms.untracked.string('Ecal2P'),
84  btype = cms.untracked.string('DCC'),
85  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and SRP.')
86  ),
87  CRC = cms.untracked.PSet(
88  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT CRC errors'),
89  kind = cms.untracked.string('TH1F'),
90  otype = cms.untracked.string('Ecal2P'),
91  btype = cms.untracked.string('DCC'),
92  description = cms.untracked.string('Number of CRC errors.')
93  ),
94  BXFE = cms.untracked.PSet(
95  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE errors'),
96  kind = cms.untracked.string('TH2F'),
97  yaxis = cms.untracked.PSet(
98  high = cms.untracked.double(68.0),
99  nbins = cms.untracked.int32(68),
100  low = cms.untracked.double(0.0),
101  title = cms.untracked.string('iFE')
102  ),
103  otype = cms.untracked.string('Ecal2P'),
104  btype = cms.untracked.string('DCC'),
105  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
106  ),
107  BXFEDiff = cms.untracked.PSet(
108  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE-DCC'),
109  kind = cms.untracked.string('TH2F'),
110  yaxis = cms.untracked.PSet(
111  high = cms.untracked.double(100.),
112  nbins = cms.untracked.int32(200),
113  low = cms.untracked.double(-100.)
114  ),
115  otype = cms.untracked.string('Ecal2P'),
116  btype = cms.untracked.string('DCC'),
117  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
118  ),
119  BXFEInvalid = cms.untracked.PSet(
120  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing invalid value'),
121  kind = cms.untracked.string('TH2F'),
122  yaxis = cms.untracked.PSet(
123  high = cms.untracked.double(69.0),
124  nbins = cms.untracked.int32(69),
125  low = cms.untracked.double(0.0),
126  title = cms.untracked.string('iFE')
127  ),
128  otype = cms.untracked.string('Ecal2P'),
129  btype = cms.untracked.string('DCC'),
130  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
131  ),
132  L1ASRP = cms.untracked.PSet(
133  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A SRP errors'),
134  kind = cms.untracked.string('TH1F'),
135  otype = cms.untracked.string('Ecal2P'),
136  btype = cms.untracked.string('DCC'),
137  description = cms.untracked.string('Number of L1A value mismatches between DCC and SRP.')
138  ),
139  BXTCC = cms.untracked.PSet(
140  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing TCC errors'),
141  kind = cms.untracked.string('TH1F'),
142  otype = cms.untracked.string('Ecal2P'),
143  btype = cms.untracked.string('DCC'),
144  description = cms.untracked.string('Number of bunch corssing value mismatches between DCC and TCC.')
145  ),
146  DesyncTotal = cms.untracked.PSet(
147  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT total FE synchronization errors'),
148  kind = cms.untracked.string('TH1F'),
149  otype = cms.untracked.string('Ecal2P'),
150  btype = cms.untracked.string('DCC'),
151  description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE.')
152  ),
153  RunNumber = cms.untracked.PSet(
154  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT run number errors'),
155  kind = cms.untracked.string('TH1F'),
156  otype = cms.untracked.string('Ecal2P'),
157  btype = cms.untracked.string('DCC'),
158  description = cms.untracked.string('Number of discrepancies between run numbers recorded in the DCC and that in CMS Event.')
159  ),
160  Orbit = cms.untracked.PSet(
161  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number errors'),
162  kind = cms.untracked.string('TH1F'),
163  otype = cms.untracked.string('Ecal2P'),
164  btype = cms.untracked.string('DCC'),
165  description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
166  ),
167  OrbitDiff = cms.untracked.PSet(
168  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number DCC-GT'),
169  kind = cms.untracked.string('TH2F'),
170  otype = cms.untracked.string('Ecal2P'),
171  yaxis = cms.untracked.PSet(
172  high = cms.untracked.double(100.),
173  nbins = cms.untracked.int32(200),
174  low = cms.untracked.double(-100.)
175  ),
176  btype = cms.untracked.string('DCC'),
177  description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
178  ),
179  BXDCC = cms.untracked.PSet(
180  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC errors'),
181  kind = cms.untracked.string('TH1F'),
182  otype = cms.untracked.string('Ecal2P'),
183  btype = cms.untracked.string('DCC'),
184  description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
185  ),
186  BXDCCDiff = cms.untracked.PSet(
187  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC-GT'),
188  kind = cms.untracked.string('TH2F'),
189  otype = cms.untracked.string('Ecal2P'),
190  yaxis = cms.untracked.PSet(
191  high = cms.untracked.double(100.),
192  nbins = cms.untracked.int32(200),
193  low = cms.untracked.double(-100.)
194  ),
195  btype = cms.untracked.string('DCC'),
196  description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
197  ),
198  DesyncByLumi = cms.untracked.PSet(
199  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT FE synchronization errors by lumi'),
200  kind = cms.untracked.string('TH1F'),
201  otype = cms.untracked.string('Ecal2P'),
202  btype = cms.untracked.string('DCC'),
203  perLumi = cms.untracked.bool(True),
204  description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE in this lumi section.')
205  ),
206  L1ATCC = cms.untracked.PSet(
207  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A TCC errors'),
208  kind = cms.untracked.string('TH1F'),
209  otype = cms.untracked.string('Ecal2P'),
210  btype = cms.untracked.string('DCC'),
211  description = cms.untracked.string('Number of L1A value mismatches between DCC and TCC.')
212  ),
213  FEByLumi = cms.untracked.PSet(
214  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT weighted frontend errors by lumi'),
215  kind = cms.untracked.string('TH1F'),
216  otype = cms.untracked.string('Ecal2P'),
217  btype = cms.untracked.string('DCC'),
218  perLumi = cms.untracked.bool(True),
219  description = cms.untracked.string('Total number of front-ends in error status in this lumi section.')
220  ),
221  TrendNSyncErrors = cms.untracked.PSet(
222  path = cms.untracked.string('Ecal/Trends/RawDataTask accumulated number of sync errors'),
223  kind = cms.untracked.string('TH1F'),
224  cumulative = cms.untracked.bool(True),
225  online = cms.untracked.bool(True),
226  otype = cms.untracked.string('Ecal'),
227  btype = cms.untracked.string('Trend'),
228  description = cms.untracked.string('Accumulated trend of the number of synchronization errors (L1A & BX mismatches) between DCC and FE in this run.')
229  ),
230  EventTypePostCalib = cms.untracked.PSet(
231  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type post calibration BX'),
232  kind = cms.untracked.string('TH1F'),
233  otype = cms.untracked.string('Ecal2P'),
234  xaxis = cms.untracked.PSet(
235  high = cms.untracked.double(24.5),
236  nbins = cms.untracked.int32(25),
237  low = cms.untracked.double(-0.5),
238  labels = cms.untracked.vstring(eventTypes)
239  ),
240  btype = cms.untracked.string('User'),
241  description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing > 3490.')
242  ),
243  L1ADCC = cms.untracked.PSet(
244  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A DCC errors'),
245  kind = cms.untracked.string('TH1F'),
246  otype = cms.untracked.string('Ecal2P'),
247  btype = cms.untracked.string('DCC'),
248  description = cms.untracked.string('Number of discrepancies between L1A recorded in the DCC and that in CMS Event.')
249  ),
250  EventTypePreCalib = cms.untracked.PSet(
251  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type pre calibration BX'),
252  kind = cms.untracked.string('TH1F'),
253  otype = cms.untracked.string('Ecal2P'),
254  xaxis = cms.untracked.PSet(
255  high = cms.untracked.double(24.5),
256  nbins = cms.untracked.int32(25),
257  low = cms.untracked.double(-0.5),
258  labels = cms.untracked.vstring(eventTypes)
259  ),
260  btype = cms.untracked.string('User'),
261  description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing < 3490')
262  ),
263  EventTypeCalib = cms.untracked.PSet(
264  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type calibration BX'),
265  kind = cms.untracked.string('TH1F'),
266  otype = cms.untracked.string('Ecal2P'),
267  xaxis = cms.untracked.PSet(
268  high = cms.untracked.double(24.5),
269  nbins = cms.untracked.int32(25),
270  low = cms.untracked.double(-0.5),
271  labels = cms.untracked.vstring(eventTypes)
272  ),
273  btype = cms.untracked.string('User'),
274  description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing == 3490. This plot is filled using data from the physics data stream during physics runs. It is normal to have very few entries in these cases.')
275  ),
276  L1AFE = cms.untracked.PSet(
277  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A FE errors'),
278  kind = cms.untracked.string('TH2F'),
279  yaxis = cms.untracked.PSet(
280  high = cms.untracked.double(68.0),
281  nbins = cms.untracked.int32(68),
282  low = cms.untracked.double(0.0),
283  title = cms.untracked.string('iFE')
284  ),
285  otype = cms.untracked.string('Ecal2P'),
286  btype = cms.untracked.string('DCC'),
287  description = cms.untracked.string('Number of L1A value mismatches between DCC and FE.')
288  ),
289  TriggerType = cms.untracked.PSet(
290  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT trigger type errors'),
291  kind = cms.untracked.string('TH1F'),
292  otype = cms.untracked.string('Ecal2P'),
293  btype = cms.untracked.string('DCC'),
294  description = cms.untracked.string('Number of discrepancies between trigger type recorded in the DCC and that in CMS Event.')
295  ),
296  FEStatus = cms.untracked.PSet(
297  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT front-end status bits %(sm)s'),
298  kind = cms.untracked.string('TH2F'),
299  yaxis = cms.untracked.PSet(
300  high = cms.untracked.double(15.5),
301  nbins = cms.untracked.int32(16),
302  low = cms.untracked.double(-0.5),
303  labels = cms.untracked.vstring(statuses)
304  ),
305  otype = cms.untracked.string('SM'),
306  btype = cms.untracked.string('SuperCrystal'),
307  description = cms.untracked.string('FE status counter.')
308  ),
309  FEStatusErrMapByLumi = cms.untracked.PSet(
310  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT%(suffix)s front-end status error map by lumi'),
311  kind = cms.untracked.string('TH2F'),
312  otype = cms.untracked.string('Ecal3P'),
313  btype = cms.untracked.string('SuperCrystal'),
314  perLumi = cms.untracked.bool(True),
315  description = cms.untracked.string('FE status error occupancy map for this lumisection. Nominal FE status flags such as ENABLED, SUPPRESSED, FORCEDFULLSUPP, FIFOFULL, and FORCEDZS are NOT included.')
316  ),
317  FEStatusMEM = cms.untracked.PSet(
318  path = cms.untracked.string('Ecal/MEM/StatusFlagsTask MEM front-end status bits'),
319  kind = cms.untracked.string('TH2F'),
320  xaxis = cms.untracked.PSet(
321  high = cms.untracked.double(55),
322  nbins = cms.untracked.int32(108),
323  low = cms.untracked.double(1),
324  ),
325  yaxis = cms.untracked.PSet(
326  high = cms.untracked.double(15.5),
327  nbins = cms.untracked.int32(16),
328  low = cms.untracked.double(-0.5),
329  labels = cms.untracked.vstring(statuses)
330  ),
331  otype = cms.untracked.string('Ecal'),
332  btype = cms.untracked.string('User'),
333  description = cms.untracked.string('Front-end (FE) status counter for MEM boxes. Each x-axis tick corresponds to one SuperModule (SM) as indexed by DCC Id and contains two bins corresponding to the MEM boxes (DCC tower Ids = 69, 70). Nominal status is SUPPRESSED. EE+/-2,3,7,8 are not connected to MEM boxes and instead appear with status DISABLED. Mapping from DCC Id to SM name appears below.<br/><pre>01:EE-07 19:EB-10 37:EB+10<br/>02:EE-08 20:EB-11 38:EB+11<br/>03:EE-09 21:EB-12 39:EB+12<br/>04:EE-01 22:EB-13 40:EB+13<br/>05:EE-02 23:EB-14 41:EB+14<br/>06:EE-03 24:EB-15 42:EB+15<br/>07:EE-04 25:EB-16 43:EB+16<br/>08:EE-05 26:EB-17 44:EB+17<br/>09:EE-06 27:EB-18 45:EB+18<br/>10:EB-01 28:EB+01 46:EE+07<br/>11:EB-02 29:EB+02 47:EE+08<br/>12:EB-03 30:EB+03 48:EE+09<br/>13:EB-04 31:EB+04 49:EE+01<br/>14:EB-05 32:EB+05 50:EE+02<br/>15:EB-06 33:EB+06 51:EE+03<br/>16:EB-07 34:EB+07 52:EE+04<br/>17:EB-08 35:EB+08 53:EE+05<br/>18:EB-09 36:EB+09 54:EE+06</pre>')
334  )
335  )
336 )