CMS 3D CMS Logo

HLTObjectMonitorProtonLead_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #setup names for multiple plots that use the same paths+modules
4 caloJet_pathName = "HLT_PAAK4CaloJet40_Eta5p1"
5 caloJet_moduleName = "hltSinglePAAK4CaloJet40Eta5p1"
6 
7 pfJet_pathName = "HLT_PAAK4PFJet40_Eta5p1"
8 pfJet_moduleName = "hltSinglePAAK4PFJet40Eta5p1"
9 
10 diCaloJet_pathName = "HLT_PADiAK4CaloJetAve40_Eta5p1"
11 diCaloJet_moduleName = "hltDiAk4CaloJetAve40Eta5p1"
12 
13 diPfJet_pathName = "HLT_PADiAK4PFJetAve40_Eta5p1"
14 diPfJet_moduleName = "hltDiAk4PFJetAve40Eta5p1"
15 
16 photon_pathName = "HLT_PASinglePhoton10_Eta3p1"
17 photon_moduleName = "hltHIPhoton10Eta3p1"
18 
19 photonPP_pathName = "HLT_PAPhoton10_Eta3p1_PPStyle"
20 photonPP_moduleName = "hltEGBptxAND10HEFilter"
21 
22 caloBJet_pathName = "HLT_PAAK4CaloBJetCSV40_Eta2p1"
23 caloBJet_moduleName = "hltPABLifetimeL3FilterCSVCaloJet40Eta2p1"
24 
25 pfBJet_pathName = "HLT_PAAK4PFBJetCSV40_Eta2p1"
26 pfBJet_moduleName = "hltBTagPFCSVp016SingleWithMatching40"
27 
28 electron_pathName = "HLT_PAEle20_WPLoose_Gsf"
29 electron_moduleName = "hltPAEle20WPLooseGsfTrackIsoFilter"
30 
31 l3muon3_pathName = "HLT_PAL3Mu3"
32 l3muon3_moduleName = "hltL3fL1sSingleMu3BptxANDL1f0L2f0L3Filtered3"
33 
34 l2muon12_pathName = "HLT_PAL2Mu12"
35 l2muon12_moduleName = "hltL2fL1sSingleMu7BptxANDL1f0L2Filtered12"
36 
37 l3muon12_pathName = "HLT_PAL3Mu12"
38 l3muon12_moduleName = "hltL3fL1sSingleMu7BptxANDL1f0L2f0L3Filtered12"
39 
40 #To avoid booking histogram, set pathName = cms.string("")
41 
42 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
43 hltObjectMonitorProtonLead = DQMEDAnalyzer('HLTObjectMonitorProtonLead',
44  processName = cms.string("HLT"),
45  triggerResults = cms.InputTag("TriggerResults", "", "HLT"),
46  triggerEvent = cms.InputTag("hltTriggerSummaryAOD", "", "HLT"),
47  caloAK4JetPt = cms.PSet(
48  pathName = cms.string(caloJet_pathName),
49  moduleName = cms.string(caloJet_moduleName),
50  plotLabel = cms.string("caloAK4Jet_pT"),
51  axisLabel = cms.string("caloAK4Jet p_{T} [GeV]"),
52  mainWorkspace = cms.bool(True),
53  NbinsX = cms.int32(60),
54  Xmin = cms.double(0),
55  Xmax = cms.double(120)
56  ),
57  caloAK4JetEta = cms.PSet(
58  pathName = cms.string(caloJet_pathName),
59  moduleName = cms.string(caloJet_moduleName),
60  plotLabel = cms.string("caloAK4Jet_eta"),
61  axisLabel = cms.string("caloAK4Jet eta"),
62  mainWorkspace = cms.bool(True),
63  NbinsX = cms.int32(75),
64  Xmin = cms.double(-5.2),
65  Xmax = cms.double(5.2)
66  ),
67  caloAK4JetPhi = cms.PSet(
68  pathName = cms.string(caloJet_pathName),
69  moduleName = cms.string(caloJet_moduleName),
70  plotLabel = cms.string("caloAK4Jet_phi"),
71  axisLabel = cms.string("caloAK4Jet phi"),
72  mainWorkspace = cms.bool(True),
73  NbinsX = cms.int32(50),
74  Xmin = cms.double(-3.2),
75  Xmax = cms.double(3.2)
76  ),
77  pfAK4JetPt = cms.PSet(
78  pathName = cms.string(pfJet_pathName),
79  moduleName = cms.string(pfJet_moduleName),
80  plotLabel = cms.string("pfAK4Jet_pT"),
81  axisLabel = cms.string("pfAK4Jet p_{T} [GeV]"),
82  mainWorkspace = cms.bool(True),
83  NbinsX = cms.int32(60),
84  Xmin = cms.double(0),
85  Xmax = cms.double(120)
86  ),
87  pfAK4JetEta = cms.PSet(
88  pathName = cms.string(pfJet_pathName),
89  moduleName = cms.string(pfJet_moduleName),
90  plotLabel = cms.string("pfAK4Jet_eta"),
91  axisLabel = cms.string("pfAK4Jet eta"),
92  mainWorkspace = cms.bool(True),
93  NbinsX = cms.int32(75),
94  Xmin = cms.double(-5.2),
95  Xmax = cms.double(5.2)
96  ),
97  pfAK4JetPhi = cms.PSet(
98  pathName = cms.string(pfJet_pathName),
99  moduleName = cms.string(pfJet_moduleName),
100  plotLabel = cms.string("pfAK4Jet_phi"),
101  axisLabel = cms.string("pfAK4Jet phi"),
102  mainWorkspace = cms.bool(True),
103  NbinsX = cms.int32(50),
104  Xmin = cms.double(-3.2),
105  Xmax = cms.double(3.2)
106  ),
107  caloDiAK4JetPt = cms.PSet(
108  pathName = cms.string(diCaloJet_pathName),
109  moduleName = cms.string(diCaloJet_moduleName),
110  plotLabel = cms.string("caloDiAK4Jet_pT"),
111  axisLabel = cms.string("caloDiAK4Jet p_{T} [GeV]"),
112  mainWorkspace = cms.bool(True),
113  NbinsX = cms.int32(60),
114  Xmin = cms.double(0),
115  Xmax = cms.double(120)
116  ),
117  caloDiAK4JetEta = cms.PSet(
118  pathName = cms.string(diCaloJet_pathName),
119  moduleName = cms.string(diCaloJet_moduleName),
120  plotLabel = cms.string("caloDiAK4Jet_eta"),
121  axisLabel = cms.string("caloDiAK4Jet eta"),
122  mainWorkspace = cms.bool(True),
123  NbinsX = cms.int32(75),
124  Xmin = cms.double(-5.2),
125  Xmax = cms.double(5.2)
126  ),
127  caloDiAK4JetPhi = cms.PSet(
128  pathName = cms.string(diCaloJet_pathName),
129  moduleName = cms.string(diCaloJet_moduleName),
130  plotLabel = cms.string("caloDiAK4Jet_phi"),
131  axisLabel = cms.string("caloDiAK4Jet phi"),
132  mainWorkspace = cms.bool(True),
133  NbinsX = cms.int32(50),
134  Xmin = cms.double(-3.2),
135  Xmax = cms.double(3.2)
136  ),
137  pfDiAK4JetPt = cms.PSet(
138  pathName = cms.string(diPfJet_pathName),
139  moduleName = cms.string(diPfJet_moduleName),
140  plotLabel = cms.string("pfDiAK4Jet_pT"),
141  axisLabel = cms.string("pfDiAK4Jet p_{T} [GeV]"),
142  mainWorkspace = cms.bool(True),
143  NbinsX = cms.int32(60),
144  Xmin = cms.double(0),
145  Xmax = cms.double(120)
146  ),
147  pfDiAK4JetEta = cms.PSet(
148  pathName = cms.string(diPfJet_pathName),
149  moduleName = cms.string(diPfJet_moduleName),
150  plotLabel = cms.string("pfDiAK4Jet_eta"),
151  axisLabel = cms.string("pfDiAK4Jet eta"),
152  mainWorkspace = cms.bool(True),
153  NbinsX = cms.int32(75),
154  Xmin = cms.double(-5.2),
155  Xmax = cms.double(5.2)
156  ),
157  pfDiAK4JetPhi = cms.PSet(
158  pathName = cms.string(diPfJet_pathName),
159  moduleName = cms.string(diPfJet_moduleName),
160  plotLabel = cms.string("pfDiAK4Jet_phi"),
161  axisLabel = cms.string("pfDiAK4Jet phi"),
162  mainWorkspace = cms.bool(True),
163  NbinsX = cms.int32(50),
164  Xmin = cms.double(-3.2),
165  Xmax = cms.double(3.2)
166  ),
167  photonPt = cms.PSet(
168  pathName = cms.string(photon_pathName),
169  moduleName = cms.string(photon_moduleName),
170  plotLabel = cms.string("Photon_pT"),
171  axisLabel = cms.string("photon p_{T} [GeV]"),
172  mainWorkspace = cms.bool(True),
173  NbinsX = cms.int32(40),
174  Xmin = cms.double(0),
175  Xmax = cms.double(80)
176  ),
177  photonEta = cms.PSet(
178  pathName = cms.string(photon_pathName),
179  moduleName = cms.string(photon_moduleName),
180  plotLabel = cms.string("Photon_eta"),
181  axisLabel = cms.string("photon eta"),
182  mainWorkspace = cms.bool(True),
183  NbinsX = cms.int32(50),
184  Xmin = cms.double(-3.2),
185  Xmax = cms.double(3.2)
186  ),
187  photonPhi = cms.PSet(
188  pathName = cms.string(photon_pathName),
189  moduleName = cms.string(photon_moduleName),
190  plotLabel = cms.string("Photon_phi"),
191  axisLabel = cms.string("photon phi"),
192  mainWorkspace = cms.bool(True),
193  NbinsX = cms.int32(50),
194  Xmin = cms.double(-3.2),
195  Xmax = cms.double(3.2)
196  ),
197  photonPPPt = cms.PSet(
198  pathName = cms.string(photonPP_pathName),
199  moduleName = cms.string(photonPP_moduleName),
200  plotLabel = cms.string("PhotonPP_pT"),
201  axisLabel = cms.string("photonPP p_{T} [GeV]"),
202  mainWorkspace = cms.bool(True),
203  NbinsX = cms.int32(40),
204  Xmin = cms.double(0),
205  Xmax = cms.double(80)
206  ),
207  photonPPEta = cms.PSet(
208  pathName = cms.string(photonPP_pathName),
209  moduleName = cms.string(photonPP_moduleName),
210  plotLabel = cms.string("PhotonPP_eta"),
211  axisLabel = cms.string("photonPP eta"),
212  mainWorkspace = cms.bool(True),
213  NbinsX = cms.int32(50),
214  Xmin = cms.double(-3.2),
215  Xmax = cms.double(3.2)
216  ),
217  photonPPPhi = cms.PSet(
218  pathName = cms.string(photonPP_pathName),
219  moduleName = cms.string(photonPP_moduleName),
220  plotLabel = cms.string("PhotonPP_phi"),
221  axisLabel = cms.string("photonPP phi"),
222  mainWorkspace = cms.bool(True),
223  NbinsX = cms.int32(50),
224  Xmin = cms.double(-3.2),
225  Xmax = cms.double(3.2)
226  ),
227 
228  caloBJetPt = cms.PSet(
229  pathName = cms.string(caloBJet_pathName),
230  moduleName = cms.string(caloBJet_moduleName),
231  plotLabel = cms.string("caloBJet_pT"),
232  axisLabel = cms.string("caloBJet p_{T} [GeV]"),
233  mainWorkspace = cms.bool(True),
234  NbinsX = cms.int32(60),
235  Xmin = cms.double(0),
236  Xmax = cms.double(120)
237  ),
238  caloBJetEta = cms.PSet(
239  pathName = cms.string(caloBJet_pathName),
240  moduleName = cms.string(caloBJet_moduleName),
241  plotLabel = cms.string("caloBJet_eta"),
242  axisLabel = cms.string("caloBJet eta"),
243  mainWorkspace = cms.bool(True),
244  NbinsX = cms.int32(40),
245  Xmin = cms.double(-2.2),
246  Xmax = cms.double(2.2)
247  ),
248  caloBJetPhi = cms.PSet(
249  pathName = cms.string(caloBJet_pathName),
250  moduleName = cms.string(caloBJet_moduleName),
251  plotLabel = cms.string("caloBJet_phi"),
252  axisLabel = cms.string("caloBJet phi"),
253  mainWorkspace = cms.bool(True),
254  NbinsX = cms.int32(50),
255  Xmin = cms.double(-3.2),
256  Xmax = cms.double(3.2)
257  ),
258  pfBJetPt = cms.PSet(
259  pathName = cms.string(pfBJet_pathName),
260  moduleName = cms.string(pfBJet_moduleName),
261  plotLabel = cms.string("pfBJet_pT"),
262  axisLabel = cms.string("pfBJet p_{T} [GeV]"),
263  mainWorkspace = cms.bool(True),
264  NbinsX = cms.int32(60),
265  Xmin = cms.double(0),
266  Xmax = cms.double(120)
267  ),
268  pfBJetEta = cms.PSet(
269  pathName = cms.string(pfBJet_pathName),
270  moduleName = cms.string(pfBJet_moduleName),
271  plotLabel = cms.string("pfBJet_eta"),
272  axisLabel = cms.string("pfBJet eta"),
273  mainWorkspace = cms.bool(True),
274  NbinsX = cms.int32(40),
275  Xmin = cms.double(-2.2),
276  Xmax = cms.double(2.2)
277  ),
278  pfBJetPhi = cms.PSet(
279  pathName = cms.string(pfBJet_pathName),
280  moduleName = cms.string(pfBJet_moduleName),
281  plotLabel = cms.string("pfBJet_phi"),
282  axisLabel = cms.string("pfBJet phi"),
283  mainWorkspace = cms.bool(True),
284  NbinsX = cms.int32(50),
285  Xmin = cms.double(-3.2),
286  Xmax = cms.double(3.2)
287  ),
288  electronPt = cms.PSet(
289  pathName = cms.string(electron_pathName),
290  moduleName = cms.string(electron_moduleName),
291  plotLabel = cms.string("Electron_pT"),
292  axisLabel = cms.string("electron p_{T} [GeV]"),
293  mainWorkspace = cms.bool(True),
294  NbinsX = cms.int32(40),
295  Xmin = cms.double(0),
296  Xmax = cms.double(80)
297  ),
298  electronEta = cms.PSet(
299  pathName = cms.string(electron_pathName),
300  moduleName = cms.string(electron_moduleName),
301  plotLabel = cms.string("Electron_eta"),
302  axisLabel = cms.string("electron eta"),
303  mainWorkspace = cms.bool(True),
304  NbinsX = cms.int32(50),
305  Xmin = cms.double(-2.6),
306  Xmax = cms.double(2.6)
307  ),
308  electronPhi = cms.PSet(
309  pathName = cms.string(electron_pathName),
310  moduleName = cms.string(electron_moduleName),
311  plotLabel = cms.string("Electron_phi"),
312  axisLabel = cms.string("electron phi"),
313  mainWorkspace = cms.bool(True),
314  NbinsX = cms.int32(50),
315  Xmin = cms.double(-3.4),
316  Xmax = cms.double(3.4)
317  ),
318  l3muon3Pt = cms.PSet(
319  pathName = cms.string(l3muon3_pathName),
320  moduleName = cms.string(l3muon3_moduleName),
321  plotLabel = cms.string("l3muon3_pT"),
322  axisLabel = cms.string("l3muon3 p_{T} [GeV]"),
323  mainWorkspace = cms.bool(True),
324  NbinsX = cms.int32(25),
325  Xmin = cms.double(0),
326  Xmax = cms.double(50)
327  ),
328  l3muon3Eta = cms.PSet(
329  pathName = cms.string(l3muon3_pathName),
330  moduleName = cms.string(l3muon3_moduleName),
331  plotLabel = cms.string("l3muon3_eta"),
332  axisLabel = cms.string("l3muon3 eta"),
333  mainWorkspace = cms.bool(True),
334  NbinsX = cms.int32(40),
335  Xmin = cms.double(-2.5),
336  Xmax = cms.double(2.5)
337  ),
338  l3muon3Phi = cms.PSet(
339  pathName = cms.string(l3muon3_pathName),
340  moduleName = cms.string(l3muon3_moduleName),
341  plotLabel = cms.string("l3muon3_phi"),
342  axisLabel = cms.string("l3muon3 phi"),
343  mainWorkspace = cms.bool(True),
344  NbinsX = cms.int32(50),
345  Xmin = cms.double(-3.2),
346  Xmax = cms.double(3.2)
347  ),
348  l2muon12Pt = cms.PSet(
349  pathName = cms.string(l2muon12_pathName),
350  moduleName = cms.string(l2muon12_moduleName),
351  plotLabel = cms.string("l2muon12_pT"),
352  axisLabel = cms.string("l2muon12 p_{T} [GeV]"),
353  mainWorkspace = cms.bool(True),
354  NbinsX = cms.int32(25),
355  Xmin = cms.double(0),
356  Xmax = cms.double(50)
357  ),
358  l2muon12Eta = cms.PSet(
359  pathName = cms.string(l2muon12_pathName),
360  moduleName = cms.string(l2muon12_moduleName),
361  plotLabel = cms.string("l2muon12_eta"),
362  axisLabel = cms.string("l2muon12 eta"),
363  mainWorkspace = cms.bool(True),
364  NbinsX = cms.int32(40),
365  Xmin = cms.double(-2.5),
366  Xmax = cms.double(2.5)
367  ),
368  l2muon12Phi = cms.PSet(
369  pathName = cms.string(l2muon12_pathName),
370  moduleName = cms.string(l2muon12_moduleName),
371  plotLabel = cms.string("l2muon12_phi"),
372  axisLabel = cms.string("l2muon12 phi"),
373  mainWorkspace = cms.bool(True),
374  NbinsX = cms.int32(50),
375  Xmin = cms.double(-3.2),
376  Xmax = cms.double(3.2)
377  ),
378  l3muon12Pt = cms.PSet(
379  pathName = cms.string(l3muon12_pathName),
380  moduleName = cms.string(l3muon12_moduleName),
381  plotLabel = cms.string("l3muon12_pT"),
382  axisLabel = cms.string("l3muon12 p_{T} [GeV]"),
383  mainWorkspace = cms.bool(True),
384  NbinsX = cms.int32(25),
385  Xmin = cms.double(0),
386  Xmax = cms.double(50)
387  ),
388  l3muon12Eta = cms.PSet(
389  pathName = cms.string(l3muon12_pathName),
390  moduleName = cms.string(l3muon12_moduleName),
391  plotLabel = cms.string("l3muon12_eta"),
392  axisLabel = cms.string("l3muon12 eta"),
393  mainWorkspace = cms.bool(True),
394  NbinsX = cms.int32(40),
395  Xmin = cms.double(-2.5),
396  Xmax = cms.double(2.5)
397  ),
398  l3muon12Phi = cms.PSet(
399  pathName = cms.string(l3muon12_pathName),
400  moduleName = cms.string(l3muon12_moduleName),
401  plotLabel = cms.string("l3muon12_phi"),
402  axisLabel = cms.string("l3muon12 phi"),
403  mainWorkspace = cms.bool(True),
404  NbinsX = cms.int32(50),
405  Xmin = cms.double(-3.2),
406  Xmax = cms.double(3.2)
407  ),
408  pAL1DoubleMuZMass = cms.PSet(
409  pathName = cms.string("HLT_PAL1DoubleMu10"),
410  moduleName = cms.string("hltL1fL1sDoubleMu10BptxANDL1Filtered0"),
411  plotLabel = cms.string("PAL1DoubleMu10_ZMass"),
412  axisLabel = cms.string("L1 dimuon mass [GeV]"),
413  mainWorkspace = cms.bool(True),
414  NbinsX = cms.int32(50),
415  Xmin = cms.double(60.0),
416  Xmax = cms.double(160.0)
417  ),
418  pAL2DoubleMuZMass = cms.PSet(
419  pathName = cms.string("HLT_PAL2DoubleMu10"),
420  moduleName = cms.string("hltL2fL1sDoubleMu10BptxANDL1f0L2Filtered10"),
421  plotLabel = cms.string("PAL2DoubleMu10_ZMass"),
422  axisLabel = cms.string("L2 dimuon mass [GeV]"),
423  mainWorkspace = cms.bool(True),
424  NbinsX = cms.int32(50),
425  Xmin = cms.double(60.0),
426  Xmax = cms.double(160.0)
427  ),
428  pAL3DoubleMuZMass = cms.PSet(
429  pathName = cms.string("HLT_PAL3DoubleMu10"),
430  moduleName = cms.string("hltL3fL1sDoubleMu10BptxANDL1f0L2f10L3Filtered10"),
431  plotLabel = cms.string("PAL3DoubleMu10_ZMass"),
432  axisLabel = cms.string("L3 dimuon mass [GeV]"),
433  mainWorkspace = cms.bool(True),
434  NbinsX = cms.int32(50),
435  Xmin = cms.double(60.0),
436  Xmax = cms.double(160.0)
437  ),
438  wallTime = cms.PSet(
439  pathName = cms.string("wall time per event"),
440  moduleName = cms.string(""),
441  plotLabel = cms.string("wallTime"),
442  axisLabel = cms.string("wall time per event [seconds]"),
443  mainWorkspace = cms.bool(True),
444  NbinsX = cms.int32(1000),
445  Xmin = cms.double(0),
446  Xmax = cms.double(0.005)
447  )
448 )
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1