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  BXSRP = cms.untracked.PSet(
53  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing SRP errors'),
54  kind = cms.untracked.string('TH1F'),
55  otype = cms.untracked.string('Ecal2P'),
56  btype = cms.untracked.string('DCC'),
57  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and SRP.')
58  ),
59  CRC = cms.untracked.PSet(
60  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT CRC errors'),
61  kind = cms.untracked.string('TH1F'),
62  otype = cms.untracked.string('Ecal2P'),
63  btype = cms.untracked.string('DCC'),
64  description = cms.untracked.string('Number of CRC errors.')
65  ),
66  BXFE = cms.untracked.PSet(
67  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE errors'),
68  kind = cms.untracked.string('TH2F'),
69  yaxis = cms.untracked.PSet(
70  high = cms.untracked.double(68.0),
71  nbins = cms.untracked.int32(68),
72  low = cms.untracked.double(0.0),
73  title = cms.untracked.string('iFE')
74  ),
75  otype = cms.untracked.string('Ecal2P'),
76  btype = cms.untracked.string('DCC'),
77  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
78  ),
79  BXFEDiff = cms.untracked.PSet(
80  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing FE-DCC'),
81  kind = cms.untracked.string('TH2F'),
82  yaxis = cms.untracked.PSet(
83  high = cms.untracked.double(100.),
84  nbins = cms.untracked.int32(200),
85  low = cms.untracked.double(-100.)
86  ),
87  otype = cms.untracked.string('Ecal2P'),
88  btype = cms.untracked.string('DCC'),
89  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
90  ),
91  BXFEInvalid = cms.untracked.PSet(
92  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing invalid value'),
93  kind = cms.untracked.string('TH2F'),
94  yaxis = cms.untracked.PSet(
95  high = cms.untracked.double(69.0),
96  nbins = cms.untracked.int32(69),
97  low = cms.untracked.double(0.0),
98  title = cms.untracked.string('iFE')
99  ),
100  otype = cms.untracked.string('Ecal2P'),
101  btype = cms.untracked.string('DCC'),
102  description = cms.untracked.string('Number of bunch crossing value mismatches between DCC and FE.')
103  ),
104  L1ASRP = cms.untracked.PSet(
105  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A SRP errors'),
106  kind = cms.untracked.string('TH1F'),
107  otype = cms.untracked.string('Ecal2P'),
108  btype = cms.untracked.string('DCC'),
109  description = cms.untracked.string('Number of L1A value mismatches between DCC and SRP.')
110  ),
111  BXTCC = cms.untracked.PSet(
112  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing TCC errors'),
113  kind = cms.untracked.string('TH1F'),
114  otype = cms.untracked.string('Ecal2P'),
115  btype = cms.untracked.string('DCC'),
116  description = cms.untracked.string('Number of bunch corssing value mismatches between DCC and TCC.')
117  ),
118  DesyncTotal = cms.untracked.PSet(
119  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT total FE synchronization errors'),
120  kind = cms.untracked.string('TH1F'),
121  otype = cms.untracked.string('Ecal2P'),
122  btype = cms.untracked.string('DCC'),
123  description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE.')
124  ),
125  RunNumber = cms.untracked.PSet(
126  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT run number errors'),
127  kind = cms.untracked.string('TH1F'),
128  otype = cms.untracked.string('Ecal2P'),
129  btype = cms.untracked.string('DCC'),
130  description = cms.untracked.string('Number of discrepancies between run numbers recorded in the DCC and that in CMS Event.')
131  ),
132  Orbit = cms.untracked.PSet(
133  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number 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 discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
138  ),
139  OrbitDiff = cms.untracked.PSet(
140  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT orbit number DCC-GT'),
141  kind = cms.untracked.string('TH2F'),
142  otype = cms.untracked.string('Ecal2P'),
143  yaxis = cms.untracked.PSet(
144  high = cms.untracked.double(100.),
145  nbins = cms.untracked.int32(200),
146  low = cms.untracked.double(-100.)
147  ),
148  btype = cms.untracked.string('DCC'),
149  description = cms.untracked.string('Number of discrepancies between LHC orbit numbers recorded in the DCC and that in CMS Event.')
150  ),
151  BXDCC = cms.untracked.PSet(
152  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC errors'),
153  kind = cms.untracked.string('TH1F'),
154  otype = cms.untracked.string('Ecal2P'),
155  btype = cms.untracked.string('DCC'),
156  description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
157  ),
158  BXDCCDiff = cms.untracked.PSet(
159  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT bunch crossing DCC-GT'),
160  kind = cms.untracked.string('TH2F'),
161  otype = cms.untracked.string('Ecal2P'),
162  yaxis = cms.untracked.PSet(
163  high = cms.untracked.double(100.),
164  nbins = cms.untracked.int32(200),
165  low = cms.untracked.double(-100.)
166  ),
167  btype = cms.untracked.string('DCC'),
168  description = cms.untracked.string('Number of discrepancies between bunch crossing numbers recorded in the DCC and that in CMS Event.')
169  ),
170  DesyncByLumi = cms.untracked.PSet(
171  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT FE synchronization errors by lumi'),
172  kind = cms.untracked.string('TH1F'),
173  otype = cms.untracked.string('Ecal2P'),
174  btype = cms.untracked.string('DCC'),
175  perLumi = cms.untracked.bool(True),
176  description = cms.untracked.string('Total number of synchronization errors (L1A & BX mismatches) between DCC and FE in this lumi section.')
177  ),
178  L1ATCC = cms.untracked.PSet(
179  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A TCC errors'),
180  kind = cms.untracked.string('TH1F'),
181  otype = cms.untracked.string('Ecal2P'),
182  btype = cms.untracked.string('DCC'),
183  description = cms.untracked.string('Number of L1A value mismatches between DCC and TCC.')
184  ),
185  FEByLumi = cms.untracked.PSet(
186  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT weighted frontend errors by lumi'),
187  kind = cms.untracked.string('TH1F'),
188  otype = cms.untracked.string('Ecal2P'),
189  btype = cms.untracked.string('DCC'),
190  perLumi = cms.untracked.bool(True),
191  description = cms.untracked.string('Total number of front-ends in error status in this lumi section.')
192  ),
193  TrendNSyncErrors = cms.untracked.PSet(
194  path = cms.untracked.string('Ecal/Trends/RawDataTask accumulated number of sync errors'),
195  kind = cms.untracked.string('TH1F'),
196  cumulative = cms.untracked.bool(True),
197  online = cms.untracked.bool(True),
198  otype = cms.untracked.string('Ecal'),
199  btype = cms.untracked.string('Trend'),
200  description = cms.untracked.string('Accumulated trend of the number of synchronization errors (L1A & BX mismatches) between DCC and FE in this run.')
201  ),
202  EventTypePostCalib = cms.untracked.PSet(
203  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type post calibration BX'),
204  kind = cms.untracked.string('TH1F'),
205  otype = cms.untracked.string('Ecal2P'),
206  xaxis = cms.untracked.PSet(
207  high = cms.untracked.double(24.5),
208  nbins = cms.untracked.int32(25),
209  low = cms.untracked.double(-0.5),
210  labels = cms.untracked.vstring(eventTypes)
211  ),
212  btype = cms.untracked.string('User'),
213  description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing > 3490.')
214  ),
215  L1ADCC = cms.untracked.PSet(
216  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A DCC errors'),
217  kind = cms.untracked.string('TH1F'),
218  otype = cms.untracked.string('Ecal2P'),
219  btype = cms.untracked.string('DCC'),
220  description = cms.untracked.string('Number of discrepancies between L1A recorded in the DCC and that in CMS Event.')
221  ),
222  EventTypePreCalib = cms.untracked.PSet(
223  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type pre calibration BX'),
224  kind = cms.untracked.string('TH1F'),
225  otype = cms.untracked.string('Ecal2P'),
226  xaxis = cms.untracked.PSet(
227  high = cms.untracked.double(24.5),
228  nbins = cms.untracked.int32(25),
229  low = cms.untracked.double(-0.5),
230  labels = cms.untracked.vstring(eventTypes)
231  ),
232  btype = cms.untracked.string('User'),
233  description = cms.untracked.string('Event type recorded in the DCC for events in bunch crossing < 3490')
234  ),
235  EventTypeCalib = cms.untracked.PSet(
236  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT event type calibration BX'),
237  kind = cms.untracked.string('TH1F'),
238  otype = cms.untracked.string('Ecal2P'),
239  xaxis = cms.untracked.PSet(
240  high = cms.untracked.double(24.5),
241  nbins = cms.untracked.int32(25),
242  low = cms.untracked.double(-0.5),
243  labels = cms.untracked.vstring(eventTypes)
244  ),
245  btype = cms.untracked.string('User'),
246  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.')
247  ),
248  L1AFE = cms.untracked.PSet(
249  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT L1A FE errors'),
250  kind = cms.untracked.string('TH2F'),
251  yaxis = cms.untracked.PSet(
252  high = cms.untracked.double(68.0),
253  nbins = cms.untracked.int32(68),
254  low = cms.untracked.double(0.0),
255  title = cms.untracked.string('iFE')
256  ),
257  otype = cms.untracked.string('Ecal2P'),
258  btype = cms.untracked.string('DCC'),
259  description = cms.untracked.string('Number of L1A value mismatches between DCC and FE.')
260  ),
261  TriggerType = cms.untracked.PSet(
262  path = cms.untracked.string('%(subdet)s/%(prefix)sRawDataTask/%(prefix)sRDT trigger type errors'),
263  kind = cms.untracked.string('TH1F'),
264  otype = cms.untracked.string('Ecal2P'),
265  btype = cms.untracked.string('DCC'),
266  description = cms.untracked.string('Number of discrepancies between trigger type recorded in the DCC and that in CMS Event.')
267  ),
268  FEStatus = cms.untracked.PSet(
269  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT front-end status bits %(sm)s'),
270  kind = cms.untracked.string('TH2F'),
271  yaxis = cms.untracked.PSet(
272  high = cms.untracked.double(15.5),
273  nbins = cms.untracked.int32(16),
274  low = cms.untracked.double(-0.5),
275  labels = cms.untracked.vstring(statuses)
276  ),
277  otype = cms.untracked.string('SM'),
278  btype = cms.untracked.string('SuperCrystal'),
279  description = cms.untracked.string('FE status counter.')
280  ),
281  FEStatusErrMapByLumi = cms.untracked.PSet(
282  path = cms.untracked.string('%(subdet)s/%(prefix)sStatusFlagsTask/FEStatus/%(prefix)sSFT%(suffix)s front-end status error map by lumi'),
283  kind = cms.untracked.string('TH2F'),
284  otype = cms.untracked.string('Ecal3P'),
285  btype = cms.untracked.string('SuperCrystal'),
286  perLumi = cms.untracked.bool(True),
287  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.')
288  ),
289  FEStatusMEM = cms.untracked.PSet(
290  path = cms.untracked.string('Ecal/MEM/StatusFlagsTask MEM front-end status bits'),
291  kind = cms.untracked.string('TH2F'),
292  xaxis = cms.untracked.PSet(
293  high = cms.untracked.double(55),
294  nbins = cms.untracked.int32(108),
295  low = cms.untracked.double(1),
296  ),
297  yaxis = cms.untracked.PSet(
298  high = cms.untracked.double(15.5),
299  nbins = cms.untracked.int32(16),
300  low = cms.untracked.double(-0.5),
301  labels = cms.untracked.vstring(statuses)
302  ),
303  otype = cms.untracked.string('Ecal'),
304  btype = cms.untracked.string('User'),
305  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>')
306  )
307  )
308 )