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 trackCountingEff = cms.PSet(
200 label = cms.InputTag(
"pfTrackCountingHighEffBJetTags" ),
201 workingPoint = cms.double(1.25)
203 trackCountingPur = cms.PSet(
204 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
205 workingPoint = cms.double(3.00)
207 secondaryVertex = cms.PSet(
208 label = cms.InputTag(
"pfSimpleSecondaryVertexHighEffBJetTags"),
209 workingPoint = cms.double(2.05)
211 cvsVertex = cms.PSet(
212 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
213 workingPoint = cms.double(0.970)
220 massExtras = cms.PSet(
221 lowerEdge = cms.double( 70.),
222 upperEdge = cms.double(110.)
226 triggerExtras = cms.PSet(
227 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
228 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
229 'HLT_Mu5:HLT_QuadJet15U',
230 'HLT_Mu7:HLT_QuadJet15U',
231 'HLT_Mu9:HLT_QuadJet15U',
232 'HLT_Mu11:HLT_QuadJet15U'])
242 preselection = cms.PSet(
250 src = cms.InputTag(
"offlinePrimaryVertices"),
251 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
262 selection = cms.VPSet(
264 label = cms.string(
"muons:step0"),
265 src = cms.InputTag(
"pfIsolatedMuonsEI"),
266 select = cms.string(looseMuonCut + looseIsoCut +
" && pt>10 & abs(eta)<2.4"),
270 label = cms.string(
"jets/pf:step1"),
271 src = cms.InputTag(
"ak4PFJetsCHS"),
272 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
274 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
282 label = cms.string(
"jets/pf:step2"),
283 src = cms.InputTag(
"ak4PFJetsCHS"),
284 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
285 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
293 label = cms.string(
"jets/pf:step3"),
294 src = cms.InputTag(
"ak4PFJetsCHS"),
295 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
296 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
304 label = cms.string(
"jets/pf:step4"),
305 src = cms.InputTag(
"ak4PFJetsCHS"),
306 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
307 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
316 topSingleMuonMediumDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
327 directory = cms.string(
"Physics/Top/TopSingleMuonMediumDQM/"),
330 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
331 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
332 jets = cms.InputTag(
"ak4PFJetsCHS"),
333 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
334 pvs = cms.InputTag(
"offlinePrimaryVertices")
338 monitoring = cms.PSet(
339 verbosity = cms.string(
"DEBUG")
346 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
350 muonExtras = cms.PSet(
353 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
356 isolation = cms.string(looseIsoCut)
360 jetExtras = cms.PSet(
363 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
373 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
375 jetBTaggers = cms.PSet(
376 trackCountingEff = cms.PSet(
377 label = cms.InputTag(
"pfTrackCountingHighEffBJetTags" ),
378 workingPoint = cms.double(1.25)
380 trackCountingPur = cms.PSet(
381 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
382 workingPoint = cms.double(3.00)
384 secondaryVertex = cms.PSet(
385 label = cms.InputTag(
"pfSimpleSecondaryVertexHighEffBJetTags"),
386 workingPoint = cms.double(2.05)
388 cvsVertex = cms.PSet(
389 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
390 workingPoint = cms.double(0.970)
397 massExtras = cms.PSet(
398 lowerEdge = cms.double( 70.),
399 upperEdge = cms.double(110.)
419 preselection = cms.PSet(
427 src = cms.InputTag(
"offlinePrimaryVertices"),
428 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
439 selection = cms.VPSet(
441 label = cms.string(
"muons:step0"),
442 src = cms.InputTag(
"pfIsolatedMuonsEI"),
443 select = cms.string(tightMuonCut +
"&&"+ tightIsoCut +
" && pt>20 & abs(eta)<2.1"),
448 label = cms.string(
"jets/pf:step1"),
450 src = cms.InputTag(
"ak4PFJetsCHS"),
452 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
454 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
462 label = cms.string(
"jets/pf:step2"),
463 src = cms.InputTag(
"ak4PFJetsCHS"),
464 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
465 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
473 label = cms.string(
"jets/pf:step3"),
474 src = cms.InputTag(
"ak4PFJetsCHS"),
475 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
476 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
484 label = cms.string(
"jets/pf:step4"),
485 src = cms.InputTag(
"ak4PFJetsCHS"),
486 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
487 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
497 topSingleElectronLooseDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
508 directory = cms.string(
"Physics/Top/TopSingleElectronLooseDQM/"),
511 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
512 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
513 jets = cms.InputTag(
"ak4PFJetsCHS"),
514 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
515 pvs = cms.InputTag(
"offlinePrimaryVertices")
519 monitoring = cms.PSet(
520 verbosity = cms.string(
"DEBUG")
527 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
531 elecExtras = cms.PSet(
536 select = cms.string(
"pt>20 & abs(eta)<2.5"),
539 isolation = cms.string(ElelooseIsoCut),
543 jetExtras = cms.PSet(
546 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
557 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
559 jetBTaggers = cms.PSet(
560 trackCountingEff = cms.PSet(
561 label = cms.InputTag(
"pfTrackCountingHighEffBJetTags" ),
562 workingPoint = cms.double(1.25)
564 trackCountingPur = cms.PSet(
565 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
566 workingPoint = cms.double(3.00)
568 secondaryVertex = cms.PSet(
569 label = cms.InputTag(
"pfSimpleSecondaryVertexHighEffBJetTags"),
570 workingPoint = cms.double(2.05)
572 cvsVertex = cms.PSet(
573 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
574 workingPoint = cms.double(0.970)
581 massExtras = cms.PSet(
582 lowerEdge = cms.double( 70.),
583 upperEdge = cms.double(110.)
587 triggerExtras = cms.PSet(
588 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
589 paths = cms.vstring([
'HLT_Ele15_LW_L1R:HLT_QuadJetU15'])
599 preselection = cms.PSet(
607 src = cms.InputTag(
"offlinePrimaryVertices"),
608 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
619 selection = cms.VPSet(
621 label = cms.string(
"elecs:step0"),
622 src = cms.InputTag(
"pfIsolatedElectronsEI"),
623 select = cms.string(
"pt>20 & abs(eta)<2.5 && "+ElelooseIsoCut),
627 label = cms.string(
"jets/pf:step1"),
628 src = cms.InputTag(
"ak4PFJetsCHS"),
629 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
630 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
638 label = cms.string(
"jets/pf:step2"),
639 src = cms.InputTag(
"ak4PFJetsCHS"),
640 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
641 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
649 label = cms.string(
"jets/pf:step3"),
650 src = cms.InputTag(
"ak4PFJetsCHS"),
651 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
652 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
660 label = cms.string(
"jets/pf:step4"),
661 src = cms.InputTag(
"ak4PFJetsCHS"),
662 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
663 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
673 topSingleElectronMediumDQM = cms.EDAnalyzer(
"TopSingleLeptonDQM",
684 directory = cms.string(
"Physics/Top/TopSingleElectronMediumDQM/"),
687 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
688 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
689 jets = cms.InputTag(
"ak4PFJetsCHS"),
690 mets = cms.VInputTag(
"caloMet",
"tcMet",
"pfMet"),
691 pvs = cms.InputTag(
"offlinePrimaryVertices")
695 monitoring = cms.PSet(
696 verbosity = cms.string(
"DEBUG")
703 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
707 elecExtras = cms.PSet(
712 select = cms.string(
"pt>20 & abs(eta)<2.5"),
715 isolation = cms.string(ElelooseIsoCut),
719 jetExtras = cms.PSet(
722 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
732 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
734 jetBTaggers = cms.PSet(
735 trackCountingEff = cms.PSet(
736 label = cms.InputTag(
"pfTrackCountingHighEffBJetTags" ),
737 workingPoint = cms.double(1.25)
739 trackCountingPur = cms.PSet(
740 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
741 workingPoint = cms.double(3.00)
743 secondaryVertex = cms.PSet(
744 label = cms.InputTag(
"pfSimpleSecondaryVertexHighEffBJetTags"),
745 workingPoint = cms.double(2.05)
747 cvsVertex = cms.PSet(
748 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
749 workingPoint = cms.double(0.970)
756 massExtras = cms.PSet(
757 lowerEdge = cms.double( 70.),
758 upperEdge = cms.double(110.)
774 preselection = cms.PSet(
782 src = cms.InputTag(
"offlinePrimaryVertices"),
783 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
794 selection = cms.VPSet(
796 label = cms.string(
"elecs:step0"),
797 src = cms.InputTag(
"pfIsolatedElectronsEI"),
798 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),
803 label = cms.string(
"jets/pf:step1"),
804 src = cms.InputTag(
"ak4PFJetsCHS"),
805 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
806 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
814 label = cms.string(
"jets/pf:step2"),
815 src = cms.InputTag(
"ak4PFJetsCHS"),
816 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
817 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
825 label = cms.string(
"jets/pf:step3"),
826 src = cms.InputTag(
"ak4PFJetsCHS"),
827 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
828 select = cms.string(
"pt>30 & abs(eta)<2.5 "),
836 label = cms.string(
"jets/pf:step4"),
837 src = cms.InputTag(
"ak4PFJetsCHS"),
838 jetCorrector = cms.string(
"topDQMak5PFCHSL2L3"),
839 select = cms.string(
"pt>30 & abs(eta)<2.5 "),