CMS 3D CMS Logo

topDiLeptonHLTEventDQM_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 topDiLeptonHLTOfflineDQM = DQMEDAnalyzer('TopDiLeptonHLTOfflineDQM',
5  ## ------------------------------------------------------
6  ## SETUP
7 
11  setup = cms.PSet(
12  ## sub-directory to write the monitor histograms to
13  ## [mandatory] : should not be changed w/o explicit
14  ## communication to TopCom!
15  directory = cms.string("HLT/TOP/DiLeptonic/"),
16 
17  ## [mandatory]
18  sources = cms.PSet(
19  muons = cms.InputTag("muons"),
20  elecs = cms.InputTag("gedGsfElectrons"),
21  jets = cms.InputTag("ak4PFJetsCHS"),
22  mets = cms.VInputTag("met", "tcMet", "pfMet")
23  ),
24  ## [optional] : when omitted all monitoring plots for electrons
25  ## will be filled w/o extras
26  elecExtras = cms.PSet(
27  ## when omitted electron plots will be filled w/o cut on electronId
28  electronId = cms.PSet( src = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
29  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
30  ## when omitted electron plots will be filled w/o additional pre-
31  ## selection of the electron candidates
32  select = cms.string("pt>20 & abs(eta)<2.5"),
33  ## when omitted isolated electron multiplicity plot will be equi-
34  ## valent to inclusive electron multiplicity plot
35  #isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
36  ),
37  ## [optional] : when omitted all monitoring plots for muons
38  ## will be filled w/o extras
39  muonExtras = cms.PSet(
40  ## when omitted muon plots will be filled w/o additional pre-
41  ## selection of the muon candidates
42  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
43  ## when omitted isolated muon multiplicity plot will be equi-
44  ## valent to inclusive muon multiplicity plot
45  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
46  ),
47  ## [optional] : when omitted all monitoring plots for jets will
48  ## be filled from uncorrected jets
49  jetExtras = cms.PSet(
50  ## when omitted monitor plots for pt will be filled from uncorrected
51  ## jets
52  #jetCorrector = cms.string("ak4PFCHSL2L3"),
53  ## when omitted no extra selection will be applied on jets before
54  ## filling the monitor histograms; if jetCorrector is present the
55  ## selection will be applied to corrected jets
56  select = cms.string("pt>30. & abs(eta)<2.5"),
57  ),
58  ## [optional] : when omitted no mass window will be applied
59  ## for the same flavor lepton monitoring plots
60  massExtras = cms.PSet(
61  lowerEdge = cms.double( 70.0),
62  upperEdge = cms.double(110.0)
63  ),
64  ## [optional] : when omitted all monitoring plots for triggering
65  ## will be empty
66  triggerExtras = cms.PSet(
67  src = cms.InputTag("TriggerResults","","HLT"),
68  ### Updating to HLT paths to be monitored by TOP PAG in 2017
69  pathsELECMU = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
70  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
71  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
72  pathsDIMUON = cms.vstring(['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
73  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
74  pathsDIELEC = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
75  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
76  )
77  ),
78 
79  ## ------------------------------------------------------
80  ## PRESELECTION
81 
86  preselection = cms.PSet(
87  ## [optional] : when omitted no preselection is applied
88  trigger = cms.PSet(
89  src = cms.InputTag("TriggerResults","","HLT"),
90 ### Updating to HLT paths to be monitored by TOP PAG in 2017
91  select = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
92  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
93  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v',
94  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
95  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v',
96  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
97  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
98  ),
99  ## [optional] : when omitted no preselection is applied
100  vertex = cms.PSet(
101  src = cms.InputTag("offlinePrimaryVertices"),
102  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
103  )
104  ),
105 
106  ## ------------------------------------------------------
107  ## SELECTION
108 
115  selection = cms.VPSet(
116  #cms.PSet(
117  ### [mandatory] : 'jets' defines the objects to
118  ### select on, 'step0' labels the histograms;
119  ### instead of 'step0' you can choose any label
120  #label = cms.string("empty:step0")
121  #),
122  cms.PSet(
123  label = cms.string("Hlt:step0"),
124  src = cms.InputTag(""),
125  select = cms.string(""),
126  min = cms.int32(0),
127  max = cms.int32(0),
128  ),
129  cms.PSet(
130  label = cms.string("jets/pf:step1"),
131  src = cms.InputTag("ak4PFJetsCHS"),
132  #jetCorrector = cms.string("ak4PFCHSL2L3"),
133  select = cms.string("pt>30. & abs(eta)<2.5"),
134  min = cms.int32(2),
135  )
136  )
137 )
138 
139 
140 
141 DiMuonHLTOfflineDQM = DQMEDAnalyzer('TopDiLeptonHLTOfflineDQM',
142  ## ------------------------------------------------------
143  ## SETUP
144 
148  setup = cms.PSet(
149  ## sub-directory to write the monitor histograms to
150  ## [mandatory] : should not be changed w/o explicit
151  ## communication to TopCom!
152  directory = cms.string("HLT/TOP/DiMuon/"),
153 
154  ## [mandatory]
155  sources = cms.PSet(
156  muons = cms.InputTag("muons"),
157  elecs = cms.InputTag("gedGsfElectrons"),
158  jets = cms.InputTag("ak4PFJetsCHS"),
159  mets = cms.VInputTag("met", "tcMet", "pfMet")
160  ),
161  ## [optional] : when omitted all monitoring plots for electrons
162  ## will be filled w/o extras
163  elecExtras = cms.PSet(
164  ## when omitted electron plots will be filled w/o cut on electronId
165  electronId = cms.PSet( src = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
166  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
167  ## when omitted electron plots will be filled w/o additional pre-
168  ## selection of the electron candidates
169  select = cms.string("pt>20 & abs(eta)<2.5"),
170  ## when omitted isolated electron multiplicity plot will be equi-
171  ## valent to inclusive electron multiplicity plot
172  #isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
173  ),
174  ## [optional] : when omitted all monitoring plots for muons
175  ## will be filled w/o extras
176  muonExtras = cms.PSet(
177  ## when omitted muon plots will be filled w/o additional pre-
178  ## selection of the muon candidates
179  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
180  ## when omitted isolated muon multiplicity plot will be equi-
181  ## valent to inclusive muon multiplicity plot
182  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
183  ),
184  ## [optional] : when omitted all monitoring plots for jets will
185  ## be filled from uncorrected jets
186  jetExtras = cms.PSet(
187  ## when omitted monitor plots for pt will be filled from uncorrected
188  ## jets
189  #jetCorrector = cms.string("ak4PFCHSL2L3"),
190  ## when omitted no extra selection will be applied on jets before
191  ## filling the monitor histograms; if jetCorrector is present the
192  ## selection will be applied to corrected jets
193  select = cms.string("pt>30. & abs(eta)<2.5"),
194  ),
195  ## [optional] : when omitted no mass window will be applied
196  ## for the same flavor lepton monitoring plots
197  massExtras = cms.PSet(
198  lowerEdge = cms.double( 70.0),
199  upperEdge = cms.double(110.0)
200  ),
201  ## [optional] : when omitted all monitoring plots for triggering
202  ## will be empty
203  triggerExtras = cms.PSet(
204  src = cms.InputTag("TriggerResults","","HLT"),
205  ### Updating to HLT paths to be monitored by TOP PAG in 2017
206  pathsELECMU = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
207  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
208  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
209  pathsDIMUON = cms.vstring(['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
210  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
211  pathsDIELEC = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
212  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
213  )
214  ),
215  ## ------------------------------------------------------
216  ## PRESELECTION
217 
222  preselection = cms.PSet(
223  ## [optional] : when omitted no preselection is applied
224  trigger = cms.PSet(
225  src = cms.InputTag("TriggerResults","","HLT"),
226  select = cms.vstring(['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
227  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
228  ),
229  ## [optional] : when omitted no preselection is applied
230  vertex = cms.PSet(
231  src = cms.InputTag("offlinePrimaryVertices"),
232  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
233  )
234  ),
235 
236  ## ------------------------------------------------------
237  ## SELECTION
238 
245  selection = cms.VPSet(
246  #cms.PSet(
247  ### [mandatory] : 'jets' defines the objects to
248  ### select on, 'step0' labels the histograms;
249  ### instead of 'step0' you can choose any label
250  #label = cms.string("empty:step0")
251  #),
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 
260  cms.PSet(
261  label = cms.string("muons:step1"),
262  src = cms.InputTag("muons"),
263  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.2"),
264  min = cms.int32(2),
265  max = cms.int32(2),
266  ),
267  cms.PSet(
268  label = cms.string("jets/pf:step2"),
269  src = cms.InputTag("ak4PFJetsCHS"),
270  #jetCorrector = cms.string("ak4PFCHSL2L3"),
271  select = cms.string("pt>30. & abs(eta)<2.5"),
272  min = cms.int32(2),
273  ),
274  ),
275 )
276 
277 DiElectronHLTOfflineDQM = DQMEDAnalyzer('TopDiLeptonHLTOfflineDQM',
278  ## ------------------------------------------------------
279  ## SETUP
280 
284  setup = cms.PSet(
285  ## sub-directory to write the monitor histograms to
286  ## [mandatory] : should not be changed w/o explicit
287  ## communication to TopCom!
288  directory = cms.string("HLT/TOP/DiElectron/"),
289 
290  ## [mandatory]
291  sources = cms.PSet(
292  muons = cms.InputTag("muons"),
293  elecs = cms.InputTag("gedGsfElectrons"),
294  jets = cms.InputTag("ak4PFJetsCHS"),
295  mets = cms.VInputTag("met", "tcMet", "pfMet")
296  ),
297  ## [optional] : when omitted all monitoring plots for electrons
298  ## will be filled w/o extras
299  elecExtras = cms.PSet(
300  ## when omitted electron plots will be filled w/o cut on electronId
301  electronId = cms.PSet( src = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
302  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
303  ## when omitted electron plots will be filled w/o additional pre-
304  ## selection of the electron candidates
305  select = cms.string("pt>20 & abs(eta)<2.5"),
306  ## when omitted isolated electron multiplicity plot will be equi-
307  ## valent to inclusive electron multiplicity plot
308  #isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
309  ),
310  ## [optional] : when omitted all monitoring plots for muons
311  ## will be filled w/o extras
312  muonExtras = cms.PSet(
313  ## when omitted muon plots will be filled w/o additional pre-
314  ## selection of the muon candidates
315  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
316  ## when omitted isolated muon multiplicity plot will be equi-
317  ## valent to inclusive muon multiplicity plot
318  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
319  ),
320  ## [optional] : when omitted all monitoring plots for jets will
321  ## be filled from uncorrected jets
322  jetExtras = cms.PSet(
323  ## when omitted monitor plots for pt will be filled from uncorrected
324  ## jets
325  #jetCorrector = cms.string("ak4PFCHSL2L3"),
326  ## when omitted no extra selection will be applied on jets before
327  ## filling the monitor histograms; if jetCorrector is present the
328  ## selection will be applied to corrected jets
329  select = cms.string("pt>30. & abs(eta)<2.5"),
330  ),
331  ## [optional] : when omitted no mass window will be applied
332  ## for the same flavor lepton monitoring plots
333  massExtras = cms.PSet(
334  lowerEdge = cms.double( 70.0),
335  upperEdge = cms.double(110.0)
336  ),
337  ## [optional] : when omitted all monitoring plots for triggering
338  ## will be empty
339  triggerExtras = cms.PSet(
340  src = cms.InputTag("TriggerResults","","HLT"),
341 
342  ### Updating to HLT paths to be monitored by TOP PAG in 2017
343  pathsELECMU = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
344  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
345  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
346  pathsDIMUON = cms.vstring(['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
347  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
348  pathsDIELEC = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
349  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
350  )
351  ),
352 
353  ## ------------------------------------------------------
354  ## PRESELECTION
355 
360  preselection = cms.PSet(
361  ## [optional] : when omitted no preselection is applied
362  trigger = cms.PSet(
363  src = cms.InputTag("TriggerResults","","HLT"),
364  select = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
365  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
366  ),
367  ## [optional] : when omitted no preselection is applied
368  vertex = cms.PSet(
369  src = cms.InputTag("offlinePrimaryVertices"),
370  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
371  )
372  ),
373 
374  ## ------------------------------------------------------
375  ## SELECTION
376 
383  selection = cms.VPSet(
384  #cms.PSet(
385  ### [mandatory] : 'jets' defines the objects to
386  ### select on, 'step0' labels the histograms;
387  ### instead of 'step0' you can choose any label
388  #label = cms.string("empty:step0")
389  #),
390  cms.PSet(
391  label = cms.string("Hlt:step0"),
392  src = cms.InputTag(""),
393  select = cms.string(""),
394  min = cms.int32(0),
395  max = cms.int32(0),
396  ),
397 
398  cms.PSet(
399  label = cms.string("elecs:step1"),
400  src = cms.InputTag("gedGsfElectrons"),
401  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
402  select = cms.string("pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
403  min = cms.int32(2),
404  max = cms.int32(2),
405  ),
406  cms.PSet(
407  label = cms.string("jets/pf:step2"),
408  src = cms.InputTag("ak4PFJetsCHS"),
409  #jetCorrector = cms.string("ak4PFCHSL2L3"),
410  select = cms.string("pt>30. & abs(eta)<2.5"),
411  min = cms.int32(2),
412  ),
413  ),
414 )
415 
416 ElecMuonHLTOfflineDQM = DQMEDAnalyzer('TopDiLeptonHLTOfflineDQM',
417  ## ------------------------------------------------------
418  ## SETUP
419 
423  setup = cms.PSet(
424  ## sub-directory to write the monitor histograms to
425  ## [mandatory] : should not be changed w/o explicit
426  ## communication to TopCom!
427  directory = cms.string("HLT/TOP/ElecMuon/"),
428 
429  ## [mandatory]
430  sources = cms.PSet(
431  muons = cms.InputTag("muons"),
432  elecs = cms.InputTag("gedGsfElectrons"),
433  jets = cms.InputTag("ak4PFJetsCHS"),
434  mets = cms.VInputTag("met", "tcMet", "pfMet")
435  ),
436  ## [optional] : when omitted all monitoring plots for electrons
437  ## will be filled w/o extras
438  elecExtras = cms.PSet(
439  ## when omitted electron plots will be filled w/o cut on electronId
440  electronId = cms.PSet( src = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
441  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
442  ## when omitted electron plots will be filled w/o additional pre-
443  ## selection of the electron candidates
444  select = cms.string("pt>20 & abs(eta)<2.5"),
445  ## when omitted isolated electron multiplicity plot will be equi-
446  ## valent to inclusive electron multiplicity plot
447  #isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
448  ),
449  ## [optional] : when omitted all monitoring plots for muons
450  ## will be filled w/o extras
451  muonExtras = cms.PSet(
452  ## when omitted muon plots will be filled w/o additional pre-
453  ## selection of the muon candidates
454  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon)"),
455  ## when omitted isolated muon multiplicity plot will be equi-
456  ## valent to inclusive muon multiplicity plot
457  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
458  ),
459  ## [optional] : when omitted all monitoring plots for jets will
460  ## be filled from uncorrected jets
461  jetExtras = cms.PSet(
462  ## when omitted monitor plots for pt will be filled from uncorrected
463  ## jets
464  #jetCorrector = cms.string("ak4PFCHSL2L3"),
465  ## when omitted no extra selection will be applied on jets before
466  ## filling the monitor histograms; if jetCorrector is present the
467  ## selection will be applied to corrected jets
468  select = cms.string("pt>30. & abs(eta)<2.5"),
469  ),
470  ## [optional] : when omitted no mass window will be applied
471  ## for the same flavor lepton monitoring plots
472  massExtras = cms.PSet(
473  lowerEdge = cms.double( 70.0),
474  upperEdge = cms.double(110.0)
475  ),
476  ## [optional] : when omitted all monitoring plots for triggering
477  ## will be empty
478  triggerExtras = cms.PSet(
479  src = cms.InputTag("TriggerResults","","HLT"),
480  ### Updating to HLT paths to be monitored by TOP PAG in 2017
481  pathsELECMU = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
482  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
483  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ]),
484  pathsDIMUON = cms.vstring(['HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass8_v',
485  'HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_Mass3p8_v']),
486  pathsDIELEC = cms.vstring(['HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_v',
487  'HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v' ])
488  )
489  ),
490 
491  ## ------------------------------------------------------
492  ## PRESELECTION
493 
498  preselection = cms.PSet(
499  ## [optional] : when omitted no preselection is applied
500  trigger = cms.PSet(
501  src = cms.InputTag("TriggerResults","","HLT"),
502 ### Updating to HLT paths to be monitored by TOP PAG in 2017
503  select = cms.vstring(['HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v',
504  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v',
505  'HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v'])
506  ),
507  ## [optional] : when omitted no preselection is applied
508  vertex = cms.PSet(
509  src = cms.InputTag("offlinePrimaryVertices"),
510  select = cms.string('abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
511  )
512  ),
513 
514  ## ------------------------------------------------------
515  ## SELECTION
516 
523  selection = cms.VPSet(
524  #cms.PSet(
525  ### [mandatory] : 'jets' defines the objects to
526  ### select on, 'step0' labels the histograms;
527  ### instead of 'step0' you can choose any label
528  #label = cms.string("empty:step0")
529  #),
530  cms.PSet(
531  label = cms.string("Hlt:step0"),
532  src = cms.InputTag(""),
533  select = cms.string(""),
534  min = cms.int32(0),
535  max = cms.int32(0),
536  ),
537 
538  cms.PSet(
539  label = cms.string("muons:step1"),
540  src = cms.InputTag("muons"),
541  select = cms.string("pt>20 & abs(eta)<2.4 & isPFMuon & (isGlobalMuon || isTrackerMuon) & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
542  min = cms.int32(1),
543  max = cms.int32(1),
544  ),
545  cms.PSet(
546  label = cms.string("elecs:step2"),
547  src = cms.InputTag("gedGsfElectrons"),
548  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
549  select = cms.string("pt>20 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.15"),
550  min = cms.int32(1),
551  max = cms.int32(1),
552  ),
553  cms.PSet(
554  label = cms.string("jets/pf:step3"),
555  src = cms.InputTag("ak4PFJetsCHS"),
556  #jetCorrector = cms.string("ak4PFCHSL2L3"),
557  select = cms.string("pt>30. & abs(eta)<2.5"),
558  min = cms.int32(2),
559  ),
560  ),
561 )