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