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.25" 6 tightMuonCut =
" isGlobalMuon && isPFMuon && globalTrack.normalizedChi2 < 10. && globalTrack.hitPattern.numberOfValidMuonHits > 0 && " + \
7 "numberOfMatchedStations > 1 && innerTrack.hitPattern.numberOfValidPixelHits > 0 && innerTrack.hitPattern.trackerLayersWithMeasurement > 5" 9 tightIsoCut =
"(pfIsolationR04.sumChargedHadronPt + max(0., pfIsolationR04.sumNeutralHadronEt + pfIsolationR04.sumPhotonEt - 0.5 * pfIsolationR04.sumPUPt) ) / pt < 0.15" 12 EletightIsoCut =
"(pfIsolationVariables.sumChargedHadronPt + max(0., pfIsolationVariables.sumNeutralHadronEt + pfIsolationVariables.sumPhotonEt - 0.5 * pfIsolationVariables.sumPUPt) ) / pt < 0.1" 13 ElelooseIsoCut =
"(pfIsolationVariables.sumChargedHadronPt + max(0., pfIsolationVariables.sumNeutralHadronEt + pfIsolationVariables.sumPhotonEt - 0.5 * pfIsolationVariables.sumPUPt) ) / pt < 0.15" 15 looseElecCut =
"((full5x5_sigmaIetaIeta < 0.011 && superCluster.isNonnull && superCluster.seed.isNonnull && (deltaEtaSuperClusterTrackAtVtx - superCluster.eta + superCluster.seed.eta) < 0.00477 && abs(deltaPhiSuperClusterTrackAtVtx) < 0.222 && hadronicOverEm < 0.298 && abs(1.0 - eSuperClusterOverP)*1.0/ecalEnergy < 0.241 && gsfTrack.hitPattern.numberOfHits('MISSING_INNER_HITS') <= 1 && abs(superCluster.eta) < 1.479) || (full5x5_sigmaIetaIeta() < 0.0314 && superCluster.isNonnull && superCluster.seed.isNonnull && (deltaEtaSuperClusterTrackAtVtx - superCluster.eta + superCluster.seed.eta) < 0.00868 && abs(deltaPhiSuperClusterTrackAtVtx) < 0.213 && hadronicOverEm < 0.101 && abs(1.0 - eSuperClusterOverP)*1.0/ecalEnergy < 0.14 && gsfTrack.hitPattern.numberOfHits('MISSING_INNER_HITS') <= 1 && abs(superCluster.eta) > 1.479))" 17 elecIPcut =
"(abs(gsfTrack.d0)<0.05 & abs(gsfTrack.dz)<0.1 & abs(superCluster.eta) < 1.479)||(abs(gsfTrack.d0)<0.1 && abs(gsfTrack.dz)<0.2 && abs(superCluster.eta) > 1.479)" 20 tightElecCut =
"((full5x5_sigmaIetaIeta < 0.00998 && superCluster.isNonnull && superCluster.seed.isNonnull && (deltaEtaSuperClusterTrackAtVtx - superCluster.eta + superCluster.seed.eta) < 0.00308 && abs(deltaPhiSuperClusterTrackAtVtx) < 0.0816 && hadronicOverEm < 0.0414 && abs(1.0 - eSuperClusterOverP)*1.0/ecalEnergy < 0.0129 && gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(superCluster.eta) < 1.479) || (full5x5_sigmaIetaIeta() < 0.0292 && superCluster.isNonnull && superCluster.seed.isNonnull && (deltaEtaSuperClusterTrackAtVtx - superCluster.eta + superCluster.seed.eta) < 0.00605 && abs(deltaPhiSuperClusterTrackAtVtx) < 0.0394 && hadronicOverEm < 0.0641 && abs(1.0 - eSuperClusterOverP)*1.0/ecalEnergy < 0.0129 && gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(superCluster.eta) > 1.479))" 22 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
23 topSingleLeptonDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
25 directory = cms.string(
"Physics/Top/TopSingleLeptonDQM_miniAOD/"),
28 elecs = cms.InputTag(
"slimmedElectrons"),
29 jets = cms.InputTag(
"slimmedJets"),
30 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
31 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
33 monitoring = cms.PSet(
34 verbosity = cms.string(
"DEBUG")
37 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
39 elecExtras = cms.PSet(
40 select = cms.string(looseElecCut+
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
41 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
44 muonExtras = cms.PSet(
45 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
46 isolation = cms.string(looseIsoCut),
49 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
51 massExtras = cms.PSet(
52 lowerEdge = cms.double( 70.),
53 upperEdge = cms.double(110.)
55 triggerExtras = cms.PSet(
56 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
57 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
58 'HLT_Mu5:HLT_QuadJet15U',
59 'HLT_Mu7:HLT_QuadJet15U',
60 'HLT_Mu9:HLT_QuadJet15U'])
63 preselection = cms.PSet(
66 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
67 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
70 selection = cms.VPSet(
72 label = cms.string(
"jets:step0"),
73 src = cms.InputTag(
"slimmedJets"),
74 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
80 topSingleMuonLooseDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
83 directory = cms.string(
"Physics/Top/TopSingleMuonLooseDQM_miniAOD/"),
85 muons = cms.InputTag(
"slimmedMuons"),
86 elecs = cms.InputTag(
"slimmedElectrons"),
87 jets = cms.InputTag(
"slimmedJets"),
88 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
89 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
91 monitoring = cms.PSet(
92 verbosity = cms.string(
"DEBUG")
95 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
97 muonExtras = cms.PSet(
98 select = cms.string(looseMuonCut +
" && pt > 15 & abs(eta)<2.4"),
99 isolation = cms.string(looseIsoCut)
101 jetExtras = cms.PSet(
102 select = cms.string(
"pt>30 & abs(eta)<2.4"),
103 jetBTaggers = cms.PSet(
104 trackCountingEff = cms.PSet(
105 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
106 workingPoint = cms.double(1.25)
108 trackCountingPur = cms.PSet(
109 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
110 workingPoint = cms.double(3.00)
112 secondaryVertex = cms.PSet(
113 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
114 workingPoint = cms.double(2.05)
116 cvsVertex = cms.PSet(
117 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
118 workingPoint = cms.double(0.898)
122 massExtras = cms.PSet(
123 lowerEdge = cms.double( 70.),
124 upperEdge = cms.double(110.)
127 triggerExtras = cms.PSet(
128 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
129 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
130 'HLT_Mu5:HLT_QuadJet15U',
131 'HLT_Mu7:HLT_QuadJet15U',
132 'HLT_Mu9:HLT_QuadJet15U',
133 'HLT_Mu11:HLT_QuadJet15U'])
136 preselection = cms.PSet(
138 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
139 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
142 selection = cms.VPSet(
144 label = cms.string(
"muons:step0"),
145 src = cms.InputTag(
"slimmedMuons"),
146 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.4"),
150 label = cms.string(
"jets:step1"),
151 src = cms.InputTag(
"slimmedJets"),
152 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
156 label = cms.string(
"jets:step2"),
157 src = cms.InputTag(
"slimmedJets"),
158 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
162 label = cms.string(
"jets:step3"),
163 src = cms.InputTag(
"slimmedJets"),
164 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
168 label = cms.string(
"jets:step4"),
169 src = cms.InputTag(
"slimmedJets"),
170 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
175 topSingleMuonMediumDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
177 directory = cms.string(
"Physics/Top/TopSingleMuonMediumDQM_miniAOD/"),
179 muons = cms.InputTag(
"slimmedMuons"),
180 elecs = cms.InputTag(
"slimmedElectrons"),
181 jets = cms.InputTag(
"slimmedJets"),
182 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
183 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
186 monitoring = cms.PSet(
187 verbosity = cms.string(
"DEBUG")
190 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
192 elecExtras = cms.PSet(
193 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
194 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
198 muonExtras = cms.PSet(
199 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
200 isolation = cms.string(looseIsoCut)
202 jetExtras = cms.PSet(
203 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
204 jetBTaggers = cms.PSet(
205 trackCountingEff = cms.PSet(
206 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
207 workingPoint = cms.double(1.25)
209 trackCountingPur = cms.PSet(
210 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
211 workingPoint = cms.double(3.00)
213 secondaryVertex = cms.PSet(
214 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
215 workingPoint = cms.double(2.05)
217 cvsVertex = cms.PSet(
218 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
219 workingPoint = cms.double(0.898)
223 massExtras = cms.PSet(
224 lowerEdge = cms.double( 70.),
225 upperEdge = cms.double(110.)
228 preselection = cms.PSet(
230 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
231 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
234 selection = cms.VPSet(
236 label = cms.string(
"muons:step0"),
237 src = cms.InputTag(
"slimmedMuons"),
238 select = cms.string(looseMuonCut +
" && pt > 20 & abs(eta)<2.1"),
243 label = cms.string(
"jets:step1"),
244 src = cms.InputTag(
"slimmedJets"),
245 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
249 label = cms.string(
"met:step2"),
250 src = cms.InputTag(
"slimmedMETs"),
251 select = cms.string(
"pt>30"),
269 topSingleElectronLooseDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
271 directory = cms.string(
"Physics/Top/TopSingleElectronLooseDQM_miniAOD/"),
273 muons = cms.InputTag(
"slimmedMuons"),
274 elecs = cms.InputTag(
"slimmedElectrons"),
275 jets = cms.InputTag(
"slimmedJets"),
276 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
277 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
280 monitoring = cms.PSet(
281 verbosity = cms.string(
"DEBUG")
284 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
286 elecExtras = cms.PSet(
287 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
288 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
292 jetExtras = cms.PSet(
293 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
294 jetBTaggers = cms.PSet(
295 trackCountingEff = cms.PSet(
296 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
297 workingPoint = cms.double(1.25)
299 trackCountingPur = cms.PSet(
300 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
301 workingPoint = cms.double(3.00)
303 secondaryVertex = cms.PSet(
304 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
305 workingPoint = cms.double(2.05)
307 cvsVertex = cms.PSet(
308 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
309 workingPoint = cms.double(0.898)
313 massExtras = cms.PSet(
314 lowerEdge = cms.double( 70.),
315 upperEdge = cms.double(110.)
317 triggerExtras = cms.PSet(
318 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
319 paths = cms.vstring([
'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
322 preselection = cms.PSet(
324 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
325 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
328 selection = cms.VPSet(
330 label = cms.string(
"elecs:step0"),
331 src = cms.InputTag(
"slimmedElectrons"),
332 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
336 label = cms.string(
"jets:step1"),
337 src = cms.InputTag(
"slimmedJets"),
338 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
342 label = cms.string(
"met:step2"),
343 src = cms.InputTag(
"slimmedMETs"),
344 select = cms.string(
"pt>30"),
362 topSingleElectronMediumDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
365 directory = cms.string(
"Physics/Top/TopSingleElectronMediumDQM_miniAOD/"),
367 muons = cms.InputTag(
"slimmedMuons"),
368 elecs = cms.InputTag(
"slimmedElectrons"),
369 jets = cms.InputTag(
"slimmedJets"),
370 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
371 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
374 monitoring = cms.PSet(
375 verbosity = cms.string(
"DEBUG")
378 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
380 elecExtras = cms.PSet(
381 select = cms.string(tightElecCut +
" && pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
383 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
386 muonExtras = cms.PSet(
387 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
388 isolation = cms.string(looseIsoCut)
390 jetExtras = cms.PSet(
391 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
392 jetBTaggers = cms.PSet(
393 trackCountingEff = cms.PSet(
394 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
395 workingPoint = cms.double(1.25)
397 trackCountingPur = cms.PSet(
398 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
399 workingPoint = cms.double(3.00)
401 secondaryVertex = cms.PSet(
402 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
403 workingPoint = cms.double(2.05)
405 cvsVertex = cms.PSet(
406 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
407 workingPoint = cms.double(0.898)
411 massExtras = cms.PSet(
412 lowerEdge = cms.double( 70.),
413 upperEdge = cms.double(110.)
416 preselection = cms.PSet(
418 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
419 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
422 selection = cms.VPSet(
424 label = cms.string(
"elecs:step0"),
425 src = cms.InputTag(
"slimmedElectrons"),
426 select = cms.string(
"pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660) &" + tightElecCut),
431 label = cms.string(
"jets:step1"),
432 src = cms.InputTag(
"slimmedJets"),
433 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
437 label = cms.string(
"met:step2"),
438 src = cms.InputTag(
"slimmedMETs"),
439 select = cms.string(
"pt>30"),