CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
topSingleLeptonHLTEventDQM_cfi.py
Go to the documentation of this file.
2 
3 topSingleLeptonTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
4  ## ------------------------------------------------------
5  ## SETUP
6  ##
7  ## configuration of the MonitoringEnsemble(s)
8  ## [mandatory] : optional PSets may be omitted
9  ##
10  setup = cms.PSet(
11  ## sub-directory to write the monitor histograms to
12  ## [mandatory] : should not be changed w/o explicit
13  ## communication to TopCom!
14  directory = cms.string("HLTriggerOffline/Top/TopSingleLeptonTriggerDQM/"),
15  ## [mandatory]
16  sources = cms.PSet(
17  muons = cms.InputTag("muons"),
18  elecs = cms.InputTag("gedGsfElectrons"),
19  jets = cms.InputTag("ak5CaloJets"),
20  mets = cms.VInputTag("met", "tcMet", "pfMet"),
21  pvs = cms.InputTag("offlinePrimaryVertices")
22  ),
23  ## [optional] : when omitted the verbosity level is set to STANDARD
24  monitoring = cms.PSet(
25  verbosity = cms.string("DEBUG")
26  ),
27  ## [optional] : when omitted all monitoring plots for primary vertices
28  ## will be filled w/o extras
29  pvExtras = cms.PSet(
30  ## when omitted electron plots will be filled w/o additional pre-
31  ## selection of the primary vertex candidates
32  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
33  ),
34  ## [optional] : when omitted all monitoring plots for electrons
35  ## will be filled w/o extras
36  elecExtras = cms.PSet(
37  ## when omitted electron plots will be filled w/o cut on electronId
38  electronId = cms.PSet( src = cms.InputTag("eidRobustLoose"), pattern = cms.int32(1) ),
39  ## when omitted electron plots will be filled w/o additional pre-
40  ## selection of the electron candidates
41  select = cms.string("pt>15 & abs(eta)<2.5 & abs(gsfTrack.d0)<1 & abs(gsfTrack.dz)<20"),
42  ## when omitted isolated electron multiplicity plot will be equi-
43  ## valent to inclusive electron multiplicity plot
44  isolation = cms.string("(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
45  ),
46  ## [optional] : when omitted all monitoring plots for muons
47  ## will be filled w/o extras
48  muonExtras = cms.PSet(
49  ## when omitted muon plots will be filled w/o additional pre-
50  ## selection of the muon candidates
51  select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & abs(globalTrack.d0)<1 & abs(globalTrack.dz)<20"),
52  ## when omitted isolated muon multiplicity plot will be equi-
53  ## valent to inclusive muon multiplicity plot
54  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
55  ),
56  ## [optional] : when omitted all monitoring plots for jets will
57  ## be filled from uncorrected jets
58  jetExtras = cms.PSet(
59  ## when omitted monitor plots for pt will be filled from uncorrected
60  ## jets
61  jetCorrector = cms.string("ak5CaloL2L3"),
62  ## when omitted monitor plots will be filled w/o additional cut on
63  ## jetID
64  jetID = cms.PSet(
65  label = cms.InputTag("ak5JetID"),
66  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
67  ),
68  ## when omitted no extra selection will be applied on jets before
69  ## filling the monitor histograms; if jetCorrector is present the
70  ## selection will be applied to corrected jets
71  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
72  ),
73  ## [optional] : when omitted no mass window will be applied
74  ## for the W mass befor filling the event monitoring plots
75  massExtras = cms.PSet(
76  lowerEdge = cms.double( 70.),
77  upperEdge = cms.double(110.)
78  ),
79  ## [optional] : when omitted the monitoring plots for triggering
80  ## will be empty
81  triggerExtras = cms.PSet(
82  src = cms.InputTag("TriggerResults","","HLT"),
83  paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
84  'HLT_Mu5:HLT_QuadJet15U',
85  'HLT_Mu7:HLT_QuadJet15U',
86  'HLT_Mu9:HLT_QuadJet15U'])
87  )
88  ),
89  ## ------------------------------------------------------
90  ## PRESELECTION
91  ##
92  ## setup of the event preselection, which will not
93  ## be monitored
94  ## [mandatory] : but may be empty
95  ##
96  preselection = cms.PSet(
97  trigger = cms.PSet(
98  src = cms.InputTag("TriggerResults","","HLT"),
99  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
100  ),
101  ## [optional] : when omitted no preselection is applied
102  vertex = cms.PSet(
103  src = cms.InputTag("offlinePrimaryVertices"),
104  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
105  )
106  ),
107  ## ------------------------------------------------------
108  ## SELECTION
109  ##
110  ## monitor histrograms are filled after each selection
111  ## step, the selection is applied in the order defined
112  ## by this vector
113  ## [mandatory] : may be empty or contain an arbitrary
114  ## number of PSets
115  ##
116  selection = cms.VPSet(
117  cms.PSet(
118  label = cms.string("Hlt:step0"),
119  src = cms.InputTag(""),
120  select = cms.string(""),
121  min = cms.int32(0),
122  max = cms.int32(0),
123  ),
124  cms.PSet(
125  label = cms.string("jets/calo:step1"),
126  src = cms.InputTag("ak5CaloJets"),
127  select = cms.string("pt>20 & abs(eta)<2.1 & 0.05<emEnergyFraction"),
128  jetID = cms.PSet(
129  label = cms.InputTag("ak5JetID"),
130  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
131  ),
132  min = cms.int32(2),
133  ),
134  )
135 )
136 
137 topSingleMuonLooseTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
138  ## ------------------------------------------------------
139  ## SETUP
140  ##
141  ## configuration of the MonitoringEnsemble(s)
142  ## [mandatory] : optional PSets may be omitted
143  ##
144  setup = cms.PSet(
145  ## sub-directory to write the monitor histograms to
146  ## [mandatory] : should not be changed w/o explicit
147  ## communication to TopCom!
148  directory = cms.string("HLTriggerOffline/Top/TopSingleMuonLooseTriggerDQM/"),
149  ## [mandatory]
150  sources = cms.PSet(
151  muons = cms.InputTag("muons"),
152  elecs = cms.InputTag("gedGsfElectrons"),
153  jets = cms.InputTag("ak5CaloJets"),
154  mets = cms.VInputTag("met", "tcMet", "pfMet"),
155  pvs = cms.InputTag("offlinePrimaryVertices")
156  ),
157  ## [optional] : when omitted the verbosity level is set to STANDARD
158  monitoring = cms.PSet(
159  verbosity = cms.string("DEBUG")
160  ),
161  pvExtras = cms.PSet(
162  ## when omitted electron plots will be filled w/o additional pre-
163  ## selection of the primary vertex candidates
164  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
165  ),
166  ## [optional] : when omitted all monitoring plots for muons
167  ## will be filled w/o extras
168  muonExtras = cms.PSet(
169  ## when omitted muon plots will be filled w/o additional pre-
170  ## selection of the muon candidates
171  select = cms.string("pt > 10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
172  ## when omitted isolated muon multiplicity plot will be equi-
173  ## valent to inclusive muon multiplicity plot
174  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
175  ),
176  ## [optional] : when omitted all monitoring plots for jets
177  ## will be filled w/o extras
178  jetExtras = cms.PSet(
179  ## when omitted monitor plots for pt will be filled from uncorrected
180  ## jets
181  jetCorrector = cms.string("ak5CaloL2L3"),
182  ## when omitted monitor plots will be filled w/o additional cut on
183  ## jetID
184  jetID = cms.PSet(
185  label = cms.InputTag("ak5JetID"),
186  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
187  ),
188  ## when omitted no extra selection will be applied on jets before
189  ## filling the monitor histograms; if jetCorrector is present the
190  ## selection will be applied to corrected jets
191  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
192  ## when omitted monitor histograms for b-tagging will not be filled
193  jetBTaggers = cms.PSet(
194  trackCountingEff = cms.PSet(
195  label = cms.InputTag("trackCountingHighEffBJetTags" ),
196  workingPoint = cms.double(1.25)
197  ),
198  trackCountingPur = cms.PSet(
199  label = cms.InputTag("trackCountingHighPurBJetTags" ),
200  workingPoint = cms.double(3.00)
201  ),
202  secondaryVertex = cms.PSet(
203  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
204  workingPoint = cms.double(2.05)
205  )
206  ),
207  ),
208  ## [optional] : when omitted no mass window will be applied
209  ## for the W mass befor filling the event monitoring plots
210  massExtras = cms.PSet(
211  lowerEdge = cms.double( 70.),
212  upperEdge = cms.double(110.)
213  ),
214  ## [optional] : when omitted the monitoring plots for triggering
215  ## will be empty
216  triggerExtras = cms.PSet(
217  src = cms.InputTag("TriggerResults","","HLT"),
218  paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
219  'HLT_Mu5:HLT_QuadJet15U',
220  'HLT_Mu7:HLT_QuadJet15U',
221  'HLT_Mu9:HLT_QuadJet15U',
222  'HLT_Mu11:HLT_QuadJet15U'])
223  )
224  ),
225  ## ------------------------------------------------------
226  ## PRESELECTION
227  ##
228  ## setup of the event preselection, which will not
229  ## be monitored
230  ## [mandatory] : but may be empty
231  ##
232  preselection = cms.PSet(
233  trigger = cms.PSet(
234  src = cms.InputTag("TriggerResults","","HLT"),
235  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
236  ),
237  ## [optional] : when omitted no preselection is applied
238  vertex = cms.PSet(
239  src = cms.InputTag("offlinePrimaryVertices"),
240  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
241  )
242  ),
243  ## ------------------------------------------------------
244  ## SELECTION
245  ##
246  ## monitor histrograms are filled after each selection
247  ## step, the selection is applied in the order defined
248  ## by this vector
249  ## [mandatory] : may be empty or contain an arbitrary
250  ## number of PSets
251  selection = cms.VPSet(
252  cms.PSet(
253  label = cms.string("Hlt:step0"),
254  src = cms.InputTag(""),
255  select = cms.string(""),
256  min = cms.int32(0),
257  max = cms.int32(0),
258  ),
259  cms.PSet(
260  label = cms.string("muons:step1"),
261  src = cms.InputTag("muons"),
262  select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
263  min = cms.int32(1),
264  ),
265  cms.PSet(
266  label = cms.string("jets/calo:step2"),
267  src = cms.InputTag("ak5CaloJets"),
268  jetCorrector = cms.string("ak5CaloL2L3"),
269  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
270  jetID = cms.PSet(
271  label = cms.InputTag("ak5JetID"),
272  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
273  ),
274  min = cms.int32(1),
275  ),
276  cms.PSet(
277  label = cms.string("jets/calo:step3"),
278  src = cms.InputTag("ak5CaloJets"),
279  jetCorrector = cms.string("ak5CaloL2L3"),
280  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
281  jetID = cms.PSet(
282  label = cms.InputTag("ak5JetID"),
283  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
284  ),
285  min = cms.int32(2),
286  ),
287  cms.PSet(
288  label = cms.string("jets/calo:step4"),
289  src = cms.InputTag("ak5CaloJets"),
290  jetCorrector = cms.string("ak5CaloL2L3"),
291  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
292  jetID = cms.PSet(
293  label = cms.InputTag("ak5JetID"),
294  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
295  ),
296  min = cms.int32(3),
297  ),
298  cms.PSet(
299  label = cms.string("jets/calo:step5"),
300  src = cms.InputTag("ak5CaloJets"),
301  jetCorrector = cms.string("ak5CaloL2L3"),
302  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
303  jetID = cms.PSet(
304  label = cms.InputTag("ak5JetID"),
305  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
306  ),
307  min = cms.int32(4),
308  ),
309  )
310 )
311 topSingleMuonMediumTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
312  ## ------------------------------------------------------
313  ## SETUP
314  ##
315  ## configuration of the MonitoringEnsemble(s)
316  ## [mandatory] : optional PSets may be omitted
317  ##
318  setup = cms.PSet(
319  ## sub-directory to write the monitor histograms to
320  ## [mandatory] : should not be changed w/o explicit
321  ## communication to TopCom!
322  directory = cms.string("HLTriggerOffline/Top/TopSingleMuonMediumTriggerDQM/"),
323  ## [mandatory]
324  sources = cms.PSet(
325  muons = cms.InputTag("muons"),
326  elecs = cms.InputTag("gedGsfElectrons"),
327  jets = cms.InputTag("ak5CaloJets"),
328  mets = cms.VInputTag("met", "tcMet", "pfMet"),
329  pvs = cms.InputTag("offlinePrimaryVertices")
330 
331  ),
332  ## [optional] : when omitted the verbosity level is set to STANDARD
333  monitoring = cms.PSet(
334  verbosity = cms.string("DEBUG")
335  ),
336  ## [optional] : when omitted all monitoring plots for primary vertices
337  ## will be filled w/o extras
338  pvExtras = cms.PSet(
339  ## when omitted electron plots will be filled w/o additional pre-
340  ## selection of the primary vertex candidates
341  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
342  ),
343  ## [optional] : when omitted all monitoring plots for muons
344  ## will be filled w/o extras
345  muonExtras = cms.PSet(
346  ## when omitted muon plots will be filled w/o additional pre-
347  ## selection of the muon candidates
348  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
349  ## when omitted isolated muon multiplicity plot will be equi-
350  ## valent to inclusive muon multiplicity plot
351  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
352  ),
353  ## [optional] : when omitted all monitoring plots for jets
354  ## will be filled w/o extras
355  jetExtras = cms.PSet(
356  ## when omitted monitor plots for pt will be filled from uncorrected
357  ## jets
358  jetCorrector = cms.string("ak5CaloL2L3"),
359  ## when omitted monitor plots will be filled w/o additional cut on
360  ## jetID
361  jetID = cms.PSet(
362  label = cms.InputTag("ak5JetID"),
363  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
364  ),
365  ## when omitted no extra selection will be applied on jets before
366  ## filling the monitor histograms; if jetCorrector is present the
367  ## selection will be applied to corrected jets
368  select = cms.string("pt>30 & abs(eta)<2.5& emEnergyFraction>0.01"),
369  ## when omitted monitor histograms for b-tagging will not be filled
370  jetBTaggers = cms.PSet(
371  trackCountingEff = cms.PSet(
372  label = cms.InputTag("trackCountingHighEffBJetTags" ),
373  workingPoint = cms.double(1.25)
374  ),
375  trackCountingPur = cms.PSet(
376  label = cms.InputTag("trackCountingHighPurBJetTags" ),
377  workingPoint = cms.double(3.00)
378  ),
379  secondaryVertex = cms.PSet(
380  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
381  workingPoint = cms.double(2.05)
382  )
383  ),
384  ),
385  ## [optional] : when omitted no mass window will be applied
386  ## for the W mass before filling the event monitoring plots
387  massExtras = cms.PSet(
388  lowerEdge = cms.double( 70.),
389  upperEdge = cms.double(110.)
390  ),
391  ## [optional] : when omitted the monitoring plots for triggering
392  ## will be empty
393  triggerExtras = cms.PSet(
394  src = cms.InputTag("TriggerResults","","HLT"),
395  paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
396  'HLT_Mu5:HLT_QuadJet15U',
397  'HLT_Mu7:HLT_QuadJet15U',
398  'HLT_Mu9:HLT_QuadJet15U',
399  'HLT_Mu11:HLT_QuadJet15U'])
400  )
401  ),
402  ## ------------------------------------------------------
403  ## PRESELECTION
404  ##
405  ## setup of the event preselection, which will not
406  ## be monitored
407  ## [mandatory] : but may be empty
408  ##
409  preselection = cms.PSet(
410  trigger = cms.PSet(
411  src = cms.InputTag("TriggerResults","","HLT"),
412  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
413  ),
414  ## [optional] : when omitted no preselection is applied
415  vertex = cms.PSet(
416  src = cms.InputTag("offlinePrimaryVertices"),
417  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
418  )
419  ),
420  ## ------------------------------------------------------
421  ## SELECTION
422  ##
423  ## monitor histrograms are filled after each selection
424  ## step, the selection is applied in the order defined
425  ## by this vector
426  ## [mandatory] : may be empty or contain an arbitrary
427  ## number of PSets
428  selection = cms.VPSet(
429  cms.PSet(
430  label = cms.string("Hlt:step0"),
431  src = cms.InputTag(""),
432  select = cms.string(""),
433  min = cms.int32(0),
434  max = cms.int32(0),
435  ),
436  cms.PSet(
437  label = cms.string("muons:step1"),
438  src = cms.InputTag("muons"),
439  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
440  min = cms.int32(1),
441  max = cms.int32(1),
442  ),
443  cms.PSet(
444  label = cms.string("jets/calo:step2"),
445  src = cms.InputTag("ak5CaloJets"),
446  jetCorrector = cms.string("ak5CaloL2L3"),
447  select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
448  jetID = cms.PSet(
449  label = cms.InputTag("ak5JetID"),
450  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
451  ),
452  min = cms.int32(1),
453  ),
454  cms.PSet(
455  label = cms.string("jets/calo:step3"),
456  src = cms.InputTag("ak5CaloJets"),
457  jetCorrector = cms.string("ak5CaloL2L3"),
458  select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
459  jetID = cms.PSet(
460  label = cms.InputTag("ak5JetID"),
461  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
462  ),
463  min = cms.int32(2),
464  ),
465  cms.PSet(
466  label = cms.string("jets/calo:step4"),
467  src = cms.InputTag("ak5CaloJets"),
468  jetCorrector = cms.string("ak5CaloL2L3"),
469  select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
470  jetID = cms.PSet(
471  label = cms.InputTag("ak5JetID"),
472  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
473  ),
474  min = cms.int32(3),
475  ),
476  cms.PSet(
477  label = cms.string("jets/calo:step5"),
478  src = cms.InputTag("ak5CaloJets"),
479  jetCorrector = cms.string("ak5CaloL2L3"),
480  select = cms.string("pt>30 & abs(eta)<2.5 & emEnergyFraction>0.01"),
481  jetID = cms.PSet(
482  label = cms.InputTag("ak5JetID"),
483  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
484  ),
485  min = cms.int32(4),
486  ),
487  )
488 )
489 
490 topSingleElectronLooseTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
491  ## ------------------------------------------------------
492  ## SETUP
493  ##
494  ## configuration of the MonitoringEnsemble(s)
495  ## [mandatory] : optional PSets may be omitted
496  ##
497  setup = cms.PSet(
498  ## sub-directory to write the monitor histograms to
499  ## [mandatory] : should not be changed w/o explicit
500  ## communication to TopCom!
501  directory = cms.string("HLTriggerOffline/Top/TopSingleElectronLooseTriggerDQM/"),
502  ## [mandatory]
503  sources = cms.PSet(
504  muons = cms.InputTag("muons"),
505  elecs = cms.InputTag("gedGsfElectrons"),
506  jets = cms.InputTag("ak5CaloJets"),
507  mets = cms.VInputTag("met", "tcMet", "pfMet"),
508  pvs = cms.InputTag("offlinePrimaryVertices")
509 
510  ),
511  ## [optional] : when omitted the verbosity level is set to STANDARD
512  monitoring = cms.PSet(
513  verbosity = cms.string("DEBUG")
514  ),
515  ## [optional] : when omitted all monitoring plots for primary vertices
516  ## will be filled w/o extras
517  pvExtras = cms.PSet(
518  ## when omitted electron plots will be filled w/o additional pre-
519  ## selection of the primary vertex candidates
520  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
521  ),
522  ## [optional] : when omitted all monitoring plots for electrons
523  ## will be filled w/o extras
524  elecExtras = cms.PSet(
525  ## when omitted electron plots will be filled w/o cut on electronId
526  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
527  ## when omitted electron plots will be filled w/o additional pre-
528  ## selection of the electron candidates
529  select = cms.string("pt>30 & abs(eta)<2.5"),
530  ## when omitted isolated electron multiplicity plot will be equi-
531  ## valent to inclusive electron multiplicity plot
532  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
533  ),
534  ## [optional] : when omitted all monitoring plots for jets
535  ## will be filled w/o extras
536  jetExtras = cms.PSet(
537  ## when omitted monitor plots for pt will be filled from uncorrected
538  ## jets
539  jetCorrector = cms.string("ak5CaloL2L3"),
540  ## when omitted monitor plots will be filled w/o additional cut on
541  ## jetID
542  jetID = cms.PSet(
543  label = cms.InputTag("ak5JetID"),
544  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
545  ),
546  ## when omitted no extra selection will be applied on jets before
547  ## filling the monitor histograms; if jetCorrector is present the
548  ## selection will be applied to corrected jets
549  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
550  ## when omitted monitor histograms for b-tagging will not be filled
551  jetBTaggers = cms.PSet(
552  trackCountingEff = cms.PSet(
553  label = cms.InputTag("trackCountingHighEffBJetTags" ),
554  workingPoint = cms.double(1.25)
555  ),
556  trackCountingPur = cms.PSet(
557  label = cms.InputTag("trackCountingHighPurBJetTags" ),
558  workingPoint = cms.double(3.00)
559  ),
560  secondaryVertex = cms.PSet(
561  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
562  workingPoint = cms.double(2.05)
563  )
564  ),
565  ),
566  ## [optional] : when omitted no mass window will be applied
567  ## for the W mass before filling the event monitoring plots
568  massExtras = cms.PSet(
569  lowerEdge = cms.double( 70.),
570  upperEdge = cms.double(110.)
571  ),
572  ## [optional] : when omitted the monitoring plots for triggering
573  ## will be empty
574  triggerExtras = cms.PSet(
575  src = cms.InputTag("TriggerResults","","HLT"),
576  paths = cms.vstring(['HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
577  )
578  ),
579  ## ------------------------------------------------------
580  ## PRESELECTION
581  ##
582  ## setup of the event preselection, which will not
583  ## be monitored
584  ## [mandatory] : but may be empty
585  ##
586  preselection = cms.PSet(
587  trigger = cms.PSet(
588  src = cms.InputTag("TriggerResults","","HLT"),
589  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
590  ),
591  ## [optional] : when omitted no preselection is applied
592  vertex = cms.PSet(
593  src = cms.InputTag("offlinePrimaryVertices"),
594  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
595  )
596  ),
597  ## ------------------------------------------------------
598  ## SELECTION
599  ##
600  ## monitor histrograms are filled after each selection
601  ## step, the selection is applied in the order defined
602  ## by this vector
603  ## [mandatory] : may be empty or contain an arbitrary
604  ## number of PSets
605  selection = cms.VPSet(
606  cms.PSet(
607  label = cms.string("Hlt:step0"),
608  src = cms.InputTag(""),
609  select = cms.string(""),
610  min = cms.int32(0),
611  max = cms.int32(0),
612  ),
613  cms.PSet(
614  label = cms.string("elecs:step1"),
615  src = cms.InputTag("gedGsfElectrons"),
616  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
617  select = cms.string("pt>15 & abs(eta)<2.5"),
618  min = cms.int32(1),
619  ),
620  cms.PSet(
621  label = cms.string("jets/calo:step2"),
622  src = cms.InputTag("ak5CaloJets"),
623  jetCorrector = cms.string("ak5CaloL2L3"),
624  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
625  jetID = cms.PSet(
626  label = cms.InputTag("ak5JetID"),
627  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
628  ),
629  min = cms.int32(1),
630  ),
631  cms.PSet(
632  label = cms.string("jets/calo:step3"),
633  src = cms.InputTag("ak5CaloJets"),
634  jetCorrector = cms.string("ak5CaloL2L3"),
635  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
636  jetID = cms.PSet(
637  label = cms.InputTag("ak5JetID"),
638  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
639  ),
640  min = cms.int32(2),
641  ),
642  cms.PSet(
643  label = cms.string("jets/calo:step4"),
644  src = cms.InputTag("ak5CaloJets"),
645  jetCorrector = cms.string("ak5CaloL2L3"),
646  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
647  jetID = cms.PSet(
648  label = cms.InputTag("ak5JetID"),
649  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
650  ),
651  min = cms.int32(3),
652  ),
653  cms.PSet(
654  label = cms.string("jets/calo:step5"),
655  src = cms.InputTag("ak5CaloJets"),
656  jetCorrector = cms.string("ak5CaloL2L3"),
657  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
658  jetID = cms.PSet(
659  label = cms.InputTag("ak5JetID"),
660  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
661  ),
662  min = cms.int32(4),
663  ),
664  )
665 )
666 
667 topSingleElectronMediumTriggerDQM = cms.EDAnalyzer("TopHLTSingleLeptonDQM",
668  ## ------------------------------------------------------
669  ## SETUP
670  ##
671  ## configuration of the MonitoringEnsemble(s)
672  ## [mandatory] : optional PSets may be omitted
673  ##
674  setup = cms.PSet(
675  ## sub-directory to write the monitor histograms to
676  ## [mandatory] : should not be changed w/o explicit
677  ## communication to TopCom!
678  directory = cms.string("HLTriggerOffline/Top/TopSingleElectronMediumTriggerDQM/"),
679  ## [mandatory]
680  sources = cms.PSet(
681  muons = cms.InputTag("muons"),
682  elecs = cms.InputTag("gedGsfElectrons"),
683  jets = cms.InputTag("ak5CaloJets"),
684  mets = cms.VInputTag("met", "tcMet", "pfMet"),
685  pvs = cms.InputTag("offlinePrimaryVertices")
686 
687  ),
688  ## [optional] : when omitted the verbosity level is set to STANDARD
689  monitoring = cms.PSet(
690  verbosity = cms.string("DEBUG")
691  ),
692  ## [optional] : when omitted all monitoring plots for primary vertices
693  ## will be filled w/o extras
694  pvExtras = cms.PSet(
695  ## when omitted electron plots will be filled w/o additional pre-
696  ## selection of the primary vertex candidates
697  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
698  ),
699  ## [optional] : when omitted all monitoring plots for electrons
700  ## will be filled w/o extras
701  elecExtras = cms.PSet(
702  ## when omitted electron plots will be filled w/o cut on electronId
703  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
704  ## when omitted electron plots will be filled w/o additional pre-
705  ## selection of the electron candidates
706  select = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
707  ## when omitted isolated electron multiplicity plot will be equi-
708  ## valent to inclusive electron multiplicity plot
709  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
710  ),
711  ## [optional] : when omitted all monitoring plots for jets
712  ## will be filled w/o extras
713  jetExtras = cms.PSet(
714  ## when omitted monitor plots for pt will be filled from uncorrected
715  ## jets
716  jetCorrector = cms.string("ak5CaloL2L3"),
717  ## when omitted monitor plots will be filled w/o additional cut on
718  ## jetID
719  jetID = cms.PSet(
720  label = cms.InputTag("ak5JetID"),
721  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
722  ),
723  ## when omitted no extra selection will be applied on jets before
724  ## filling the monitor histograms; if jetCorrector is present the
725  ## selection will be applied to corrected jets
726  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
727  ## when omitted monitor histograms for b-tagging will not be filled
728  jetBTaggers = cms.PSet(
729  trackCountingEff = cms.PSet(
730  label = cms.InputTag("trackCountingHighEffBJetTags" ),
731  workingPoint = cms.double(1.25)
732  ),
733  trackCountingPur = cms.PSet(
734  label = cms.InputTag("trackCountingHighPurBJetTags" ),
735  workingPoint = cms.double(3.00)
736  ),
737  secondaryVertex = cms.PSet(
738  label = cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
739  workingPoint = cms.double(2.05)
740  )
741  ),
742  ),
743  ## [optional] : when omitted no mass window will be applied
744  ## for the W mass before filling the event monitoring plots
745  massExtras = cms.PSet(
746  lowerEdge = cms.double( 70.),
747  upperEdge = cms.double(110.)
748  ),
749  ## [optional] : when omitted the monitoring plots for triggering
750  ## will be empty
751  triggerExtras = cms.PSet(
752  src = cms.InputTag("TriggerResults","","HLT"),
753  paths = cms.vstring([ 'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
754  )
755  ),
756  ## ------------------------------------------------------
757  ## PRESELECTION
758  ##
759  ## setup of the event preselection, which will not
760  ## be monitored
761  ## [mandatory] : but may be empty
762  ##
763  preselection = cms.PSet(
764  trigger = cms.PSet(
765  src = cms.InputTag("TriggerResults","","HLT"),
766  select = cms.vstring(['HLT_Iso10Mu20_eta2p1_CentralPFJet30_BTagIPIter_v1'])#ONLY ONE PATH
767  ),
768  ## [optional] : when omitted no preselection is applied
769  vertex = cms.PSet(
770  src = cms.InputTag("offlinePrimaryVertices"),
771  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
772  )
773  ),
774  ## ------------------------------------------------------
775  ## SELECTION
776  ##
777  ## monitor histrograms are filled after each selection
778  ## step, the selection is applied in the order defined
779  ## by this vector
780  ## [mandatory] : may be empty or contain an arbitrary
781  ## number of PSets
782  selection = cms.VPSet(
783  cms.PSet(
784  label = cms.string("Hlt:step0"),
785  src = cms.InputTag(""),
786  select = cms.string(""),
787  min = cms.int32(0),
788  max = cms.int32(0),
789  ),
790  cms.PSet(
791  label = cms.string("elecs:step1"),
792  src = cms.InputTag("gedGsfElectrons"),
793  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
794  select = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
795  min = cms.int32(1),
796  max = cms.int32(1),
797  ),
798  cms.PSet(
799  label = cms.string("jets/calo:step2"),
800  src = cms.InputTag("ak5CaloJets"),
801  jetCorrector = cms.string("ak5CaloL2L3"),
802  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
803  jetID = cms.PSet(
804  label = cms.InputTag("ak5JetID"),
805  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
806  ),
807  min = cms.int32(1),
808  ),
809  cms.PSet(
810  label = cms.string("jets/calo:step3"),
811  src = cms.InputTag("ak5CaloJets"),
812  jetCorrector = cms.string("ak5CaloL2L3"),
813  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
814  jetID = cms.PSet(
815  label = cms.InputTag("ak5JetID"),
816  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
817  ),
818  min = cms.int32(2),
819  ),
820  cms.PSet(
821  label = cms.string("jets/calo:step4"),
822  src = cms.InputTag("ak5CaloJets"),
823  jetCorrector = cms.string("ak5CaloL2L3"),
824  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
825  jetID = cms.PSet(
826  label = cms.InputTag("ak5JetID"),
827  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
828  ),
829  min = cms.int32(3),
830  ),
831  cms.PSet(
832  label = cms.string("jets/calo:step5"),
833  src = cms.InputTag("ak5CaloJets"),
834  jetCorrector = cms.string("ak5CaloL2L3"),
835  select = cms.string("pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
836  jetID = cms.PSet(
837  label = cms.InputTag("ak5JetID"),
838  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
839  ),
840  min = cms.int32(4),
841  ),
842  )
843 )