CMS 3D CMS Logo

L1TEventInfoClient_cfi.py
Go to the documentation of this file.
1 # L1 Trigger Event Info client cfi
2 #
3 # The cfi can be used, with appropriate settings, for both L1T and L1TEMU.
4 # Default version in cfi: L1T event client
5 #
6 # authors previous versions - see CVS
7 #
8 # V.M. Ghete 2010-10-22 revised version of L1T DQM and L1TEMU DQM
9 
10 
11 
12 import FWCore.ParameterSet.Config as cms
13 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
14 
15 l1tEventInfoClient = DQMEDHarvester("L1TEventInfoClient",
16  monitorDir = cms.untracked.string("L1T"),
17 
18  # decide when to run and update the results of the quality tests
19  # retrieval of quality test results must be consistent with the event / LS / Run execution
20  #
21  runInEventLoop=cms.untracked.bool(False),
22  runInEndLumi=cms.untracked.bool(True),
23  runInEndRun=cms.untracked.bool(True),
24  runInEndJob=cms.untracked.bool(False),
25 
26  #
27  # for each L1 system, give:
28  # - SystemLabel: system label
29  # - HwValLabel: system label as used in hardware validation package
30  # (the package producing the ErrorFlag histogram)
31  # - SystemDisable: system disabled: if 1, all quality tests for the system
32  # are disabled in the summary plot
33  # - for each quality test:
34  # - QualityTestName: name of quality test
35  # - QualityTestHist: histogram (full path)
36  # - QualityTestSummaryEnabled: 0 if disabled, 1 if enabled in summary plot
37  #
38  # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
39  # in the emulator column (left column)
40  L1Systems = cms.VPSet(
41  cms.PSet(
42  SystemLabel = cms.string("ECAL_TPG"),
43  HwValLabel = cms.string("ETP"),
44  SystemDisable = cms.uint32(0),
45  QualityTests = cms.VPSet(
46  cms.PSet(
47  QualityTestName = cms.string(""),
48  QualityTestHist = cms.string(""),
49  QualityTestSummaryEnabled = cms.uint32(0)
50  )
51  )
52  ),
53  cms.PSet(
54  SystemLabel = cms.string("HCAL_TPG"),
55  HwValLabel = cms.string("HTP"),
56  SystemDisable = cms.uint32(0),
57  QualityTests = cms.VPSet(
58  cms.PSet(
59  QualityTestName = cms.string(""),
60  QualityTestHist = cms.string(""),
61  QualityTestSummaryEnabled = cms.uint32(0)
62  )
63  )
64  ),
65  cms.PSet(
66  SystemLabel = cms.string("RCT"),
67  HwValLabel = cms.string("RCT"),
68  SystemDisable = cms.uint32(0),
69  QualityTests = cms.VPSet(
70  cms.PSet(
71  QualityTestName = cms.string("HotChannels_RCT_2D"),
72  QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmIsoEmEtEtaPhi"),
73  QualityTestSummaryEnabled = cms.uint32(1)
74  ),
75  cms.PSet(
76  QualityTestName = cms.string("DeadChannels_RCT_2D_loose"),
77  QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmIsoEmEtEtaPhi"),
78  QualityTestSummaryEnabled = cms.uint32(1)
79  ),
80  #
81  cms.PSet(
82  QualityTestName = cms.string("HotChannels_RCT_2D"),
83  QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmNonIsoEmEtEtaPhi"),
84  QualityTestSummaryEnabled = cms.uint32(1)
85  ),
86  cms.PSet(
87  QualityTestName = cms.string("DeadChannels_RCT_2D_loose"),
88  QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmNonIsoEmEtEtaPhi"),
89  QualityTestSummaryEnabled = cms.uint32(1)
90  ),
91  #
92  cms.PSet(
93  QualityTestName = cms.string("HotChannels_RCT_2D"),
94  QualityTestHist = cms.string("L1T/L1TRCT/Layer2RegionsEtEtaPhi"),
95  QualityTestSummaryEnabled = cms.uint32(1)
96  ),
97  cms.PSet(
98  QualityTestName = cms.string("DeadChannels_RCT_2D_tight"),
99  QualityTestHist = cms.string("L1T/L1TRCT/Layer2RegionsEtEtaPhi"),
100  QualityTestSummaryEnabled = cms.uint32(1)
101  ),
102  )
103  ),
104  cms.PSet(
105  SystemLabel = cms.string("Stage1Layer2"),
106  HwValLabel = cms.string("Stage1Layer2"),
107  SystemDisable = cms.uint32(0),
108  QualityTests = cms.VPSet(
109  cms.PSet(
110  QualityTestName = cms.string("HotChannels_GCT_2D"),
111  QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
112  QualityTestSummaryEnabled = cms.uint32(1)
113  ),
114  cms.PSet(
115  QualityTestName = cms.string("DeadChannels_GCT_2D_loose"),
116  QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
117  QualityTestSummaryEnabled = cms.uint32(1)
118  ),
119  #
120  cms.PSet(
121  QualityTestName = cms.string("HotChannels_GCT_2D"),
122  QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
123  QualityTestSummaryEnabled = cms.uint32(1)
124  ),
125  cms.PSet(
126  QualityTestName = cms.string("DeadChannels_GCT_2D_loose"),
127  QualityTestHist = cms.string("L1T/L1TStage1Layer2/NonIsoEmRankEtaPhi"),
128  QualityTestSummaryEnabled = cms.uint32(1)
129  ),
130  #
131  cms.PSet(
132  QualityTestName = cms.string("HotChannels_GCT_2D"),
133  QualityTestHist = cms.string("L1T/L1TStage1Layer2/AllJetsEtEtaPhi"),
134  QualityTestSummaryEnabled = cms.uint32(1)
135  ),
136  cms.PSet(
137  QualityTestName = cms.string("DeadChannels_GCT_2D_tight"),
138  QualityTestHist = cms.string("L1T/L1TStage1Layer2/AllJetsEtEtaPhi"),
139  QualityTestSummaryEnabled = cms.uint32(1)
140  ),
141  cms.PSet(
142  QualityTestName = cms.string("HotChannels_GCT_2D"),
143  QualityTestHist = cms.string("L1T/L1TStage1Layer2/TauJetsEtEtaPhi"),
144  QualityTestSummaryEnabled = cms.uint32(1)
145  ),
146  cms.PSet(
147  QualityTestName = cms.string("DeadChannels_GCT_2D_tight"),
148  QualityTestHist = cms.string("L1T/L1TStage1Layer2/TauJetsEtEtaPhi"),
149  QualityTestSummaryEnabled = cms.uint32(1)
150  )
151  )
152  ),
153  cms.PSet(
154  SystemLabel = cms.string("DT_TPG"),
155  HwValLabel = cms.string("DTP"),
156  SystemDisable = cms.uint32(0),
157  QualityTests = cms.VPSet(
158  cms.PSet(
159  QualityTestName = cms.string(""),
160  QualityTestHist = cms.string(""),
161  QualityTestSummaryEnabled = cms.uint32(0)
162  )
163  )
164  ),
165  # FIXME what are the histograms to be tested?
166  cms.PSet(
167  SystemLabel = cms.string("DTTF"),
168  HwValLabel = cms.string("DTF"),
169  SystemDisable = cms.uint32(0),
170  QualityTests = cms.VPSet(
171  cms.PSet(
172  QualityTestName = cms.string(""),
173  QualityTestHist = cms.string(""),
174  QualityTestSummaryEnabled = cms.uint32(0)
175  )
176  )
177  ),
178  cms.PSet(
179  SystemLabel = cms.string("CSC_TPG"),
180  HwValLabel = cms.string("CTP"),
181  SystemDisable = cms.uint32(0),
182  QualityTests = cms.VPSet(
183  cms.PSet(
184  QualityTestName = cms.string(""),
185  QualityTestHist = cms.string(""),
186  QualityTestSummaryEnabled = cms.uint32(0)
187  )
188  )
189  ),
190  cms.PSet(
191  SystemLabel = cms.string("CSCTF"),
192  HwValLabel = cms.string("CTF"),
193  SystemDisable = cms.uint32(0),
194  QualityTests = cms.VPSet(
195  cms.PSet(
196  QualityTestName = cms.string("DeadChannels_CSCTF_2D"),
197  QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_Chamber_Occupancies"),
198  QualityTestSummaryEnabled = cms.uint32(1)
199  ),
200  cms.PSet(
201  QualityTestName = cms.string("HotChannels_CSCTF_2D"),
202  QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_Chamber_Occupancies"),
203  QualityTestSummaryEnabled = cms.uint32(1)
204  ),
205  cms.PSet(
206  QualityTestName = cms.string("DeadChannels_CSCTF_2D"),
207  QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_occupancies"),
208  QualityTestSummaryEnabled = cms.uint32(1)
209  ),
210  cms.PSet(
211  QualityTestName = cms.string("HotChannels_CSCTF_2D"),
212  QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_occupancies"),
213  QualityTestSummaryEnabled = cms.uint32(1)
214  )
215  )
216  ),
217  cms.PSet(
218  SystemLabel = cms.string("RPC"),
219  HwValLabel = cms.string("RPC"),
220  SystemDisable = cms.uint32(0),
221  QualityTests = cms.VPSet(
222  cms.PSet(
223  QualityTestName = cms.string("DeadChannels_RPCTF_2D"),
224  QualityTestHist = cms.string("L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0"),
225  QualityTestSummaryEnabled = cms.uint32(1)
226  ),
227  cms.PSet(
228  QualityTestName = cms.string("HotChannels_RPCTF_2D"),
229  QualityTestHist = cms.string("L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0"),
230  QualityTestSummaryEnabled = cms.uint32(1)
231  )
232  )
233  ),
234  cms.PSet(
235  SystemLabel = cms.string("GMT"),
236  HwValLabel = cms.string("GMT"),
237  SystemDisable = cms.uint32(0),
238  QualityTests = cms.VPSet(
239  cms.PSet(
240  QualityTestName = cms.string("DeadChannels_GMT_2D"),
241  QualityTestHist = cms.string("L1T/L1TGMT/GMT_etaphi"),
242  QualityTestSummaryEnabled = cms.uint32(1)
243  ),
244  cms.PSet(
245  QualityTestName = cms.string("HotChannels_GMT_2D"),
246  QualityTestHist = cms.string("L1T/L1TGMT/GMT_etaphi"),
247  QualityTestSummaryEnabled = cms.uint32(1)
248  ),
249  cms.PSet(
250  QualityTestName = cms.string("CompareHist_GMT"),
251  QualityTestHist = cms.string("L1T/L1TGMT/Regional_trigger"),
252  QualityTestSummaryEnabled = cms.uint32(1)
253  )
254  )
255  ),
256  cms.PSet(
257  SystemLabel = cms.string("GT"),
258  HwValLabel = cms.string("GT"),
259  SystemDisable = cms.uint32(0),
260  QualityTests = cms.VPSet(
261  cms.PSet(
262  QualityTestName = cms.string(""),
263  QualityTestHist = cms.string(""),
264  QualityTestSummaryEnabled = cms.uint32(0)
265  )
266  )
267  )
268  ),
269 
270  #
271  # for each L1 trigger object, give:
272  # - ObjectLabel: object label as used in enum L1GtObject
273  # - ObjectDisable: emulator mask: if 1, the system is masked in the summary plot
274  #
275  # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
276  # in the trigger object column (right column)
277  L1Objects = cms.VPSet(
278  cms.PSet(
279  ObjectLabel = cms.string("TechTrig"),
280  ObjectDisable = cms.uint32(0),
281  QualityTests = cms.VPSet(
282  cms.PSet(
283  QualityTestName = cms.string(""),
284  QualityTestHist = cms.string(""),
285  QualityTestSummaryEnabled = cms.uint32(0)
286  )
287  )
288  ),
289  cms.PSet(
290  ObjectLabel = cms.string("GtExternal"),
291  ObjectDisable = cms.uint32(0),
292  QualityTests = cms.VPSet(
293  cms.PSet(
294  QualityTestName = cms.string(""),
295  QualityTestHist = cms.string(""),
296  QualityTestSummaryEnabled = cms.uint32(0)
297  )
298  )
299  ),
300  cms.PSet(
301  ObjectLabel = cms.string("HfRingEtSums"),
302  ObjectDisable = cms.uint32(0),
303  QualityTests = cms.VPSet(
304  cms.PSet(
305  QualityTestName = cms.string(""),
306  QualityTestHist = cms.string(""),
307  QualityTestSummaryEnabled = cms.uint32(0)
308  )
309  )
310  ),
311  cms.PSet(
312  ObjectLabel = cms.string("HfBitCounts"),
313  ObjectDisable = cms.uint32(0),
314  QualityTests = cms.VPSet(
315  cms.PSet(
316  QualityTestName = cms.string(""),
317  QualityTestHist = cms.string(""),
318  QualityTestSummaryEnabled = cms.uint32(0)
319  )
320  )
321  ),
322  cms.PSet(
323  ObjectLabel = cms.string("HTM"),
324  ObjectDisable = cms.uint32(0),
325  QualityTests = cms.VPSet(
326  cms.PSet(
327  QualityTestName = cms.string(""),
328  QualityTestHist = cms.string(""),
329  QualityTestSummaryEnabled = cms.uint32(0)
330  )
331  )
332  ),
333  cms.PSet(
334  ObjectLabel = cms.string("HTT"),
335  ObjectDisable = cms.uint32(0),
336  QualityTests = cms.VPSet(
337  cms.PSet(
338  QualityTestName = cms.string(""),
339  QualityTestHist = cms.string(""),
340  QualityTestSummaryEnabled = cms.uint32(0)
341  )
342  )
343  ),
344  cms.PSet(
345  ObjectLabel = cms.string("ETM"),
346  ObjectDisable = cms.uint32(0),
347  QualityTests = cms.VPSet(
348  cms.PSet(
349  QualityTestName = cms.string(""),
350  QualityTestHist = cms.string(""),
351  QualityTestSummaryEnabled = cms.uint32(0)
352  )
353  )
354  ),
355  cms.PSet(
356  ObjectLabel = cms.string("ETT"),
357  ObjectDisable = cms.uint32(0),
358  QualityTests = cms.VPSet(
359  cms.PSet(
360  QualityTestName = cms.string(""),
361  QualityTestHist = cms.string(""),
362  QualityTestSummaryEnabled = cms.uint32(0)
363  )
364  )
365  ),
366  cms.PSet(
367  ObjectLabel = cms.string("Tau"),
368  ObjectDisable = cms.uint32(0),
369  QualityTests = cms.VPSet(
370  cms.PSet(
371  QualityTestName = cms.string(""),
372  QualityTestHist = cms.string(""),
373  QualityTestSummaryEnabled = cms.uint32(0)
374  )
375  )
376  ),
377  cms.PSet(
378  ObjectLabel = cms.string("ForJet"),
379  ObjectDisable = cms.uint32(0),
380  QualityTests = cms.VPSet(
381  cms.PSet(
382  QualityTestName = cms.string(""),
383  QualityTestHist = cms.string(""),
384  QualityTestSummaryEnabled = cms.uint32(0)
385  )
386  )
387  ),
388  cms.PSet(
389  ObjectLabel = cms.string("CenJet"),
390  ObjectDisable = cms.uint32(0),
391  QualityTests = cms.VPSet(
392  cms.PSet(
393  QualityTestName = cms.string(""),
394  QualityTestHist = cms.string(""),
395  QualityTestSummaryEnabled = cms.uint32(0)
396  )
397  )
398  ),
399  cms.PSet(
400  ObjectLabel = cms.string("IsoEG"),
401  ObjectDisable = cms.uint32(0),
402  QualityTests = cms.VPSet(
403  cms.PSet(
404  QualityTestName = cms.string(""),
405  QualityTestHist = cms.string(""),
406  QualityTestSummaryEnabled = cms.uint32(0)
407  )
408  )
409  ),
410  cms.PSet(
411  ObjectLabel = cms.string("NoIsoEG"),
412  ObjectDisable = cms.uint32(0),
413  QualityTests = cms.VPSet(
414  cms.PSet(
415  QualityTestName = cms.string(""),
416  QualityTestHist = cms.string(""),
417  QualityTestSummaryEnabled = cms.uint32(0)
418  )
419  )
420  ),
421  cms.PSet(
422  ObjectLabel = cms.string("Mu"),
423  ObjectDisable = cms.uint32(0),
424  QualityTests = cms.VPSet(
425  cms.PSet(
426  QualityTestName = cms.string(""),
427  QualityTestHist = cms.string(""),
428  QualityTestSummaryEnabled = cms.uint32(0)
429  )
430  )
431  )
432  ),
433  #
434  # fast over-mask a system: if the name of the system is in the list, the system will be masked
435  # (the default mask value is given in L1Systems VPSet)
436  #
437  DisableL1Systems = cms.vstring(),
438  #
439  # fast over-mask an object: if the name of the object is in the list, the object will be masked
440  # (the default mask value is given in L1Objects VPSet)
441  #
442  DisableL1Objects = cms.vstring()
443 
444 )