CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
topDiLeptonHLTEventDQM_cfi.py
Go to the documentation of this file.
2 
3 topDiLeptonTriggerDQM = cms.EDAnalyzer("TopHLTDiLeptonOfflineDQM",
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("Physics/Top/TopDiLeptonDQM/"),
15 
16  ## [mandatory]
17  sources = cms.PSet(
18  muons = cms.InputTag("muons"),
19  elecs = cms.InputTag("gedGsfElectrons"),
20  jets = cms.InputTag("ak5CaloJets"),
21  mets = cms.VInputTag("met", "tcMet", "pfMet")
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 electrons
28  ## will be filled w/o extras
29  elecExtras = cms.PSet(
30  ## when omitted electron plots will be filled w/o cut on electronId
31  electronId = cms.PSet(
32  src = cms.InputTag("simpleEleId70cIso"),
33  #src = cms.InputTag("eidRobustLoose"),
34  pattern = cms.int32(1)
35  ),
36  ## when omitted electron plots will be filled w/o additional pre-
37  ## selection of the electron candidates
38  select = cms.string("pt>10. && abs(eta)<2.4 && abs(gsfTrack.d0)<1. && abs(gsfTrack.dz)<20."),
39  ## when omitted isolated electron multiplicity plot will be equi-
40  ## valent to inclusive electron multiplicity plot
41  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.2"),
42  ),
43  ## [optional] : when omitted all monitoring plots for muons
44  ## will be filled w/o extras
45  muonExtras = cms.PSet(
46  ## when omitted muon plots will be filled w/o additional pre-
47  ## selection of the muon candidates
48  select = cms.string("pt>10. && abs(eta)<2.4 && abs(globalTrack.d0)<1. && abs(globalTrack.dz)<20."),
49  ## when omitted isolated muon multiplicity plot will be equi-
50  ## valent to inclusive muon multiplicity plot
51  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
52  ),
53  ## [optional] : when omitted all monitoring plots for jets will
54  ## be filled from uncorrected jets
55  jetExtras = cms.PSet(
56  ## when omitted monitor plots for pt will be filled from uncorrected
57  ## jets
58  jetCorrector = cms.string("ak5CaloL2L3"),
59  ## when omitted monitor plots will be filled w/o additional cut on
60  ## jetID
61  jetID = cms.PSet(
62  label = cms.InputTag("ak5JetID"),
63  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
64  ),
65  ## when omitted no extra selection will be applied on jets before
66  ## filling the monitor histograms; if jetCorrector is present the
67  ## selection will be applied to corrected jets
68  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
69  ),
70  ## [optional] : when omitted no mass window will be applied
71  ## for the same flavor lepton monitoring plots
72  massExtras = cms.PSet(
73  lowerEdge = cms.double( 76.0),
74  upperEdge = cms.double(106.0)
75  ),
76  ## [optional] : when omitted all monitoring plots for triggering
77  ## will be empty
78  #triggerExtras = cms.PSet(
79  #src = cms.InputTag("TriggerResults","","HLT"),
80  #pathsELECMU = cms.vstring([ 'HLT_Mu9:HLT_Ele15_SW_L1R',
81  #'HLT_Mu15:HLT_Ele15_SW_L1R',
82  #'HLT_DoubleMu3:HLT_Ele15_SW_L1R',
83  #'HLT_Ele15_SW_L1R:HLT_Mu9',
84  #'HLT_Ele15_SW_L1R:HLT_DoubleMu3']),
85  #pathsDIMUON = cms.vstring([ 'HLT_Mu15:HLT_Mu9',
86  #'HLT_DoubleMu3:HLT_Mu9',
87  #'HLT_Mu9:HLT_DoubleMu3',
88  #'HLT_Mu15:HLT_DoubleMu3'])
89  #)
90  ),
91 
92  ## ------------------------------------------------------
93  ## PRESELECTION
94  ##
95  ## setup of the event preselection, which will not
96  ## be monitored
97  ## [mandatory] : but may be empty
98  ##
99  preselection = cms.PSet(
100  ## [optional] : when omitted no preselection is applied
101  trigger = cms.PSet(
102  src = cms.InputTag("TriggerResults","","HLT"),
103  select = cms.vstring(['HLT_Mu9','HLT_Ele15_SW_L1R','HLT_DoubleMu3'])
104  ),
105  ## [optional] : when omitted no preselection is applied
106  vertex = cms.PSet(
107  src = cms.InputTag("offlinePrimaryVertices"),
108  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
109  )
110  ),
111 
112  ## ------------------------------------------------------
113  ## SELECTION
114  ##
115  ## monitor histrograms are filled after each selection
116  ## step, the selection is applied in the order defined
117  ## by this vector
118  ## [mandatory] : may be empty or contain an arbitrary
119  ## number of PSets as given below:
120  ##
121  selection = cms.VPSet(
122  #cms.PSet(
123  ### [mandatory] : 'jets' defines the objects to
124  ### select on, 'step0' labels the histograms;
125  ### instead of 'step0' you can choose any label
126  #label = cms.string("empty:step0")
127  #),
128  cms.PSet(
129  label = cms.string("Hlt:step0"),
130  src = cms.InputTag(""),
131  select = cms.string(""),
132  min = cms.int32(0),
133  max = cms.int32(0),
134  ),
135 
136  cms.PSet(
137  label = cms.string("muons:step1"),
138  src = cms.InputTag("muons"),
139  select = cms.string("pt>20 & abs(eta)<2.4 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
140  min = cms.int32(2),
141  max = cms.int32(2),
142  ),
143  cms.PSet(
144  label = cms.string("jets/calo:step2"),
145  src = cms.InputTag("ak5CaloJets"),
146  jetCorrector = cms.string("ak5CaloL2L3"),
147  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
148  jetID = cms.PSet(
149  label = cms.InputTag("ak5JetID"),
150  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
151  ),
152  min = cms.int32(2),
153  #max = cms.int32(2),
154  )
155  )
156 )
157 
158 
159 
160 DiMuonDQM = cms.EDAnalyzer("TopHLTDiLeptonOfflineDQM",
161  ## ------------------------------------------------------
162  ## SETUP
163  ##
164  ## configuration of the MonitoringEnsemble(s)
165  ## [mandatory] : optional PSets may be omitted
166  ##
167  setup = cms.PSet(
168  ## sub-directory to write the monitor histograms to
169  ## [mandatory] : should not be changed w/o explicit
170  ## communication to TopCom!
171  directory = cms.string("Physics/Top/TopDiMuonDQM/"),
172 
173  ## [mandatory]
174  sources = cms.PSet(
175  muons = cms.InputTag("muons"),
176  elecs = cms.InputTag("gedGsfElectrons"),
177  jets = cms.InputTag("ak5CaloJets"),
178  mets = cms.VInputTag("met", "tcMet", "pfMet")
179  ),
180  ## [optional] : when omitted the verbosity level is set to STANDARD
181  monitoring = cms.PSet(
182  verbosity = cms.string("DEBUG")
183  ),
184  ## [optional] : when omitted all monitoring plots for electrons
185  ## will be filled w/o extras
186  elecExtras = cms.PSet(
187  ## when omitted electron plots will be filled w/o cut on electronId
188  electronId = cms.PSet(
189  src = cms.InputTag("simpleEleId70cIso"),
190  #src = cms.InputTag("eidRobustLoose"),
191  pattern = cms.int32(1)
192  ),
193  ## when omitted electron plots will be filled w/o additional pre-
194  ## selection of the electron candidates
195  select = cms.string("pt>500. && abs(eta)<2.4 && abs(gsfTrack.d0)<1. && abs(gsfTrack.dz)<20."),
196  ## when omitted isolated electron multiplicity plot will be equi-
197  ## valent to inclusive electron multiplicity plot
198  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.2"),
199  ),
200  ## [optional] : when omitted all monitoring plots for muons
201  ## will be filled w/o extras
202  muonExtras = cms.PSet(
203  ## when omitted muon plots will be filled w/o additional pre-
204  ## selection of the muon candidates
205  select = cms.string("pt>20. && abs(eta)<2.4 && abs(globalTrack.d0)<1. && abs(globalTrack.dz)<20."),
206  ## when omitted isolated muon multiplicity plot will be equi-
207  ## valent to inclusive muon multiplicity plot
208  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
209  ),
210  ## [optional] : when omitted all monitoring plots for jets will
211  ## be filled from uncorrected jets
212  jetExtras = cms.PSet(
213  ## when omitted monitor plots for pt will be filled from uncorrected
214  ## jets
215  jetCorrector = cms.string("ak5CaloL2L3"),
216  ## when omitted monitor plots will be filled w/o additional cut on
217  ## jetID
218  jetID = cms.PSet(
219  label = cms.InputTag("ak5JetID"),
220  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
221  ),
222  ## when omitted no extra selection will be applied on jets before
223  ## filling the monitor histograms; if jetCorrector is present the
224  ## selection will be applied to corrected jets
225  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
226  ),
227  ## [optional] : when omitted no mass window will be applied
228  ## for the same flavor lepton monitoring plots
229  massExtras = cms.PSet(
230  lowerEdge = cms.double( 76.0),
231  upperEdge = cms.double(106.0)
232  ),
233  ## [optional] : when omitted all monitoring plots for triggering
234  ## will be empty
235  #triggerExtras = cms.PSet(
236  #src = cms.InputTag("TriggerResults","","HLT"),
237  #pathsELECMU = cms.vstring([ 'HLT_Mu9:HLT_Ele15_SW_L1R',
238  #'HLT_Mu15:HLT_Ele15_SW_L1R',
239  #'HLT_DoubleMu3:HLT_Ele15_SW_L1R',
240  #'HLT_Ele15_SW_L1R:HLT_Mu9',
241  #'HLT_Ele15_SW_L1R:HLT_DoubleMu3']),
242  #pathsDIMUON = cms.vstring([ 'HLT_Mu15:HLT_Mu9',
243  #'HLT_DoubleMu3:HLT_Mu9',
244  #'HLT_Mu9:HLT_DoubleMu3',
245  #'HLT_Mu15:HLT_DoubleMu3'])
246  #)
247  ),
248 
249  ## ------------------------------------------------------
250  ## PRESELECTION
251  ##
252  ## setup of the event preselection, which will not
253  ## be monitored
254  ## [mandatory] : but may be empty
255  ##
256  preselection = cms.PSet(
257  ## [optional] : when omitted no preselection is applied
258  trigger = cms.PSet(
259  src = cms.InputTag("TriggerResults","","HLT"),
260  select = cms.vstring(['HLT_Mu9','HLT_Ele15_SW_L1R','HLT_DoubleMu3'])
261  ),
262  ## [optional] : when omitted no preselection is applied
263  vertex = cms.PSet(
264  src = cms.InputTag("offlinePrimaryVertices"),
265  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
266  )
267  ),
268 
269  ## ------------------------------------------------------
270  ## SELECTION
271  ##
272  ## monitor histrograms are filled after each selection
273  ## step, the selection is applied in the order defined
274  ## by this vector
275  ## [mandatory] : may be empty or contain an arbitrary
276  ## number of PSets as given below:
277  ##
278  selection = cms.VPSet(
279  #cms.PSet(
280  ### [mandatory] : 'jets' defines the objects to
281  ### select on, 'step0' labels the histograms;
282  ### instead of 'step0' you can choose any label
283  #label = cms.string("empty:step0")
284  #),
285  cms.PSet(
286  label = cms.string("Hlt:step0"),
287  src = cms.InputTag(""),
288  select = cms.string(""),
289  min = cms.int32(0),
290  max = cms.int32(0),
291  ),
292 
293  cms.PSet(
294  label = cms.string("muons:step1"),
295  src = cms.InputTag("muons"),
296  select = cms.string("pt>20 & abs(eta)<2.4 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
297  min = cms.int32(2),
298  max = cms.int32(2),
299  ),
300  cms.PSet(
301  label = cms.string("jets/calo:step2"),
302  src = cms.InputTag("ak5CaloJets"),
303  jetCorrector = cms.string("ak5CaloL2L3"),
304  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
305  jetID = cms.PSet(
306  label = cms.InputTag("ak5JetID"),
307  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
308  ),
309  min = cms.int32(2),
310  #max = cms.int32(2),
311  ),
312  ),
313 )
314 
315 DiElectronDQM = cms.EDAnalyzer("TopHLTDiLeptonOfflineDQM",
316  ## ------------------------------------------------------
317  ## SETUP
318  ##
319  ## configuration of the MonitoringEnsemble(s)
320  ## [mandatory] : optional PSets may be omitted
321  ##
322  setup = cms.PSet(
323  ## sub-directory to write the monitor histograms to
324  ## [mandatory] : should not be changed w/o explicit
325  ## communication to TopCom!
326  directory = cms.string("Physics/Top/TopDiElectronDQM/"),
327 
328  ## [mandatory]
329  sources = cms.PSet(
330  muons = cms.InputTag("muons"),
331  elecs = cms.InputTag("gedGsfElectrons"),
332  jets = cms.InputTag("ak5CaloJets"),
333  mets = cms.VInputTag("met", "tcMet", "pfMet")
334  ),
335  ## [optional] : when omitted the verbosity level is set to STANDARD
336  monitoring = cms.PSet(
337  verbosity = cms.string("DEBUG")
338  ),
339  ## [optional] : when omitted all monitoring plots for electrons
340  ## will be filled w/o extras
341  elecExtras = cms.PSet(
342  ## when omitted electron plots will be filled w/o cut on electronId
343  electronId = cms.PSet(
344  src = cms.InputTag("simpleEleId70cIso"),
345  #src = cms.InputTag("eidRobustLoose"),
346  pattern = cms.int32(1)
347  ),
348  ## when omitted electron plots will be filled w/o additional pre-
349  ## selection of the electron candidates
350  select = cms.string("pt>10. && abs(eta)<2.4 && abs(gsfTrack.d0)<1. && abs(gsfTrack.dz)<20."),
351  ## when omitted isolated electron multiplicity plot will be equi-
352  ## valent to inclusive electron multiplicity plot
353  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.2"),
354  ),
355  ## [optional] : when omitted all monitoring plots for muons
356  ## will be filled w/o extras
357  muonExtras = cms.PSet(
358  ## when omitted muon plots will be filled w/o additional pre-
359  ## selection of the muon candidates
360  select = cms.string("pt>500. && abs(eta)<2.4 && abs(globalTrack.d0)<1. && abs(globalTrack.dz)<20."),
361  ## when omitted isolated muon multiplicity plot will be equi-
362  ## valent to inclusive muon multiplicity plot
363  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
364  ),
365  ## [optional] : when omitted all monitoring plots for jets will
366  ## be filled from uncorrected jets
367  jetExtras = cms.PSet(
368  ## when omitted monitor plots for pt will be filled from uncorrected
369  ## jets
370  jetCorrector = cms.string("ak5CaloL2L3"),
371  ## when omitted monitor plots will be filled w/o additional cut on
372  ## jetID
373  jetID = cms.PSet(
374  label = cms.InputTag("ak5JetID"),
375  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
376  ),
377  ## when omitted no extra selection will be applied on jets before
378  ## filling the monitor histograms; if jetCorrector is present the
379  ## selection will be applied to corrected jets
380  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
381  ),
382  ## [optional] : when omitted no mass window will be applied
383  ## for the same flavor lepton monitoring plots
384  massExtras = cms.PSet(
385  lowerEdge = cms.double( 76.0),
386  upperEdge = cms.double(106.0)
387  ),
388  ## [optional] : when omitted all monitoring plots for triggering
389  ## will be empty
390  #triggerExtras = cms.PSet(
391  #src = cms.InputTag("TriggerResults","","HLT"),
392  #pathsELECMU = cms.vstring([ 'HLT_Mu9:HLT_Ele15_SW_L1R',
393  #'HLT_Mu15:HLT_Ele15_SW_L1R',
394  #'HLT_DoubleMu3:HLT_Ele15_SW_L1R',
395  #'HLT_Ele15_SW_L1R:HLT_Mu9',
396  #'HLT_Ele15_SW_L1R:HLT_DoubleMu3']),
397  #pathsDIMUON = cms.vstring([ 'HLT_Mu15:HLT_Mu9',
398  #'HLT_DoubleMu3:HLT_Mu9',
399  #'HLT_Mu9:HLT_DoubleMu3',
400  #'HLT_Mu15:HLT_DoubleMu3'])
401  #)
402  ),
403 
404  ## ------------------------------------------------------
405  ## PRESELECTION
406  ##
407  ## setup of the event preselection, which will not
408  ## be monitored
409  ## [mandatory] : but may be empty
410  ##
411  preselection = cms.PSet(
412  ## [optional] : when omitted no preselection is applied
413  trigger = cms.PSet(
414  src = cms.InputTag("TriggerResults","","HLT"),
415  select = cms.vstring(['HLT_Mu9','HLT_Ele15_SW_L1R','HLT_DoubleMu3'])
416  ),
417  ## [optional] : when omitted no preselection is applied
418  vertex = cms.PSet(
419  src = cms.InputTag("offlinePrimaryVertices"),
420  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
421  )
422  ),
423 
424  ## ------------------------------------------------------
425  ## SELECTION
426  ##
427  ## monitor histrograms are filled after each selection
428  ## step, the selection is applied in the order defined
429  ## by this vector
430  ## [mandatory] : may be empty or contain an arbitrary
431  ## number of PSets as given below:
432  ##
433  selection = cms.VPSet(
434  #cms.PSet(
435  ### [mandatory] : 'jets' defines the objects to
436  ### select on, 'step0' labels the histograms;
437  ### instead of 'step0' you can choose any label
438  #label = cms.string("empty:step0")
439  #),
440  cms.PSet(
441  label = cms.string("Hlt:step0"),
442  src = cms.InputTag(""),
443  select = cms.string(""),
444  min = cms.int32(0),
445  max = cms.int32(0),
446  ),
447 
448  cms.PSet(
449  label = cms.string("elecs:step1"),
450  src = cms.InputTag("gedGsfElectrons"),
451  electronId = cms.PSet(
452  src = cms.InputTag("simpleEleId70cIso"),
453  pattern = cms.int32(1)
454  ),
455  select = cms.string("pt>20 & abs(eta)<2.4 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.17"),
456  min = cms.int32(2),
457  max = cms.int32(2),
458  ),
459  cms.PSet(
460  label = cms.string("jets/calo:step2"),
461  src = cms.InputTag("ak5CaloJets"),
462  jetCorrector = cms.string("ak5CaloL2L3"),
463  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
464  jetID = cms.PSet(
465  label = cms.InputTag("ak5JetID"),
466  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
467  ),
468  min = cms.int32(2),
469  #max = cms.int32(2),
470  ),
471  ),
472 )
473 
474 ElecMuonDQM = cms.EDAnalyzer("TopHLTDiLeptonOfflineDQM",
475  ## ------------------------------------------------------
476  ## SETUP
477  ##
478  ## configuration of the MonitoringEnsemble(s)
479  ## [mandatory] : optional PSets may be omitted
480  ##
481  setup = cms.PSet(
482  ## sub-directory to write the monitor histograms to
483  ## [mandatory] : should not be changed w/o explicit
484  ## communication to TopCom!
485  directory = cms.string("Physics/Top/TopElecMuonDQM/"),
486 
487  ## [mandatory]
488  sources = cms.PSet(
489  muons = cms.InputTag("muons"),
490  elecs = cms.InputTag("gedGsfElectrons"),
491  jets = cms.InputTag("ak5CaloJets"),
492  mets = cms.VInputTag("met", "tcMet", "pfMet")
493  ),
494  ## [optional] : when omitted the verbosity level is set to STANDARD
495  monitoring = cms.PSet(
496  verbosity = cms.string("DEBUG")
497  ),
498  ## [optional] : when omitted all monitoring plots for electrons
499  ## will be filled w/o extras
500  elecExtras = cms.PSet(
501  ## when omitted electron plots will be filled w/o cut on electronId
502  electronId = cms.PSet(
503  src = cms.InputTag("simpleEleId70cIso"),
504  #src = cms.InputTag("eidRobustLoose"),
505  pattern = cms.int32(1)
506  ),
507  ## when omitted electron plots will be filled w/o additional pre-
508  ## selection of the electron candidates
509  select = cms.string("pt>10. && abs(eta)<2.4 && abs(gsfTrack.d0)<1. && abs(gsfTrack.dz)<20."),
510  ## when omitted isolated electron multiplicity plot will be equi-
511  ## valent to inclusive electron multiplicity plot
512  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.2"),
513  ),
514  ## [optional] : when omitted all monitoring plots for muons
515  ## will be filled w/o extras
516  muonExtras = cms.PSet(
517  ## when omitted muon plots will be filled w/o additional pre-
518  ## selection of the muon candidates
519  select = cms.string("pt>10. && abs(eta)<2.4 && abs(globalTrack.d0)<1. && abs(globalTrack.dz)<20."),
520  ## when omitted isolated muon multiplicity plot will be equi-
521  ## valent to inclusive muon multiplicity plot
522  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
523  ),
524  ## [optional] : when omitted all monitoring plots for jets will
525  ## be filled from uncorrected jets
526  jetExtras = cms.PSet(
527  ## when omitted monitor plots for pt will be filled from uncorrected
528  ## jets
529  jetCorrector = cms.string("ak5CaloL2L3"),
530  ## when omitted monitor plots will be filled w/o additional cut on
531  ## jetID
532  jetID = cms.PSet(
533  label = cms.InputTag("ak5JetID"),
534  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
535  ),
536  ## when omitted no extra selection will be applied on jets before
537  ## filling the monitor histograms; if jetCorrector is present the
538  ## selection will be applied to corrected jets
539  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
540  ),
541  ## [optional] : when omitted no mass window will be applied
542  ## for the same flavor lepton monitoring plots
543  massExtras = cms.PSet(
544  lowerEdge = cms.double( 76.0),
545  upperEdge = cms.double(106.0)
546  ),
547  ## [optional] : when omitted all monitoring plots for triggering
548  ## will be empty
549  #triggerExtras = cms.PSet(
550  #src = cms.InputTag("TriggerResults","","HLT"),
551  #pathsELECMU = cms.vstring([ 'HLT_Mu9:HLT_Ele15_SW_L1R',
552  #'HLT_Mu15:HLT_Ele15_SW_L1R',
553  #'HLT_DoubleMu3:HLT_Ele15_SW_L1R',
554  #'HLT_Ele15_SW_L1R:HLT_Mu9',
555  #'HLT_Ele15_SW_L1R:HLT_DoubleMu3']),
556  #pathsDIMUON = cms.vstring([ 'HLT_Mu15:HLT_Mu9',
557  #'HLT_DoubleMu3:HLT_Mu9',
558  #'HLT_Mu9:HLT_DoubleMu3',
559  #'HLT_Mu15:HLT_DoubleMu3'])
560  #)
561  ),
562 
563  ## ------------------------------------------------------
564  ## PRESELECTION
565  ##
566  ## setup of the event preselection, which will not
567  ## be monitored
568  ## [mandatory] : but may be empty
569  ##
570  preselection = cms.PSet(
571  ## [optional] : when omitted no preselection is applied
572  trigger = cms.PSet(
573  src = cms.InputTag("TriggerResults","","HLT"),
574  select = cms.vstring(['HLT_Mu9','HLT_Ele15_SW_L1R','HLT_DoubleMu3'])
575  ),
576  ## [optional] : when omitted no preselection is applied
577  vertex = cms.PSet(
578  src = cms.InputTag("offlinePrimaryVertices"),
579  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
580  )
581  ),
582 
583  ## ------------------------------------------------------
584  ## SELECTION
585  ##
586  ## monitor histrograms are filled after each selection
587  ## step, the selection is applied in the order defined
588  ## by this vector
589  ## [mandatory] : may be empty or contain an arbitrary
590  ## number of PSets as given below:
591  ##
592  selection = cms.VPSet(
593  #cms.PSet(
594  ### [mandatory] : 'jets' defines the objects to
595  ### select on, 'step0' labels the histograms;
596  ### instead of 'step0' you can choose any label
597  #label = cms.string("empty:step0")
598  #),
599  cms.PSet(
600  label = cms.string("Hlt:step0"),
601  src = cms.InputTag(""),
602  select = cms.string(""),
603  min = cms.int32(0),
604  max = cms.int32(0),
605  ),
606 
607  cms.PSet(
608  label = cms.string("muons:step1"),
609  src = cms.InputTag("muons"),
610  select = cms.string("pt>20 & abs(eta)<2.4 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
611  min = cms.int32(1),
612  max = cms.int32(1),
613  ),
614  cms.PSet(
615  label = cms.string("elecs:step2"),
616  src = cms.InputTag("gedGsfElectrons"),
617  electronId = cms.PSet(
618  src = cms.InputTag("simpleEleId70cIso"),
619  pattern = cms.int32(1)
620  ),
621  select = cms.string("pt>20 & abs(eta)<2.4 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.17"),
622  min = cms.int32(1),
623  max = cms.int32(1),
624  ),
625  cms.PSet(
626  label = cms.string("jets/calo:step3"),
627  src = cms.InputTag("ak5CaloJets"),
628  jetCorrector = cms.string("ak5CaloL2L3"),
629  select = cms.string("pt>30. & abs(eta)<2.4 & emEnergyFraction>0.01"),
630  jetID = cms.PSet(
631  label = cms.InputTag("ak5JetID"),
632  select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
633  ),
634  min = cms.int32(2),
635  #max = cms.int32(2),
636  ),
637  ),
638 )
639