1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
4 topSingleLeptonHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
15 directory = cms.string(
"HLT/TOP/SemiLeptonic/"),
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")
29 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
33 elecExtras = cms.PSet(
38 select = cms.string(
"pt>30 & abs(eta)<2.5"),
41 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
45 muonExtras = cms.PSet(
48 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
51 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
62 select = cms.string(
"pt>20 & abs(eta)<2.5"),
66 massExtras = cms.PSet(
67 lowerEdge = cms.double( 70.),
68 upperEdge = cms.double(110.)
87 preselection = cms.PSet(
89 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
91 select = cms.vstring([
'HLT_IsoMu27_v',
93 'HLT_Ele35_WPTight_Gsf_v',
94 'HLT_Ele38_WPTight_Gsf_v',
95 'HLT_Ele40_WPTight_Gsf_v',
101 src = cms.InputTag(
"offlinePrimaryVertices"),
102 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
114 selection = cms.VPSet(
116 label = cms.string(
"Hlt:step0"),
117 src = cms.InputTag(
""),
118 select = cms.string(
""),
123 label = cms.string(
"jets/pf:step1"),
124 src = cms.InputTag(
"ak4PFJetsCHS"),
125 select = cms.string(
"pt>20 & abs(eta)<2.5"),
131 topSingleMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
142 directory = cms.string(
"HLT/TOP/SemiMuonic/"),
145 muons = cms.InputTag(
"muons"),
146 elecs = cms.InputTag(
"gedGsfElectrons"),
147 jets = cms.InputTag(
"ak4PFJetsCHS"),
148 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
149 pvs = cms.InputTag(
"offlinePrimaryVertices")
157 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
161 muonExtras = cms.PSet(
164 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
167 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
171 jetExtras = cms.PSet(
178 select = cms.string(
"pt>20 & abs(eta)<2.5"),
180 jetBTaggers = cms.PSet(
181 trackCountingEff = cms.PSet(
182 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
183 workingPoint = cms.double(0.275)
189 secondaryVertex = cms.PSet(
190 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
191 workingPoint = cms.double(0.890)
197 massExtras = cms.PSet(
198 lowerEdge = cms.double( 70.),
199 upperEdge = cms.double(110.)
203 triggerExtras = cms.PSet(
204 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
206 paths = cms.vstring([
'HLT_IsoMu27_v',
217 preselection = cms.PSet(
219 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
221 select = cms.vstring([
'HLT_IsoMu27_v',
226 src = cms.InputTag(
"offlinePrimaryVertices"),
227 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
238 selection = cms.VPSet(
240 label = cms.string(
"Hlt:step0"),
241 src = cms.InputTag(
""),
242 select = cms.string(
""),
247 label = cms.string(
"muons:step1"),
248 src = cms.InputTag(
"muons"),
249 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"),
276 label = cms.string(
"jets/pf:step2"),
277 src = cms.InputTag(
"ak4PFJetsCHS"),
279 select = cms.string(
"pt>20 & abs(eta)<2.5"),
285 topSingleElectronHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
296 directory = cms.string(
"HLT/TOP/SemiElectronic/"),
299 muons = cms.InputTag(
"muons"),
300 elecs = cms.InputTag(
"gedGsfElectrons"),
301 jets = cms.InputTag(
"ak4PFJetsCHS"),
302 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
303 pvs = cms.InputTag(
"offlinePrimaryVertices")
311 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
315 elecExtras = cms.PSet(
320 select = cms.string(
"pt>30 & abs(eta)<2.5"),
323 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
327 jetExtras = cms.PSet(
334 select = cms.string(
"pt>20 & abs(eta)<2.5"),
336 jetBTaggers = cms.PSet(
337 trackCountingEff = cms.PSet(
338 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
339 workingPoint = cms.double(0.275)
345 secondaryVertex = cms.PSet(
346 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
347 workingPoint = cms.double(0.890)
353 massExtras = cms.PSet(
354 lowerEdge = cms.double( 70.),
355 upperEdge = cms.double(110.)
359 triggerExtras = cms.PSet(
360 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
362 paths = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
363 'HLT_Ele38_WPTight_Gsf_v',
364 'HLT_Ele40_WPTight_Gsf_v',])
374 preselection = cms.PSet(
376 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
378 select = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
379 'HLT_Ele38_WPTight_Gsf_v',
380 'HLT_Ele40_WPTight_Gsf_v',])
384 src = cms.InputTag(
"offlinePrimaryVertices"),
385 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
396 selection = cms.VPSet(
398 label = cms.string(
"Hlt:step0"),
399 src = cms.InputTag(
""),
400 select = cms.string(
""),
405 label = cms.string(
"elecs:step1"),
406 src = cms.InputTag(
"gedGsfElectrons"),
408 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
435 label = cms.string(
"jets/pf:step2"),
436 src = cms.InputTag(
"ak4PFJetsCHS"),
438 select = cms.string(
"pt>20 & abs(eta)<2.5"),