1 import FWCore.ParameterSet.Config
as cms
3 looseMuonCut =
" (isGlobalMuon || isTrackerMuon) && isPFMuon" 4 looseIsoCut =
"(pfIsolationR04.sumChargedHadronPt + max(0., pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - 0.5 * pfIsolationR04.sumPUPt) ) / pt < 0.2" 6 tightMuonCut =
" isGlobalMuon && isPFMuon && globalTrack.normalizedChi2 < 10. && globalTrack.hitPattern.numberOfValidMuonHits > 0 && " + \
7 "numberOfMatchedStations > 1 && innerTrack.hitPattern.numberOfValidPixelHits > 0 && innerTrack.hitPattern.trackerLayersWithMeasurement > 8" 9 tightIsoCut =
"(pfIsolationR04.sumChargedHadronPt + max(0., pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - 0.5 * pfIsolationR04.sumPUPt) ) / pt < 0.12" 11 EletightIsoCut =
"(pfIsolationVariables.sumChargedHadronPt + max(0., pfIsolationVariables.sumNeutralHadronEt + pfIsolationVariables.sumPhotonEt - 0.5 * pfIsolationVariables.sumPUPt) ) / pt < 0.1" 12 ElelooseIsoCut =
"(pfIsolationVariables.sumChargedHadronPt + max(0., pfIsolationVariables.sumNeutralHadronEt + pfIsolationVariables.sumPhotonEt - 0.5 * pfIsolationVariables.sumPUPt) ) / pt < 0.15" 14 topSingleLeptonDQM_miniAOD = cms.EDAnalyzer(
"TopSingleLeptonDQM_miniAOD",
16 directory = cms.string(
"Physics/Top/TopSingleLeptonDQM_miniAOD/"),
19 elecs = cms.InputTag(
"slimmedElectrons"),
20 jets = cms.InputTag(
"slimmedJets"),
21 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
23 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
25 monitoring = cms.PSet(
26 verbosity = cms.string(
"DEBUG")
31 elecExtras = cms.PSet(
32 select = cms.string(
"pt>15 & abs(eta)<2.5 & abs(gsfTrack.d0)<1 & abs(gsfTrack.dz)<20"),
33 isolation = cms.string(ElelooseIsoCut),
35 muonExtras = cms.PSet(
36 select = cms.string(looseMuonCut +
" && pt>10 & abs(eta)<2.4"),
37 isolation = cms.string(looseIsoCut),
40 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
42 massExtras = cms.PSet(
43 lowerEdge = cms.double( 70.),
44 upperEdge = cms.double(110.)
46 triggerExtras = cms.PSet(
47 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
48 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
49 'HLT_Mu5:HLT_QuadJet15U',
50 'HLT_Mu7:HLT_QuadJet15U',
51 'HLT_Mu9:HLT_QuadJet15U'])
54 preselection = cms.PSet(
57 src = cms.InputTag(
"offlineSlimmedPrimaryVertices")
60 selection = cms.VPSet(
62 label = cms.string(
"jets:step0"),
63 src = cms.InputTag(
"slimmedJets"),
64 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
70 topSingleMuonLooseDQM_miniAOD = cms.EDAnalyzer(
"TopSingleLeptonDQM_miniAOD",
73 directory = cms.string(
"Physics/Top/TopSingleMuonLooseDQM_miniAOD/"),
75 muons = cms.InputTag(
"slimmedMuons"),
76 elecs = cms.InputTag(
"slimmedElectrons"),
77 jets = cms.InputTag(
"slimmedJets"),
78 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
79 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
81 monitoring = cms.PSet(
82 verbosity = cms.string(
"DEBUG")
86 muonExtras = cms.PSet(
87 select = cms.string(looseMuonCut +
" && pt > 10 & abs(eta)<2.4"),
88 isolation = cms.string(looseIsoCut)
91 select = cms.string(
"pt>30 & abs(eta)<2.5"),
92 jetBTaggers = cms.PSet(
93 trackCountingEff = cms.PSet(
94 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
95 workingPoint = cms.double(1.25)
97 trackCountingPur = cms.PSet(
98 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
99 workingPoint = cms.double(3.00)
101 secondaryVertex = cms.PSet(
102 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
103 workingPoint = cms.double(2.05)
105 cvsVertex = cms.PSet(
106 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
107 workingPoint = cms.double(0.898)
111 massExtras = cms.PSet(
112 lowerEdge = cms.double( 70.),
113 upperEdge = cms.double(110.)
116 triggerExtras = cms.PSet(
117 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
118 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
119 'HLT_Mu5:HLT_QuadJet15U',
120 'HLT_Mu7:HLT_QuadJet15U',
121 'HLT_Mu9:HLT_QuadJet15U',
122 'HLT_Mu11:HLT_QuadJet15U'])
125 preselection = cms.PSet(
127 src = cms.InputTag(
"offlineSlimmedPrimaryVertices")
130 selection = cms.VPSet(
132 label = cms.string(
"muons:step0"),
133 src = cms.InputTag(
"slimmedMuons"),
134 select = cms.string(looseMuonCut + looseIsoCut +
" && pt>10 & abs(eta)<2.4"),
138 label = cms.string(
"jets:step1"),
139 src = cms.InputTag(
"slimmedJets"),
140 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
144 label = cms.string(
"jets:step2"),
145 src = cms.InputTag(
"slimmedJets"),
146 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
150 label = cms.string(
"jets:step3"),
151 src = cms.InputTag(
"slimmedJets"),
152 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
156 label = cms.string(
"jets:step4"),
157 src = cms.InputTag(
"slimmedJets"),
158 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
163 topSingleMuonMediumDQM_miniAOD = cms.EDAnalyzer(
"TopSingleLeptonDQM_miniAOD",
165 directory = cms.string(
"Physics/Top/TopSingleMuonMediumDQM_miniAOD/"),
167 muons = cms.InputTag(
"slimmedMuons"),
168 elecs = cms.InputTag(
"slimmedElectrons"),
169 jets = cms.InputTag(
"slimmedJets"),
170 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
171 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
174 monitoring = cms.PSet(
175 verbosity = cms.string(
"DEBUG")
179 muonExtras = cms.PSet(
180 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
181 isolation = cms.string(looseIsoCut)
183 jetExtras = cms.PSet(
184 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
185 jetBTaggers = cms.PSet(
186 trackCountingEff = cms.PSet(
187 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
188 workingPoint = cms.double(1.25)
190 trackCountingPur = cms.PSet(
191 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
192 workingPoint = cms.double(3.00)
194 secondaryVertex = cms.PSet(
195 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
196 workingPoint = cms.double(2.05)
198 cvsVertex = cms.PSet(
199 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
200 workingPoint = cms.double(0.898)
204 massExtras = cms.PSet(
205 lowerEdge = cms.double( 70.),
206 upperEdge = cms.double(110.)
209 preselection = cms.PSet(
211 src = cms.InputTag(
"offlineSlimmedPrimaryVertices")
214 selection = cms.VPSet(
216 label = cms.string(
"muons:step0"),
217 src = cms.InputTag(
"slimmedMuons"),
218 select = cms.string(tightMuonCut +
"&&"+ tightIsoCut +
" && pt>20 & abs(eta)<2.1"),
223 label = cms.string(
"jets:step1"),
224 src = cms.InputTag(
"slimmedJets"),
225 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
229 label = cms.string(
"jets:step2"),
230 src = cms.InputTag(
"slimmedJets"),
231 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
235 label = cms.string(
"jets:step3"),
236 src = cms.InputTag(
"slimmedJets"),
237 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
241 label = cms.string(
"jets:step4"),
242 src = cms.InputTag(
"slimmedJets"),
243 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
249 topSingleElectronLooseDQM_miniAOD = cms.EDAnalyzer(
"TopSingleLeptonDQM_miniAOD",
251 directory = cms.string(
"Physics/Top/TopSingleElectronLooseDQM_miniAOD/"),
253 muons = cms.InputTag(
"slimmedMuons"),
254 elecs = cms.InputTag(
"slimmedElectrons"),
255 jets = cms.InputTag(
"slimmedJets"),
256 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
257 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
260 monitoring = cms.PSet(
261 verbosity = cms.string(
"DEBUG")
265 elecExtras = cms.PSet(
266 select = cms.string(
"pt>20 & abs(eta)<2.5"),
267 isolation = cms.string(ElelooseIsoCut),
269 jetExtras = cms.PSet(
270 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
271 jetBTaggers = cms.PSet(
272 trackCountingEff = cms.PSet(
273 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
274 workingPoint = cms.double(1.25)
276 trackCountingPur = cms.PSet(
277 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
278 workingPoint = cms.double(3.00)
280 secondaryVertex = cms.PSet(
281 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
282 workingPoint = cms.double(2.05)
284 cvsVertex = cms.PSet(
285 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
286 workingPoint = cms.double(0.898)
290 massExtras = cms.PSet(
291 lowerEdge = cms.double( 70.),
292 upperEdge = cms.double(110.)
294 triggerExtras = cms.PSet(
295 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
296 paths = cms.vstring([
'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
299 preselection = cms.PSet(
301 src = cms.InputTag(
"offlineSlimmedPrimaryVertices")
304 selection = cms.VPSet(
306 label = cms.string(
"elecs:step0"),
307 src = cms.InputTag(
"slimmedElectrons"),
308 select = cms.string(
"pt>20 & abs(eta)<2.5 && "+ElelooseIsoCut),
312 label = cms.string(
"jets:step1"),
313 src = cms.InputTag(
"slimmedJets"),
314 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
318 label = cms.string(
"jets:step2"),
319 src = cms.InputTag(
"slimmedJets"),
320 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
324 label = cms.string(
"jets:step3"),
325 src = cms.InputTag(
"slimmedJets"),
326 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
330 label = cms.string(
"jets:step4"),
331 src = cms.InputTag(
"slimmedJets"),
332 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
338 topSingleElectronMediumDQM_miniAOD = cms.EDAnalyzer(
"TopSingleLeptonDQM_miniAOD",
341 directory = cms.string(
"Physics/Top/TopSingleElectronMediumDQM_miniAOD/"),
343 muons = cms.InputTag(
"slimmedMuons"),
344 elecs = cms.InputTag(
"slimmedElectrons"),
345 jets = cms.InputTag(
"slimmedJets"),
346 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
347 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
350 monitoring = cms.PSet(
351 verbosity = cms.string(
"DEBUG")
355 elecExtras = cms.PSet(
356 select = cms.string(
"pt>20 & abs(eta)<2.5"),
357 isolation = cms.string(ElelooseIsoCut),
359 jetExtras = cms.PSet(
360 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
361 jetBTaggers = cms.PSet(
362 trackCountingEff = cms.PSet(
363 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
364 workingPoint = cms.double(1.25)
366 trackCountingPur = cms.PSet(
367 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
368 workingPoint = cms.double(3.00)
370 secondaryVertex = cms.PSet(
371 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
372 workingPoint = cms.double(2.05)
374 cvsVertex = cms.PSet(
375 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
376 workingPoint = cms.double(0.898)
380 massExtras = cms.PSet(
381 lowerEdge = cms.double( 70.),
382 upperEdge = cms.double(110.)
385 preselection = cms.PSet(
387 src = cms.InputTag(
"offlineSlimmedPrimaryVertices")
390 selection = cms.VPSet(
392 label = cms.string(
"elecs:step0"),
393 src = cms.InputTag(
"slimmedElectrons"),
394 select = cms.string(
"pt>30 & abs(eta)<2.5 & abs(gsfTrack.d0)<0.02 & gsfTrack.hitPattern().numberOfHits('MISSING_INNER_HITS') <= 0 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660) & " + EletightIsoCut),
399 label = cms.string(
"jets:step1"),
400 src = cms.InputTag(
"slimmedJets"),
401 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
405 label = cms.string(
"jets:step2"),
406 src = cms.InputTag(
"slimmedJets"),
407 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
411 label = cms.string(
"jets:step3"),
412 src = cms.InputTag(
"slimmedJets"),
413 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
417 label = cms.string(
"jets:step4"),
418 src = cms.InputTag(
"slimmedJets"),
419 select = cms.string(
"pt>30 & abs(eta)<2.5 "),