test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTObjectMonitor_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 photon_pathName = "HLT_Photon30_R9Id90_HE10_IsoM"
5 photon_moduleName ="hltEG30R9Id90HE10IsoMTrackIsoFilter"
6 
7 muon_pathName = "HLT_IsoMu27"
8 muon_moduleName = "hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p09"
9 
10 l2muon_pathName = "HLT_L2Mu10"
11 l2muon_moduleName = "hltL2fL1sMu22L1f0L2Filtered10Q"
12 
13 l2NoBPTXmuon_pathName = "HLT_L2Mu10_NoVertex_NoBPTX3BX"
14 l2NoBPTXmuon_moduleName = "hltL2fL1sMuOpenNotBptxORNoHaloMu3BXL1f0NoVtxCosmicSeedMeanTimerL2Filtered10"
15 
16 electron_pathName = "HLT_Ele23_WPLoose_Gsf"
17 electron_moduleName = "hltEle23WPLooseGsfTrackIsoFilter"
18 
19 caloMet_pathName = "HLT_MET60_IsoTrk35_Loose"
20 caloMet_moduleName = "hltMET60"
21 
22 pfMet_pathName = "HLT_PFMET120_PFMHT120_IDTight"
23 pfMet_moduleName = "hltPFMET120"
24 
25 jetAk8_pathName = "HLT_AK8PFJet360_TrimMass30"
26 jetAk8_moduleName = "hltAK8SinglePFJet360TrimModMass30"
27 
28 rsq_mr_pathName = "HLT_RsqMR240_Rsq0p09_MR200"
29 rsq_mr_moduleName = "hltRsqMR240Rsq0p09MR200"
30 
31 bJet_pathNameCalo = "HLT_PFMET120_BTagCSV_p067"
32 bJet_moduleNameCalo = "hltBTagCaloCSVp067Single"
33 
34 bJet_pathNamePF = "HLT_QuadPFJet_BTagCSV_p016_VBF_Mqq500"
35 bJet_moduleNamePF = "hltBTagPFCSVp016SingleWithMatching"
36 
37 #To avoid booking histogram, set pathName = cms.string("")
38 
39 hltObjectMonitor = cms.EDAnalyzer('HLTObjectMonitor',
40  processName = cms.string("HLT"),
41  alphaT = cms.PSet(
42  pathName = cms.string("HLT_PFHT200_DiPFJetAve90_PFAlphaT0p63"),
43  moduleName = cms.string("hltPFHT200PFAlphaT0p63"),
44  axisLabel = cms.string("Alpha_{T}"),
45  plotLabel = cms.string("alphaT"),
46  mainWorkspace = cms.bool(True),
47  NbinsX = cms.int32(30),
48  Xmin = cms.double(0),
49  Xmax = cms.double(5)
50  ),
51  photonPt = cms.PSet(
52  pathName = cms.string(photon_pathName),
53  moduleName = cms.string(photon_moduleName),
54  plotLabel = cms.string("Photon_pT"),
55  axisLabel = cms.string("photon p_{T} [GeV]"),
56  mainWorkspace = cms.bool(True),
57  NbinsX = cms.int32(100),
58  Xmin = cms.double(0),
59  Xmax = cms.double(200)
60  ),
61  photonEta = cms.PSet(
62  pathName = cms.string(photon_pathName),
63  moduleName = cms.string(photon_moduleName),
64  plotLabel = cms.string("Photon_eta"),
65  axisLabel = cms.string("photon eta"),
66  mainWorkspace = cms.bool(False),
67  NbinsX = cms.int32(50),
68  Xmin = cms.double(-3),
69  Xmax = cms.double(3)
70  ),
71  photonPhi = cms.PSet(
72  pathName = cms.string(photon_pathName),
73  moduleName = cms.string(photon_moduleName),
74  plotLabel = cms.string("Photon_phi"),
75  axisLabel = cms.string("photon phi"),
76  mainWorkspace = cms.bool(False),
77  NbinsX = cms.int32(50),
78  Xmin = cms.double(-3.4),
79  Xmax = cms.double(3.4)
80  ),
81  muonPt = cms.PSet(
82  pathName = cms.string(muon_pathName),
83  moduleName = cms.string(muon_moduleName),
84  plotLabel = cms.string("Muon_pT"),
85  axisLabel = cms.string("muon p_{T} [GeV]"),
86  mainWorkspace = cms.bool(True),
87  NbinsX = cms.int32(75),
88  Xmin = cms.double(0),
89  Xmax = cms.double(150)
90  ),
91  muonEta = cms.PSet(
92  pathName = cms.string(muon_pathName),
93  moduleName = cms.string(muon_moduleName),
94  plotLabel = cms.string("Muon_eta"),
95  axisLabel = cms.string("muon eta"),
96  mainWorkspace = cms.bool(False),
97  NbinsX = cms.int32(50),
98  Xmin = cms.double(-3),
99  Xmax = cms.double(3)
100  ),
101  muonPhi = cms.PSet(
102  pathName = cms.string(muon_pathName),
103  moduleName = cms.string(muon_moduleName),
104  plotLabel = cms.string("Muon_phi"),
105  axisLabel = cms.string("muon phi"),
106  mainWorkspace = cms.bool(False),
107  NbinsX = cms.int32(50),
108  Xmin = cms.double(-3.4),
109  Xmax = cms.double(3.4)
110  ),
111  l2muonPt = cms.PSet(
112  pathName = cms.string(l2muon_pathName),
113  moduleName = cms.string(l2muon_moduleName),
114  plotLabel = cms.string("L2Muon_pT"),
115  axisLabel = cms.string("L2 muon p_{T} [GeV]"),
116  mainWorkspace = cms.bool(True),
117  NbinsX = cms.int32(75),
118  Xmin = cms.double(0),
119  Xmax = cms.double(150)
120  ),
121  l2muonEta = cms.PSet(
122  pathName = cms.string(l2muon_pathName),
123  moduleName = cms.string(l2muon_moduleName),
124  plotLabel = cms.string("L2Muon_eta"),
125  axisLabel = cms.string("L2 muon eta"),
126  mainWorkspace = cms.bool(False),
127  NbinsX = cms.int32(50),
128  Xmin = cms.double(-3),
129  Xmax = cms.double(3)
130  ),
131  l2muonPhi = cms.PSet(
132  pathName = cms.string(l2muon_pathName),
133  moduleName = cms.string(l2muon_moduleName),
134  plotLabel = cms.string("L2Muon_phi"),
135  axisLabel = cms.string("L2 muon phi"),
136  mainWorkspace = cms.bool(False),
137  NbinsX = cms.int32(50),
138  Xmin = cms.double(-3.4),
139  Xmax = cms.double(3.4)
140  ),
141  l2NoBPTXmuonPt = cms.PSet(
142  pathName = cms.string(l2NoBPTXmuon_pathName),
143  moduleName = cms.string(l2NoBPTXmuon_moduleName),
144  plotLabel = cms.string("L2NoBPTXMuon_pT"),
145  axisLabel = cms.string("L2 No BPTX muon p_{T} [GeV]"),
146  mainWorkspace = cms.bool(True),
147  NbinsX = cms.int32(75),
148  Xmin = cms.double(0),
149  Xmax = cms.double(150)
150  ),
151  l2NoBPTXmuonEta = cms.PSet(
152  pathName = cms.string(l2NoBPTXmuon_pathName),
153  moduleName = cms.string(l2NoBPTXmuon_moduleName),
154  plotLabel = cms.string("L2NoBPTXMuon_eta"),
155  axisLabel = cms.string("L2 NoBPTX muon eta"),
156  mainWorkspace = cms.bool(False),
157  NbinsX = cms.int32(50),
158  Xmin = cms.double(-3),
159  Xmax = cms.double(3)
160  ),
161  l2NoBPTXmuonPhi = cms.PSet(
162  pathName = cms.string(l2NoBPTXmuon_pathName),
163  moduleName = cms.string(l2NoBPTXmuon_moduleName),
164  plotLabel = cms.string("L2NoBPTXMuon_phi"),
165  axisLabel = cms.string("L2 NoBPTX muon phi"),
166  mainWorkspace = cms.bool(False),
167  NbinsX = cms.int32(50),
168  Xmin = cms.double(-3.4),
169  Xmax = cms.double(3.4)
170  ),
171  electronPt = cms.PSet(
172  pathName = cms.string(electron_pathName),
173  moduleName = cms.string(electron_moduleName),
174  plotLabel = cms.string("Electron_pT"),
175  axisLabel = cms.string("electron p_{T} [GeV]"),
176  mainWorkspace = cms.bool(True),
177  NbinsX = cms.int32(75),
178  Xmin = cms.double(0),
179  Xmax = cms.double(150)
180  ),
181  electronEta = cms.PSet(
182  pathName = cms.string(electron_pathName),
183  moduleName = cms.string(electron_moduleName),
184  plotLabel = cms.string("Electron_eta"),
185  axisLabel = cms.string("electron eta"),
186  mainWorkspace = cms.bool(False),
187  NbinsX = cms.int32(50),
188  Xmin = cms.double(-3),
189  Xmax = cms.double(3)
190  ),
191  electronPhi = cms.PSet(
192  pathName = cms.string(electron_pathName),
193  moduleName = cms.string(electron_moduleName),
194  plotLabel = cms.string("Electron_phi"),
195  axisLabel = cms.string("electron phi"),
196  mainWorkspace = cms.bool(False),
197  NbinsX = cms.int32(50),
198  Xmin = cms.double(-3.4),
199  Xmax = cms.double(3.4)
200  ),
201  jetPt = cms.PSet(
202  pathName = cms.string("HLT_PFJet200"),
203  moduleName = cms.string("hltSinglePFJet200"),
204  plotLabel = cms.string("Jet_pT"),
205  axisLabel = cms.string("jet p_{T} [GeV]"),
206  mainWorkspace = cms.bool(True),
207  NbinsX = cms.int32(75),
208  Xmin = cms.double(150),
209  Xmax = cms.double(550)
210  ),
211  jetAK8Pt = cms.PSet(
212  pathName = cms.string(jetAk8_pathName),
213  moduleName = cms.string(jetAk8_moduleName),
214  axisLabel = cms.string("AK8 jet p_{T} [GeV]"),
215  plotLabel = cms.string("JetAK8_Pt"),
216  mainWorkspace = cms.bool(True),
217  NbinsX = cms.int32(75),
218  Xmin = cms.double(300),
219  Xmax = cms.double(750)
220  ),
221  jetAK8Mass = cms.PSet(
222  pathName = cms.string(jetAk8_pathName),
223  moduleName = cms.string(jetAk8_moduleName),
224  plotLabel = cms.string("JetAK8_mass"),
225  axisLabel = cms.string("AK8 jet mass [GeV]"),
226  mainWorkspace = cms.bool(True),
227  NbinsX = cms.int32(100),
228  Xmin = cms.double(0),
229  Xmax = cms.double(200)
230  ),
231  tauPt = cms.PSet(
232  pathName = cms.string("HLT_DoubleMediumIsoPFTau40_Trk1_eta2p1_Reg"),
233  moduleName = cms.string("hltDoublePFTau40TrackPt1MediumIsolationDz02Reg"),
234  axisLabel = cms.string("tau p_{T} [GeV]"),
235  plotLabel = cms.string("Tau_pT"),
236  mainWorkspace = cms.bool(True),
237  NbinsX = cms.int32(75),
238  Xmin = cms.double(30),
239  Xmax = cms.double(350)
240  ),
241  diMuonLowMass = cms.PSet(
242  pathName = cms.string("HLT_DoubleMu4_3_Jpsi_Displaced"),
243  moduleName = cms.string("hltDisplacedmumuFilterDoubleMu43Jpsi"),
244  plotLabel = cms.string("Dimuon_LowMass"),
245  axisLabel = cms.string("di-muon low mass [GeV]"),
246  mainWorkspace = cms.bool(True),
247  NbinsX = cms.int32(100),
248  Xmin = cms.double(2.5),
249  Xmax = cms.double(3.5)
250  ),
251  caloMetPt = cms.PSet(
252  pathName = cms.string(caloMet_pathName),
253  moduleName = cms.string(caloMet_moduleName),
254  plotLabel = cms.string("CaloMET_pT"),
255  axisLabel = cms.string("calo MET p_{T} [GeV]"),
256  mainWorkspace = cms.bool(True),
257  NbinsX = cms.int32(60),
258  Xmin = cms.double(50),
259  Xmax = cms.double(250)
260  ),
261  caloMetPhi = cms.PSet(
262  pathName = cms.string(caloMet_pathName),
263  moduleName = cms.string(caloMet_moduleName),
264  plotLabel = cms.string("CaloMET_phi"),
265  axisLabel = cms.string("calo MET phi"),
266  mainWorkspace = cms.bool(False),
267  NbinsX = cms.int32(50),
268  Xmin = cms.double(-3.4),
269  Xmax = cms.double(3.4)
270  ),
271  pfMetPt = cms.PSet(
272  pathName = cms.string(pfMet_pathName),
273  moduleName = cms.string(pfMet_moduleName),
274  plotLabel = cms.string("PFMET_pT"),
275  axisLabel = cms.string("PF MET p_{T} [GeV]"),
276  mainWorkspace = cms.bool(True),
277  NbinsX = cms.int32(60),
278  Xmin = cms.double(100),
279  Xmax = cms.double(500)
280  ),
281  pfMetPhi = cms.PSet(
282  pathName = cms.string(pfMet_pathName),
283  moduleName = cms.string(pfMet_moduleName),
284  plotLabel = cms.string("PFMET_phi"),
285  axisLabel = cms.string("PF MET phi"),
286  mainWorkspace = cms.bool(False),
287  NbinsX = cms.int32(50),
288  Xmin = cms.double(-3.4),
289  Xmax = cms.double(3.4)
290  ),
291  caloHtPt = cms.PSet(
292  pathName = cms.string("HLT_HT650_DisplacedDijet80_Inclusive"),
293  moduleName = cms.string("hltHT650"),
294  plotLabel = cms.string("CaloHT_pT"),
295  axisLabel = cms.string("calo HT p_{T} [GeV]"),
296  mainWorkspace = cms.bool(True),
297  NbinsX = cms.int32(200),
298  Xmin = cms.double(0),
299  Xmax = cms.double(2000)
300  ),
301  pfHtPt = cms.PSet(
302  pathName = cms.string("HLT_PFHT750_4JetPt50"),
303  moduleName = cms.string("hltPF4JetPt50HT750"),
304  plotLabel = cms.string("PFHT_pT"),
305  axisLabel = cms.string("PF HT p_{T} [GeV]"),
306  mainWorkspace = cms.bool(True),
307  NbinsX = cms.int32(200),
308  Xmin = cms.double(0),
309  Xmax = cms.double(2000)
310  ),
311  bJetEta = cms.PSet(
312  pathName = cms.string(bJet_pathNameCalo),
313  moduleName = cms.string(bJet_moduleNameCalo),
314  pathName_OR = cms.string(bJet_pathNamePF),
315  moduleName_OR = cms.string(bJet_moduleNamePF),
316  plotLabel = cms.string("bJet_eta"),
317  axisLabel = cms.string("b-jet eta"),
318  mainWorkspace = cms.bool(False),
319  NbinsX = cms.int32(50),
320  Xmin = cms.double(-3),
321  Xmax = cms.double(3)
322  ),
323  bJetPhi = cms.PSet(
324  pathName = cms.string(bJet_pathNameCalo),
325  moduleName = cms.string(bJet_moduleNameCalo),
326  pathName_OR = cms.string(bJet_pathNamePF),
327  moduleName_OR = cms.string(bJet_moduleNamePF),
328  plotLabel = cms.string("bJet_phi"),
329  axisLabel = cms.string("b-jet phi"),
330  mainWorkspace = cms.bool(False),
331  NbinsX = cms.int32(50),
332  Xmin = cms.double(-3.4),
333  Xmax = cms.double(3.4)
334  ),
335  bJetCSVCalo = cms.PSet(
336  pathName = cms.string(bJet_pathNameCalo),
337  moduleName = cms.string(bJet_moduleNameCalo),
338  plotLabel = cms.string("bJetCSVCalo"),
339  axisLabel = cms.string("calo b-jet CSV"),
340  mainWorkspace = cms.bool(True),
341  NbinsX = cms.int32(110),
342  Xmin = cms.double(0),
343  Xmax = cms.double(1)
344  ),
345  bJetCSVPF = cms.PSet(
346  pathName = cms.string(bJet_pathNamePF),
347  moduleName = cms.string(bJet_moduleNamePF),
348  plotLabel = cms.string("bJetCSVPF"),
349  axisLabel = cms.string("PF b-jet CSV"),
350  mainWorkspace = cms.bool(True),
351  NbinsX = cms.int32(110),
352  Xmin = cms.double(0),
353  Xmax = cms.double(1)
354  ),
355  rsq = cms.PSet(
356  pathName = cms.string(rsq_mr_pathName),
357  moduleName = cms.string(rsq_mr_moduleName),
358  plotLabel = cms.string("Rsq"),
359  axisLabel = cms.string("R^{2}"),
360  mainWorkspace = cms.bool(True),
361  NbinsX = cms.int32(30),
362  Xmin = cms.double(0),
363  Xmax = cms.double(2)
364  ),
365  mr = cms.PSet(
366  pathName = cms.string(rsq_mr_pathName),
367  moduleName = cms.string(rsq_mr_moduleName),
368  plotLabel = cms.string("mr"),
369  axisLabel = cms.string("M_{R} [GeV]"),
370  mainWorkspace = cms.bool(True),
371  NbinsX = cms.int32(50),
372  Xmin = cms.double(0),
373  Xmax = cms.double(2000)
374  ),
375  diMuonMass = cms.PSet(
376  pathName = cms.string("HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ"),
377  moduleName = cms.string("hltDiMuonGlb17Glb8RelTrkIsoFiltered0p4DzFiltered0p2"),
378  pathName_OR = cms.string("HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ"),
379  moduleName_OR = cms.string("hltDiMuonGlb17Trk8RelTrkIsoFiltered0p4DzFiltered0p2"),
380  plotLabel = cms.string("diMuon_Mass"),
381  axisLabel = cms.string("dimuon mass [GeV]"),
382  mainWorkspace = cms.bool(True),
383  NbinsX = cms.int32(50),
384  Xmin = cms.double(60),
385  Xmax = cms.double(160)
386  ),
387  diElecMass = cms.PSet(
388  pathName = cms.string("HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ"),
389  moduleName = cms.string("hltEle23Ele12CaloIdLTrackIdLIsoVLDZFilter"),
390  plotLabel = cms.string("di-Electron_Mass"),
391  axisLabel = cms.string("di-electron mass [GeV]"),
392  mainWorkspace = cms.bool(True),
393  NbinsX = cms.int32(50),
394  Xmin = cms.double(0),
395  Xmax = cms.double(160)
396  ),
397  muonDxy = cms.PSet(
398  pathName = cms.string("HLT_DoubleMu18NoFiltersNoVtx"),
399  moduleName = cms.string("hltL3fDimuonL1f0L2NVf10L3NoFiltersNoVtxFiltered18"),
400  plotLabel = cms.string("Muon_dxy"),
401  axisLabel = cms.string("muon d_{xy} [mm]"),
402  mainWorkspace = cms.bool(True),
403  NbinsX = cms.int32(2000),
404  Xmin = cms.double(-10),
405  Xmax = cms.double(10)
406  ),
407  wallTime = cms.PSet(
408  pathName = cms.string("wall time per event"),
409  moduleName = cms.string(""),
410  plotLabel = cms.string("wallTime"),
411  axisLabel = cms.string("wall time per event [seconds]"),
412  mainWorkspace = cms.bool(True),
413  NbinsX = cms.int32(1000),
414  Xmin = cms.double(0),
415  Xmax = cms.double(0.005)
416  )
417 
418 )