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" 15 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))" 17 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)" 20 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))" 22 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
25 topSingleMuonMediumDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
27 directory = cms.string(
"Physics/Top/TopSingleMuonMediumDQM_miniAOD/"),
29 muons = cms.InputTag(
"slimmedMuons"),
30 elecs = cms.InputTag(
"slimmedElectrons"),
31 jets = cms.InputTag(
"slimmedJets"),
32 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsPuppi"),
33 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
36 monitoring = cms.PSet(
37 verbosity = cms.string(
"DEBUG")
40 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
42 elecExtras = cms.PSet(
43 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
44 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
48 muonExtras = cms.PSet(
49 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
50 isolation = cms.string(looseIsoCut)
53 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
54 jetBTaggers = cms.PSet(
55 trackCountingEff = cms.PSet(
56 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
57 workingPoint = cms.double(1.25)
59 trackCountingPur = cms.PSet(
60 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
61 workingPoint = cms.double(3.00)
63 secondaryVertex = cms.PSet(
64 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
65 workingPoint = cms.double(2.05)
68 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
69 workingPoint = cms.double(0.898)
73 massExtras = cms.PSet(
74 lowerEdge = cms.double( 70.),
75 upperEdge = cms.double(110.)
78 preselection = cms.PSet(
80 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
81 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
84 selection = cms.VPSet(
86 label = cms.string(
"muons:step0"),
87 src = cms.InputTag(
"slimmedMuons"),
88 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
93 label = cms.string(
"jets:step1"),
94 src = cms.InputTag(
"slimmedJets"),
95 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
99 label = cms.string(
"met:step2"),
100 src = cms.InputTag(
"slimmedMETs"),
101 select = cms.string(
"pt>30"),
121 topSingleElectronMediumDQM_miniAOD =
DQMEDAnalyzer(
'TopSingleLeptonDQM_miniAOD',
124 directory = cms.string(
"Physics/Top/TopSingleElectronMediumDQM_miniAOD/"),
126 muons = cms.InputTag(
"slimmedMuons"),
127 elecs = cms.InputTag(
"slimmedElectrons"),
128 jets = cms.InputTag(
"slimmedJets"),
129 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsPuppi"),
130 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
133 monitoring = cms.PSet(
134 verbosity = cms.string(
"DEBUG")
137 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
139 elecExtras = cms.PSet(
140 select = cms.string(tightElecCut +
" && pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
142 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
145 muonExtras = cms.PSet(
146 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
147 isolation = cms.string(looseIsoCut)
149 jetExtras = cms.PSet(
150 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
151 jetBTaggers = cms.PSet(
152 trackCountingEff = cms.PSet(
153 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
154 workingPoint = cms.double(1.25)
156 trackCountingPur = cms.PSet(
157 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
158 workingPoint = cms.double(3.00)
160 secondaryVertex = cms.PSet(
161 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
162 workingPoint = cms.double(2.05)
164 cvsVertex = cms.PSet(
165 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
166 workingPoint = cms.double(0.898)
170 massExtras = cms.PSet(
171 lowerEdge = cms.double( 70.),
172 upperEdge = cms.double(110.)
175 preselection = cms.PSet(
177 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
178 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
181 selection = cms.VPSet(
183 label = cms.string(
"elecs:step0"),
184 src = cms.InputTag(
"slimmedElectrons"),
185 select = cms.string(
"pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660) &" + tightElecCut),
190 label = cms.string(
"jets:step1"),
191 src = cms.InputTag(
"slimmedJets"),
192 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
196 label = cms.string(
"met:step2"),
197 src = cms.InputTag(
"slimmedMETs"),
198 select = cms.string(
"pt>30"),