CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  "FIFOFULL",
41  "L1ADESYNC",
42  "BXDESYNC",
43  "L1ABXDESYNC",
44  "FIFOFULLL1ADESYNC",
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, FIFOFILL, FIFOFULLL1ADESYNC, and FORCEDZS are NOT included.')
288  )
289  )
290 )
291 
292