CMS 3D CMS Logo

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