1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
4 SingleTopSingleMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
15 directory = cms.string(
"HLT/TOP/SingleTop/SingleMuon/"),
18 muons = cms.InputTag(
"muons"),
19 elecs = cms.InputTag(
"gedGsfElectrons"),
20 jets = cms.InputTag(
"ak4PFJetsCHS"),
21 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
22 pvs = cms.InputTag(
"offlinePrimaryVertices")
30 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
34 muonExtras = cms.PSet(
37 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
40 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
51 select = cms.string(
"pt>40 & abs(eta)<5.0"),
53 jetBTaggers = cms.PSet(
54 trackCountingEff = cms.PSet(
55 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
56 workingPoint = cms.double(0.275)
62 secondaryVertex = cms.PSet(
63 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
64 workingPoint = cms.double(0.890)
70 massExtras = cms.PSet(
71 lowerEdge = cms.double( 70.),
72 upperEdge = cms.double(110.)
76 triggerExtras = cms.PSet(
77 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
79 paths = cms.vstring([
'HLT_IsoMu27_v',
90 preselection = cms.PSet(
92 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
94 select = cms.vstring([
'HLT_IsoMu27_v',
99 src = cms.InputTag(
"offlinePrimaryVertices"),
100 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
111 selection = cms.VPSet(
113 label = cms.string(
"Hlt:step0"),
114 src = cms.InputTag(
""),
115 select = cms.string(
""),
120 label = cms.string(
"muons:step1"),
121 src = cms.InputTag(
"muons"),
122 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1 & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.12"),
134 label = cms.string(
"jets/pf:step2"),
135 src = cms.InputTag(
"ak4PFJetsCHS"),
137 select = cms.string(
"pt>40 & abs(eta)<5.0"),
143 SingleTopSingleElectronHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
155 directory = cms.string(
"HLT/TOP/SingleTop/SingleElectron/"),
158 muons = cms.InputTag(
"muons"),
159 elecs = cms.InputTag(
"gedGsfElectrons"),
160 jets = cms.InputTag(
"ak4PFJetsCHS"),
161 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
162 pvs = cms.InputTag(
"offlinePrimaryVertices")
170 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
174 elecExtras = cms.PSet(
178 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
181 select = cms.string(
"pt>30 & abs(eta)<2.5"),
188 jetExtras = cms.PSet(
195 select = cms.string(
"pt>40 & abs(eta)<5.0"),
197 jetBTaggers = cms.PSet(
198 trackCountingEff = cms.PSet(
199 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
200 workingPoint = cms.double(0.275)
206 secondaryVertex = cms.PSet(
207 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
208 workingPoint = cms.double(0.890)
214 massExtras = cms.PSet(
215 lowerEdge = cms.double( 70.),
216 upperEdge = cms.double(110.)
220 triggerExtras = cms.PSet(
221 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
223 paths = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
224 'HLT_Ele38_WPTight_Gsf_v',
225 'HLT_Ele40_WPTight_Gsf_v'])
235 preselection = cms.PSet(
237 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
239 select = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
240 'HLT_Ele38_WPTight_Gsf_v',
241 'HLT_Ele40_WPTight_Gsf_v'])
245 src = cms.InputTag(
"offlinePrimaryVertices"),
246 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
257 selection = cms.VPSet(
259 label = cms.string(
"Hlt:step0"),
260 src = cms.InputTag(
""),
261 select = cms.string(
""),
266 label = cms.string(
"elecs:step1"),
267 src = cms.InputTag(
"gedGsfElectrons"),
269 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
281 label = cms.string(
"jets/pf:step2"),
282 src = cms.InputTag(
"ak4PFJetsCHS"),
284 select = cms.string(
"pt>40 & abs(eta)<5.0"),