1 import FWCore.ParameterSet.Config
as cms
3 looseMuonCut =
"muonRef.isNonnull && (muonRef.isGlobalMuon || muonRef.isTrackerMuon) && muonRef.isPFMuon"
4 looseIsoCut =
"(muonRef.pfIsolationR04.sumChargedHadronPt + max(0., muonRef.pfIsolationR04.sumNeutralHadronEt + muonRef.pfIsolationR04.sumPhotonEt - 0.5 * muonRef.pfIsolationR04.sumPUPt) ) / muonRef.pt < 0.2"
5 ElelooseIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.15"
6 EletightIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.1"
9 topDiLeptonOfflineDQM = cms.EDAnalyzer(
"TopDiLeptonOfflineDQM",
20 directory = cms.string(
"Physics/Top/TopDiLeptonDQM/"),
24 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
25 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
26 jets = cms.InputTag(
"ak4PFJetsCHS"),
27 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
30 monitoring = cms.PSet(
31 verbosity = cms.string(
"DEBUG")
35 elecExtras = cms.PSet(
40 select = cms.string(
"pt>20. && abs(eta)<2.5"),
43 isolation = cms.string(ElelooseIsoCut),
47 muonExtras = cms.PSet(
50 select = cms.string(looseMuonCut +
" && muonRef.pt > 10. && abs(muonRef.eta)<2.4"),
53 isolation = cms.string(looseIsoCut),
60 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
70 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
74 massExtras = cms.PSet(
75 lowerEdge = cms.double( 76.0),
76 upperEdge = cms.double(106.0)
101 preselection = cms.PSet(
109 src = cms.InputTag(
"offlinePrimaryVertices"),
110 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
123 selection = cms.VPSet(
131 label = cms.string(
"muons:step0"),
132 src = cms.InputTag(
"pfIsolatedMuonsEI"),
133 select = cms.string(looseMuonCut +
" && "+ looseIsoCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
138 label = cms.string(
"jets/pf:step1"),
139 src = cms.InputTag(
"ak4PFJetsCHS"),
140 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
154 DiMuonDQM = cms.EDAnalyzer(
"TopDiLeptonOfflineDQM",
165 directory = cms.string(
"Physics/Top/TopDiMuonDQM/"),
169 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
170 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
171 jets = cms.InputTag(
"ak4PFJetsCHS"),
172 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
175 monitoring = cms.PSet(
176 verbosity = cms.string(
"DEBUG")
180 elecExtras = cms.PSet(
185 select = cms.string(
"pt>20. && abs(eta)<2.5"),
188 isolation = cms.string(ElelooseIsoCut),
192 muonExtras = cms.PSet(
195 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
198 isolation = cms.string(looseIsoCut),
202 jetExtras = cms.PSet(
205 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
215 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
219 massExtras = cms.PSet(
220 lowerEdge = cms.double( 76.0),
221 upperEdge = cms.double(106.0)
246 preselection = cms.PSet(
254 src = cms.InputTag(
"offlinePrimaryVertices"),
255 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
268 selection = cms.VPSet(
276 label = cms.string(
"muons:step0"),
277 src = cms.InputTag(
"pfIsolatedMuonsEI"),
278 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
283 label = cms.string(
"jets/pf:step1"),
284 src = cms.InputTag(
"ak4PFJetsCHS"),
285 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
286 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
297 DiElectronDQM = cms.EDAnalyzer(
"TopDiLeptonOfflineDQM",
308 directory = cms.string(
"Physics/Top/TopDiElectronDQM/"),
312 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
313 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
314 jets = cms.InputTag(
"ak4PFJetsCHS"),
315 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
318 monitoring = cms.PSet(
319 verbosity = cms.string(
"DEBUG")
323 elecExtras = cms.PSet(
328 select = cms.string(
"pt>20. && abs(eta)<2.5"),
331 isolation = cms.string(ElelooseIsoCut),
335 muonExtras = cms.PSet(
338 select = cms.string(looseMuonCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
341 isolation = cms.string(looseIsoCut),
345 jetExtras = cms.PSet(
348 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
358 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
362 massExtras = cms.PSet(
363 lowerEdge = cms.double( 76.0),
364 upperEdge = cms.double(106.0)
389 preselection = cms.PSet(
397 src = cms.InputTag(
"offlinePrimaryVertices"),
398 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
411 selection = cms.VPSet(
419 label = cms.string(
"elecs:step0"),
420 src = cms.InputTag(
"pfIsolatedElectronsEI"),
422 select = cms.string(
"pt>20 & abs(eta)<2.5 && gsfElectronRef.gsfTrack.hitPattern().numberOfHits('MISSING_INNER_HITS') <= 0 && " + ElelooseIsoCut),
428 label = cms.string(
"jets/pf:step1"),
429 src = cms.InputTag(
"ak4PFJetsCHS"),
430 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
431 select = cms.string(
"pt>30. & abs(eta)<2.4"),
442 ElecMuonDQM = cms.EDAnalyzer(
"TopDiLeptonOfflineDQM",
453 directory = cms.string(
"Physics/Top/TopElecMuonDQM/"),
457 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
458 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
459 jets = cms.InputTag(
"ak4PFJetsCHS"),
460 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet")
463 monitoring = cms.PSet(
464 verbosity = cms.string(
"DEBUG")
468 elecExtras = cms.PSet(
473 select = cms.string(
"pt>10. && abs(eta)<2.4 && abs(gsfElectronRef.gsfTrack.d0)<1. && abs(gsfElectronRef.gsfTrack.dz)<20."),
476 isolation = cms.string(ElelooseIsoCut),
480 muonExtras = cms.PSet(
483 select = cms.string(looseMuonCut +
" && muonRef.pt > 10. && abs(muonRef.eta)<2.4"),
486 isolation = cms.string(looseIsoCut),
490 jetExtras = cms.PSet(
493 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
503 select = cms.string(
"pt>30. & abs(eta)<2.4 "),
507 massExtras = cms.PSet(
508 lowerEdge = cms.double( 76.0),
509 upperEdge = cms.double(106.0)
534 preselection = cms.PSet(
542 src = cms.InputTag(
"offlinePrimaryVertices"),
543 select = cms.string(
'abs(x)<1. && abs(y)<1. && abs(z)<20. && tracksSize>3 && !isFake')
556 selection = cms.VPSet(
564 label = cms.string(
"muons:step0"),
565 src = cms.InputTag(
"pfIsolatedMuonsEI"),
566 select = cms.string(looseMuonCut +
" && " + looseIsoCut +
" && muonRef.pt > 20. && abs(muonRef.eta)<2.4"),
571 label = cms.string(
"elecs:step1"),
572 src = cms.InputTag(
"pfIsolatedElectronsEI"),
574 select = cms.string(
"pt>20 & abs(eta)<2.5 && "+ElelooseIsoCut),
579 label = cms.string(
"jets/pf:step2"),
580 src = cms.InputTag(
"ak4PFJetsCHS"),
581 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
582 select = cms.string(
"pt>30. & abs(eta)<2.4 "),