1 import FWCore.ParameterSet.Config
as cms
4 PVCut =
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake" 7 looseJetCut =
"(chargedHadronEnergyFraction()>0 && chargedMultiplicity()>0 && chargedEmEnergyFraction()<0.99 && neutralHadronEnergyFraction()<0.99 && neutralEmEnergyFraction()<0.99 && (chargedMultiplicity()+neutralMultiplicity())>1) && abs(eta)<=2.4 " 9 tightJetCut =
"(chargedHadronEnergyFraction()>0 && chargedMultiplicity()>0 && chargedEmEnergyFraction()<0.99 && neutralHadronEnergyFraction()<0.90 && neutralEmEnergyFraction()<0.90 && (chargedMultiplicity()+neutralMultiplicity())>1) && abs(eta)<=2.4 " 12 looseMuonCut =
"(muonRef.isNonnull && (muonRef.isGlobalMuon || muonRef.isTrackerMuon) && muonRef.isPFMuon)" 13 looseIsoCut =
"((muonRef.pfIsolationR04.sumChargedHadronPt + max(0., muonRef.pfIsolationR04.sumNeutralHadronEt + muonRef.pfIsolationR04.sumPhotonEt - 0.5 * muonRef.pfIsolationR04.sumPUPt) ) / muonRef.pt < 0.25)" 16 mediumMuonCut = looseMuonCut +
" muonRef.innerTrack.validFraction > 0.8" 19 tightMuonCut =
"muonRef.isNonnull && muonRef.isGlobalMuon && muonRef.isPFMuon && muonRef.globalTrack.normalizedChi2 < 10. && muonRef.globalTrack.hitPattern.numberOfValidMuonHits > 0 && " + \
20 "muonRef.numberOfMatchedStations > 1 && muonRef.innerTrack.hitPattern.numberOfValidPixelHits > 0 && muonRef.innerTrack.hitPattern.trackerLayersWithMeasurement > 5 " 21 tightIsoCut =
"(muonRef.pfIsolationR04.sumChargedHadronPt + max(0., muonRef.pfIsolationR04.sumNeutralHadronEt + muonRef.pfIsolationR04.sumPhotonEt - 0.5 * muonRef.pfIsolationR04.sumPUPt) ) / muonRef.pt < 0.15" 24 looseEleCut =
"(( gsfElectronRef.full5x5_sigmaIetaIeta() < 0.011 && gsfElectronRef.superCluster().isNonnull() && gsfElectronRef.superCluster().seed().isNonnull() && (gsfElectronRef.deltaEtaSuperClusterTrackAtVtx() - gsfElectronRef.superCluster().eta() + gsfElectronRef.superCluster().seed().eta()) < 0.00477 && abs(gsfElectronRef.deltaPhiSuperClusterTrackAtVtx()) < 0.222 && gsfElectronRef.hadronicOverEm() < 0.298 && abs(1.0 - gsfElectronRef.eSuperClusterOverP())*1.0/gsfElectronRef.ecalEnergy() < 0.241 && gsfElectronRef.gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(gsfElectronRef.superCluster().eta()) < 1.479) || (gsfElectronRef.full5x5_sigmaIetaIeta() < 0.0314 && gsfElectronRef.superCluster().isNonnull() && gsfElectronRef.superCluster().seed().isNonnull() && (gsfElectronRef.deltaEtaSuperClusterTrackAtVtx() - gsfElectronRef.superCluster().eta() + gsfElectronRef.superCluster().seed().eta()) < 0.00868 && abs(gsfElectronRef.deltaPhiSuperClusterTrackAtVtx()) < 0.213 && gsfElectronRef.hadronicOverEm() < 0.101 && abs(1.0 - gsfElectronRef.eSuperClusterOverP())*1.0/gsfElectronRef.ecalEnergy() < 0.14 && gsfElectronRef.gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(gsfElectronRef.superCluster().eta()) > 1.479))" 26 tightEleCut =
"((gsfElectronRef.full5x5_sigmaIetaIeta() < 0.00998 && gsfElectronRef.superCluster().isNonnull() && gsfElectronRef.superCluster().seed().isNonnull() && (gsfElectronRef.deltaEtaSuperClusterTrackAtVtx() - gsfElectronRef.superCluster().eta() + gsfElectronRef.superCluster().seed().eta()) < 0.00308 && abs(gsfElectronRef.deltaPhiSuperClusterTrackAtVtx()) < 0.0816 && gsfElectronRef.hadronicOverEm() < 0.0414 && abs(1.0 - gsfElectronRef.eSuperClusterOverP())*1.0/gsfElectronRef.ecalEnergy() < 0.0129 && gsfElectronRef.gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(gsfElectronRef.superCluster().eta()) < 1.479) || (gsfElectronRef.full5x5_sigmaIetaIeta() < 0.0292 && gsfElectronRef.superCluster().isNonnull() && gsfElectronRef.superCluster().seed().isNonnull() && (gsfElectronRef.deltaEtaSuperClusterTrackAtVtx() - gsfElectronRef.superCluster().eta() + gsfElectronRef.superCluster().seed().eta()) < 0.00605 && abs(gsfElectronRef.deltaPhiSuperClusterTrackAtVtx()) < 0.0394 && gsfElectronRef.hadronicOverEm() < 0.0641 && abs(1.0 - gsfElectronRef.eSuperClusterOverP())*1.0/gsfElectronRef.ecalEnergy() < 0.0129 && gsfElectronRef.gsfTrack.hitPattern().numberOfLostHits('MISSING_INNER_HITS') <= 1 && abs(gsfElectronRef.superCluster().eta()) > 1.479))" 28 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
29 singleTopTChannelLeptonDQM =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM',
40 directory = cms.string(
"Physics/Top/SingleTopDQM/"),
43 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
44 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
45 jets = cms.InputTag(
"ak4PFJetsCHS"),
46 mets = cms.VInputTag(
"met",
"tcMet",
"pfMetEI"),
47 pvs = cms.InputTag(
"offlinePrimaryVertices")
50 monitoring = cms.PSet(
51 verbosity = cms.string(
"DEBUG")
62 elecExtras = cms.PSet(
67 select = cms.string(
"pt>15 & abs(eta)<2.5 & abs(gsfElectronRef.gsfTrack.d0)<1 & abs(gsfElectronRef.gsfTrack.dz)<20"),
74 muonExtras = cms.PSet(
77 select = cms.string(
"pt>10 & abs(eta)<2.1 & isGlobalMuon & abs(globalTrack.d0)<1 & abs(globalTrack.dz)<20"),
87 jetCorrector = cms.string(
"ak4CaloL2L3"),
97 select = cms.string(
"pt>15 & abs(eta)<2.5 & emEnergyFraction>0.01"),
107 triggerExtras = cms.PSet(
108 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
109 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
110 'HLT_Mu5:HLT_QuadJet15U',
111 'HLT_Mu7:HLT_QuadJet15U',
112 'HLT_Mu9:HLT_QuadJet15U'])
122 preselection = cms.PSet(
143 selection = cms.VPSet(
145 label = cms.string(
"jets/calo:step0"),
146 src = cms.InputTag(
"ak4CaloJets"),
147 select = cms.string(
"pt>20 & abs(eta)<2.1 & 0.05<emEnergyFraction"),
149 label = cms.InputTag(
"ak4JetID"),
150 select = cms.string(
"fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
157 singleTopMuonMediumDQM =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM',
165 directory = cms.string(
"Physics/Top/SingleTopMuonMediumDQM/"),
167 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
168 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
169 jets = cms.InputTag(
"ak4PFJetsCHS"),
170 mets = cms.VInputTag(
"pfMet"),
171 pvs = cms.InputTag(
"offlinePrimaryVertices")
173 monitoring = cms.PSet(
174 verbosity = cms.string(
"DEBUG")
177 select = cms.string(PVCut)
179 elecExtras = cms.PSet(
180 select = cms.string(tightEleCut +
"& pt>20 & abs(eta)<2.5 & (abs(gsfElectronRef.superCluster().eta()) <= 1.4442 || abs(gsfElectronRef.superCluster().eta()) >= 1.5660)"),
181 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
183 muonExtras = cms.PSet(
184 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
185 isolation = cms.string(looseIsoCut)
187 jetExtras = cms.PSet(
188 jetCorrector = cms.InputTag(
"ak4PFCHSL1FastL2L3Corrector"),
189 select = cms.string(
"pt>30 & abs(eta)< 2.4"),
190 jetBTaggers = cms.PSet(
191 cvsVertex = cms.PSet(
192 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
193 workingPoint = cms.double(0.890)
197 massExtras = cms.PSet(
198 lowerEdge = cms.double( 70.),
199 upperEdge = cms.double(110.)
205 preselection = cms.PSet(
207 src = cms.InputTag(
"offlinePrimaryVertices"),
208 select = cms.string(PVCut)
214 selection = cms.VPSet(
216 label = cms.string(
"muons/pf:step0"),
217 src = cms.InputTag(
"pfIsolatedMuonsEI"),
218 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
222 label = cms.string(
"jets/pf:step1"),
223 src = cms.InputTag(
"ak4PFJetsCHS"),
224 select = cms.string(
"pt>30 & abs(eta)<2.4"),
228 label = cms.string(
"met:step2"),
229 src = cms.InputTag(
"pfMet"),
230 select = cms.string(
"pt>30"),
235 singleTopElectronMediumDQM =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM',
246 directory = cms.string(
"Physics/Top/SingleTopElectronMediumDQM/"),
248 muons = cms.InputTag(
"pfIsolatedMuonsEI"),
249 elecs = cms.InputTag(
"pfIsolatedElectronsEI"),
250 jets = cms.InputTag(
"ak4PFJetsCHS"),
251 mets = cms.VInputTag(
"pfMet"),
252 pvs = cms.InputTag(
"offlinePrimaryVertices")
254 monitoring = cms.PSet(
255 verbosity = cms.string(
"DEBUG")
258 select = cms.string(PVCut)
260 elecExtras = cms.PSet(
261 select = cms.string(tightEleCut +
"& pt>20 & abs(eta)<2.5 & (abs(gsfElectronRef.superCluster().eta()) <= 1.4442 || abs(gsfElectronRef.superCluster().eta()) >= 1.5660)"),
262 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
264 muonExtras = cms.PSet(
265 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
266 isolation = cms.string(looseIsoCut)
268 jetExtras = cms.PSet(
269 jetCorrector = cms.InputTag(
"ak4PFCHSL1FastL2L3Corrector"),
270 select = cms.string(
"pt>30 & abs(eta)< 2.4"),
271 jetBTaggers = cms.PSet(
272 cvsVertex = cms.PSet(
273 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
274 workingPoint = cms.double(0.890)
278 massExtras = cms.PSet(
279 lowerEdge = cms.double( 70.),
280 upperEdge = cms.double(110.)
286 preselection = cms.PSet(
288 src = cms.InputTag(
"offlinePrimaryVertices"),
289 select = cms.string(PVCut)
295 selection = cms.VPSet(
310 label = cms.string(
"elecs/pf:step0"),
311 src = cms.InputTag(
"pfIsolatedElectronsEI"),
312 select = cms.string(
"pt>20 & abs(eta)<2.5 & (abs(gsfElectronRef.superCluster().eta()) <= 1.4442 || abs(gsfElectronRef.superCluster().eta()) >= 1.5660) &&" + tightEleCut),
316 label = cms.string(
"jets/pf:step1"),
317 src = cms.InputTag(
"ak4PFJetsCHS"),
318 select = cms.string(
"pt>30 & abs(eta)<2.4"),
322 label = cms.string(
"met:step2"),
323 src = cms.InputTag(
"pfMet"),
324 select = cms.string(
"pt>30"),