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" 16 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))" 18 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)" 21 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))" 23 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
24 singleTopTChannelLeptonDQM_miniAOD =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM_miniAOD',
28 directory = cms.string(
"Physics/Top/SingleTopDQM_miniAOD/"),
31 muons = cms.InputTag(
"slimmedMuons"),
32 elecs = cms.InputTag(
"slimmedElectrons"),
33 jets = cms.InputTag(
"slimmedJets"),
34 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
35 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
38 monitoring = cms.PSet(
39 verbosity = cms.string(
"DEBUG")
43 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
45 elecExtras = cms.PSet(
47 select = cms.string(looseElecCut+
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
48 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
53 muonExtras = cms.PSet(
55 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
56 isolation = cms.string(looseIsoCut),
61 select = cms.string(
"pt>30 & abs(eta)<2.4"),
64 triggerExtras = cms.PSet(
65 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
66 paths = cms.vstring([
'HLT_Mu3:HLT_QuadJet15U',
67 'HLT_Mu5:HLT_QuadJet15U',
68 'HLT_Mu7:HLT_QuadJet15U',
69 'HLT_Mu9:HLT_QuadJet15U'])
73 preselection = cms.PSet(
77 selection = cms.VPSet(
79 label = cms.string(
"jets/calo:step0"),
80 src = cms.InputTag(
"ak4CaloJets"),
81 select = cms.string(
"pt>20 & abs(eta)<2.1 & 0.05<emEnergyFraction"),
83 label = cms.InputTag(
"ak4JetID"),
84 select = cms.string(
"fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
91 singleTopMuonMediumDQM_miniAOD =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM_miniAOD',
94 directory = cms.string(
"Physics/Top/SingleTopMuonMediumDQM_miniAOD/"),
96 muons = cms.InputTag(
"slimmedMuons"),
97 elecs = cms.InputTag(
"slimmedElectrons"),
98 jets = cms.InputTag(
"slimmedJets"),
99 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
100 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
103 monitoring = cms.PSet(
104 verbosity = cms.string(
"DEBUG")
108 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
110 elecExtras = cms.PSet(
111 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
112 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
116 muonExtras = cms.PSet(
117 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
118 isolation = cms.string(looseIsoCut)
120 jetExtras = cms.PSet(
122 select = cms.string(
"pt>30 & abs(eta)<2.4"),
123 jetBTaggers = cms.PSet(
124 trackCountingEff = cms.PSet(
125 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
126 workingPoint = cms.double(1.25)
128 trackCountingPur = cms.PSet(
129 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
130 workingPoint = cms.double(3.41)
132 secondaryVertex = cms.PSet(
133 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
134 workingPoint = cms.double(2.05)
136 combinedSecondaryVertex = cms.PSet(
137 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
138 workingPoint = cms.double(0.898)
142 massExtras = cms.PSet(
143 lowerEdge = cms.double( 70.),
144 upperEdge = cms.double(110.)
147 preselection = cms.PSet(
149 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
150 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
154 selection = cms.VPSet(
156 label = cms.string(
"muons:step0"),
157 src = cms.InputTag(
"slimmedMuons"),
158 select = cms.string(looseMuonCut +
" && pt > 20 & abs(eta)<2.1"),
163 label = cms.string(
"jets:step1"),
164 src = cms.InputTag(
"slimmedJets"),
165 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
169 label = cms.string(
"met:step2"),
170 src = cms.InputTag(
"slimmedMETs"),
171 select = cms.string(
"pt>30"),
177 singleTopElectronMediumDQM_miniAOD =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM_miniAOD',
181 directory = cms.string(
"Physics/Top/SingleTopElectronMediumDQM_miniAOD/"),
184 muons = cms.InputTag(
"slimmedMuons"),
185 elecs = cms.InputTag(
"slimmedElectrons"),
186 jets = cms.InputTag(
"slimmedJets"),
187 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
188 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
192 monitoring = cms.PSet(
193 verbosity = cms.string(
"DEBUG")
197 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
199 elecExtras = cms.PSet(
200 select = cms.string(tightElecCut +
" && pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
202 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
205 muonExtras = cms.PSet(
206 select = cms.string(looseMuonCut +
" && pt>20 & abs(eta)<2.1"),
207 isolation = cms.string(looseIsoCut)
210 jetExtras = cms.PSet(
212 select = cms.string(
"pt>30 & abs(eta)<2.4"),
213 jetBTaggers = cms.PSet(
214 trackCountingEff = cms.PSet(
215 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
216 workingPoint = cms.double(1.25)
218 trackCountingPur = cms.PSet(
219 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
220 workingPoint = cms.double(3.41)
222 secondaryVertex = cms.PSet(
223 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
224 workingPoint = cms.double(2.05)
226 combinedSecondaryVertex = cms.PSet(
227 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
228 workingPoint = cms.double(0.898)
232 massExtras = cms.PSet(
233 lowerEdge = cms.double( 70.),
234 upperEdge = cms.double(110.)
239 preselection = cms.PSet(
241 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
242 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
246 selection = cms.VPSet(
248 label = cms.string(
"elecs:step0"),
249 src = cms.InputTag(
"slimmedElectrons"),
250 select = cms.string(
"pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660) &&" + tightElecCut),
255 label = cms.string(
"jets:step1"),
256 src = cms.InputTag(
"slimmedJets"),
257 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
261 label = cms.string(
"met:step2"),
262 src = cms.InputTag(
"slimmedMETs"),
263 select = cms.string(
"pt>30"),