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