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"
6 tightMuonCut =
"muonRef.isNonnull && muonRef.isGlobalMuon && muonRef.isPFMuon && muonRef.globalTrack.normalizedChi2 < 10. && muonRef.globalTrack.hitPattern.numberOfValidMuonHits > 0 && " + \
7 "muonRef.numberOfMatchedStations > 1 && muonRef.innerTrack.hitPattern.numberOfValidPixelHits > 0 && muonRef.innerTrack.hitPattern.trackerLayersWithMeasurement > 8"
9 tightIsoCut =
"(muonRef.pfIsolationR04.sumChargedHadronPt + max(0., muonRef.pfIsolationR04.sumNeutralHadronEt + muonRef.pfIsolationR04.sumPhotonEt - 0.5 * muonRef.pfIsolationR04.sumPUPt) ) / muonRef.pt < 0.12"
11 EletightIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.1"
12 ElelooseIsoCut =
"(gsfElectronRef.pfIsolationVariables.sumChargedHadronPt + max(0., gsfElectronRef.pfIsolationVariables.sumNeutralHadronEt + gsfElectronRef.pfIsolationVariables.sumPhotonEt - 0.5 * gsfElectronRef.pfIsolationVariables.sumPUPt) ) / gsfElectronRef.pt < 0.15"
14 topSingleLeptonDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
25 directory = cms.string(
"Physics/Top/TopSingleLeptonDQM/"),
28 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
29 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
30 jets = cms.InputTag(
"ak4PFJetsCHS"),
31 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
32 pvs = cms.InputTag(
"offlinePrimaryVertices")
35 monitoring = cms.PSet(
36 verbosity = cms.string(
"DEBUG")
43 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
47 elecExtras = cms.PSet(
52 select = cms.string(
"pt>15 & abs(eta)<2.5 & abs(gsfTrack.d0)<1 & abs(gsfTrack.dz)<20"),
55 isolation = cms.string(ElelooseIsoCut),
59 muonExtras = cms.PSet(
62 select = cms.string(looseMuonCut +
" && pt>10 & abs(eta)<2.4"),
65 isolation = cms.string(looseIsoCut),
72 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
82 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
86 massExtras = cms.PSet(
87 lowerEdge = cms.double( 70.),
88 upperEdge = cms.double(110.)
92 triggerExtras = cms.PSet(
93 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
94 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
95 'HLT_Mu5:HLT_QuadJet15U',
96 'HLT_Mu7:HLT_QuadJet15U',
97 'HLT_Mu9:HLT_QuadJet15U'])
107 preselection = cms.PSet(
115 src = cms.InputTag(
"offlinePrimaryVertices"),
116 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
128 selection = cms.VPSet(
130 label = cms.string(
"jets/pf:step0"),
131 src = cms.InputTag(
"ak4PFJetsCHS"),
132 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
142 topSingleMuonLooseDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
153 directory = cms.string(
"Physics/Top/TopSingleMuonLooseDQM/"),
156 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
157 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
158 jets = cms.InputTag(
"ak4PFJetsCHS"),
159 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
160 pvs = cms.InputTag(
"offlinePrimaryVertices")
163 monitoring = cms.PSet(
164 verbosity = cms.string(
"DEBUG")
169 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
173 muonExtras = cms.PSet(
176 select = cms.string(looseMuonCut +
" && pt > 10 & abs(eta)<2.4"),
179 isolation = cms.string(looseIsoCut)
183 jetExtras = cms.PSet(
186 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
196 select = cms.string(
"pt>30 & abs(eta)<2.5"),
198 jetBTaggers = cms.PSet(
199 cvsVertex = cms.PSet(
200 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
201 workingPoint = cms.double(0.970)
208 massExtras = cms.PSet(
209 lowerEdge = cms.double( 70.),
210 upperEdge = cms.double(110.)
214 triggerExtras = cms.PSet(
215 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
216 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
217 'HLT_Mu5:HLT_QuadJet15U',
218 'HLT_Mu7:HLT_QuadJet15U',
219 'HLT_Mu9:HLT_QuadJet15U',
220 'HLT_Mu11:HLT_QuadJet15U'])
230 preselection = cms.PSet(
238 src = cms.InputTag(
"offlinePrimaryVertices"),
239 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
250 selection = cms.VPSet(
252 label = cms.string(
"muons:step0"),
253 src = cms.InputTag(
"pfIsolatedMuonsEI"),
254 select = cms.string(looseMuonCut + looseIsoCut +
" && pt>10 & abs(eta)<2.4"),
258 label = cms.string(
"jets/pf:step1"),
259 src = cms.InputTag(
"ak4PFJetsCHS"),
260 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
262 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
270 label = cms.string(
"jets/pf:step2"),
271 src = cms.InputTag(
"ak4PFJetsCHS"),
272 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
273 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
281 label = cms.string(
"jets/pf:step3"),
282 src = cms.InputTag(
"ak4PFJetsCHS"),
283 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
284 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
292 label = cms.string(
"jets/pf:step4"),
293 src = cms.InputTag(
"ak4PFJetsCHS"),
294 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
295 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
304 topSingleMuonMediumDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
315 directory = cms.string(
"Physics/Top/TopSingleMuonMediumDQM/"),
318 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
319 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
320 jets = cms.InputTag(
"ak4PFJetsCHS"),
321 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
322 pvs = cms.InputTag(
"offlinePrimaryVertices")
326 monitoring = cms.PSet(
327 verbosity = cms.string(
"DEBUG")
334 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
338 muonExtras = cms.PSet(
341 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
344 isolation = cms.string(looseIsoCut)
348 jetExtras = cms.PSet(
351 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
361 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
363 jetBTaggers = cms.PSet(
364 cvsVertex = cms.PSet(
365 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
366 workingPoint = cms.double(0.970)
373 massExtras = cms.PSet(
374 lowerEdge = cms.double( 70.),
375 upperEdge = cms.double(110.)
395 preselection = cms.PSet(
403 src = cms.InputTag(
"offlinePrimaryVertices"),
404 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
415 selection = cms.VPSet(
417 label = cms.string(
"muons:step0"),
418 src = cms.InputTag(
"pfIsolatedMuonsEI"),
419 select = cms.string(tightMuonCut +
"&&"+ tightIsoCut +
" && pt>20 & abs(eta)<2.1"),
424 label = cms.string(
"jets/pf:step1"),
426 src = cms.InputTag(
"ak4PFJetsCHS"),
428 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
430 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
438 label = cms.string(
"jets/pf:step2"),
439 src = cms.InputTag(
"ak4PFJetsCHS"),
440 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
441 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
449 label = cms.string(
"jets/pf:step3"),
450 src = cms.InputTag(
"ak4PFJetsCHS"),
451 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
452 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
460 label = cms.string(
"jets/pf:step4"),
461 src = cms.InputTag(
"ak4PFJetsCHS"),
462 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
463 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
473 topSingleElectronLooseDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
484 directory = cms.string(
"Physics/Top/TopSingleElectronLooseDQM/"),
487 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
488 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
489 jets = cms.InputTag(
"ak4PFJetsCHS"),
490 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
491 pvs = cms.InputTag(
"offlinePrimaryVertices")
495 monitoring = cms.PSet(
496 verbosity = cms.string(
"DEBUG")
503 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
507 elecExtras = cms.PSet(
512 select = cms.string(
"pt>20 & abs(eta)<2.5"),
515 isolation = cms.string(ElelooseIsoCut),
519 jetExtras = cms.PSet(
522 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
533 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
535 jetBTaggers = cms.PSet(
536 cvsVertex = cms.PSet(
537 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
538 workingPoint = cms.double(0.970)
545 massExtras = cms.PSet(
546 lowerEdge = cms.double( 70.),
547 upperEdge = cms.double(110.)
551 triggerExtras = cms.PSet(
552 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
553 paths = cms.vstring([
'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
563 preselection = cms.PSet(
571 src = cms.InputTag(
"offlinePrimaryVertices"),
572 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
583 selection = cms.VPSet(
585 label = cms.string(
"elecs:step0"),
586 src = cms.InputTag(
"pfIsolatedElectronsEI"),
587 select = cms.string(
"pt>20 & abs(eta)<2.5 && "+ElelooseIsoCut),
591 label = cms.string(
"jets/pf:step1"),
592 src = cms.InputTag(
"ak4PFJetsCHS"),
593 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
594 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
602 label = cms.string(
"jets/pf:step2"),
603 src = cms.InputTag(
"ak4PFJetsCHS"),
604 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
605 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
613 label = cms.string(
"jets/pf:step3"),
614 src = cms.InputTag(
"ak4PFJetsCHS"),
615 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
616 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
624 label = cms.string(
"jets/pf:step4"),
625 src = cms.InputTag(
"ak4PFJetsCHS"),
626 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
627 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
637 topSingleElectronMediumDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
648 directory = cms.string(
"Physics/Top/TopSingleElectronMediumDQM/"),
651 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
652 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
653 jets = cms.InputTag(
"ak4PFJetsCHS"),
654 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
655 pvs = cms.InputTag(
"offlinePrimaryVertices")
659 monitoring = cms.PSet(
660 verbosity = cms.string(
"DEBUG")
667 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
671 elecExtras = cms.PSet(
676 select = cms.string(
"pt>20 & abs(eta)<2.5"),
679 isolation = cms.string(ElelooseIsoCut),
683 jetExtras = cms.PSet(
686 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
696 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
698 jetBTaggers = cms.PSet(
699 cvsVertex = cms.PSet(
700 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
701 workingPoint = cms.double(0.970)
708 massExtras = cms.PSet(
709 lowerEdge = cms.double( 70.),
710 upperEdge = cms.double(110.)
726 preselection = cms.PSet(
734 src = cms.InputTag(
"offlinePrimaryVertices"),
735 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
746 selection = cms.VPSet(
748 label = cms.string(
"elecs:step0"),
749 src = cms.InputTag(
"pfIsolatedElectronsEI"),
750 select = cms.string(
"pt>30 & abs(eta)<2.5 & abs(gsfElectronRef.gsfTrack.d0)<0.02 & gsfElectronRef.gsfTrack.hitPattern().numberOfHits('MISSING_INNER_HITS') <= 0 & (abs(gsfElectronRef.superCluster.eta) <= 1.4442 || abs(gsfElectronRef.superCluster.eta) >= 1.5660) & " + EletightIsoCut),
755 label = cms.string(
"jets/pf:step1"),
756 src = cms.InputTag(
"ak4PFJetsCHS"),
757 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
758 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
766 label = cms.string(
"jets/pf:step2"),
767 src = cms.InputTag(
"ak4PFJetsCHS"),
768 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
769 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
777 label = cms.string(
"jets/pf:step3"),
778 src = cms.InputTag(
"ak4PFJetsCHS"),
779 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
780 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
788 label = cms.string(
"jets/pf:step4"),
789 src = cms.InputTag(
"ak4PFJetsCHS"),
790 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
791 select = cms.string(
"pt>30 & abs(eta)<2.5 "),