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
25 singleTopMuonMediumDQM_miniAOD =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM_miniAOD',
28 directory = cms.string(
"Physics/Top/SingleTopMuonMediumDQM_miniAOD/"),
30 muons = cms.InputTag(
"slimmedMuons"),
31 elecs = cms.InputTag(
"slimmedElectrons"),
32 jets = cms.InputTag(
"slimmedJets"),
33 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
34 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
37 monitoring = cms.PSet(
38 verbosity = cms.string(
"DEBUG")
42 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
44 elecExtras = cms.PSet(
45 select = cms.string(tightElecCut +
"&& pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
46 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
50 muonExtras = cms.PSet(
51 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
52 isolation = cms.string(looseIsoCut)
56 select = cms.string(
"pt>30 & abs(eta)<2.4"),
57 jetBTaggers = cms.PSet(
58 trackCountingEff = cms.PSet(
59 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
60 workingPoint = cms.double(1.25)
62 trackCountingPur = cms.PSet(
63 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
64 workingPoint = cms.double(3.41)
66 secondaryVertex = cms.PSet(
67 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
68 workingPoint = cms.double(2.05)
70 combinedSecondaryVertex = cms.PSet(
71 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
72 workingPoint = cms.double(0.898)
76 massExtras = cms.PSet(
77 lowerEdge = cms.double( 70.),
78 upperEdge = cms.double(110.)
81 preselection = cms.PSet(
83 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
84 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
88 selection = cms.VPSet(
90 label = cms.string(
"muons:step0"),
91 src = cms.InputTag(
"slimmedMuons"),
92 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
97 label = cms.string(
"jets:step1"),
98 src = cms.InputTag(
"slimmedJets"),
99 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
103 label = cms.string(
"met:step2"),
104 src = cms.InputTag(
"slimmedMETs"),
105 select = cms.string(
"pt>30"),
111 singleTopElectronMediumDQM_miniAOD =
DQMEDAnalyzer(
'SingleTopTChannelLeptonDQM_miniAOD',
115 directory = cms.string(
"Physics/Top/SingleTopElectronMediumDQM_miniAOD/"),
118 muons = cms.InputTag(
"slimmedMuons"),
119 elecs = cms.InputTag(
"slimmedElectrons"),
120 jets = cms.InputTag(
"slimmedJets"),
121 mets = cms.VInputTag(
"slimmedMETs",
"slimmedMETsNoHF",
"slimmedMETsPuppi"),
122 pvs = cms.InputTag(
"offlineSlimmedPrimaryVertices")
126 monitoring = cms.PSet(
127 verbosity = cms.string(
"DEBUG")
131 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
133 elecExtras = cms.PSet(
134 select = cms.string(tightElecCut +
" && pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660)"),
136 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
139 muonExtras = cms.PSet(
140 select = cms.string(tightMuonCut +
" && pt>20 & abs(eta)<2.4 && " + looseIsoCut),
141 isolation = cms.string(looseIsoCut)
144 jetExtras = cms.PSet(
146 select = cms.string(
"pt>30 & abs(eta)<2.4"),
147 jetBTaggers = cms.PSet(
148 trackCountingEff = cms.PSet(
149 label = cms.InputTag(
"trackCountingHighEffBJetTags" ),
150 workingPoint = cms.double(1.25)
152 trackCountingPur = cms.PSet(
153 label = cms.InputTag(
"trackCountingHighPurBJetTags" ),
154 workingPoint = cms.double(3.41)
156 secondaryVertex = cms.PSet(
157 label = cms.InputTag(
"simpleSecondaryVertexHighEffBJetTags"),
158 workingPoint = cms.double(2.05)
160 combinedSecondaryVertex = cms.PSet(
161 label = cms.InputTag(
"combinedSecondaryVertexBJetTags"),
162 workingPoint = cms.double(0.898)
166 massExtras = cms.PSet(
167 lowerEdge = cms.double( 70.),
168 upperEdge = cms.double(110.)
173 preselection = cms.PSet(
175 src = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
176 select = cms.string(
"abs(z) < 24. & position.rho < 2. & ndof > 4 & !isFake")
180 selection = cms.VPSet(
182 label = cms.string(
"elecs:step0"),
183 src = cms.InputTag(
"slimmedElectrons"),
184 select = cms.string(
"pt>20 & abs(eta)<2.5 & (abs(superCluster.eta) <= 1.4442 || abs(superCluster.eta) >= 1.5660) &&" + tightElecCut),
189 label = cms.string(
"jets:step1"),
190 src = cms.InputTag(
"slimmedJets"),
191 select = cms.string(
"pt>30 & abs(eta)<2.4 "),
195 label = cms.string(
"met:step2"),
196 src = cms.InputTag(
"slimmedMETs"),
197 select = cms.string(
"pt>30"),