CMS 3D CMS Logo

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