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(
35 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
39 select = cms.string(
"pt>30 & abs(eta)<2.5"),
46 muonExtras = cms.PSet(
49 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
52 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
63 select = cms.string(
"pt>20 & abs(eta)<2.5"),
67 massExtras = cms.PSet(
68 lowerEdge = cms.double( 70.),
69 upperEdge = cms.double(110.)
88 preselection = cms.PSet(
90 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
92 select = cms.vstring([
'HLT_IsoMu27_v',
94 'HLT_Ele35_WPTight_Gsf_v',
95 'HLT_Ele38_WPTight_Gsf_v',
96 'HLT_Ele40_WPTight_Gsf_v',
102 src = cms.InputTag(
"offlinePrimaryVertices"),
103 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
115 selection = cms.VPSet(
117 label = cms.string(
"Hlt:step0"),
118 src = cms.InputTag(
""),
119 select = cms.string(
""),
124 label = cms.string(
"jets/pf:step1"),
125 src = cms.InputTag(
"ak4PFJetsCHS"),
126 select = cms.string(
"pt>20 & abs(eta)<2.5"),
132 topSingleMuonHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
143 directory = cms.string(
"HLT/TOP/SemiMuonic/"),
146 muons = cms.InputTag(
"muons"),
147 elecs = cms.InputTag(
"gedGsfElectrons"),
148 jets = cms.InputTag(
"ak4PFJetsCHS"),
149 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
150 pvs = cms.InputTag(
"offlinePrimaryVertices")
158 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
162 muonExtras = cms.PSet(
165 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
168 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
172 jetExtras = cms.PSet(
179 select = cms.string(
"pt>20 & abs(eta)<2.5"),
181 jetBTaggers = cms.PSet(
182 trackCountingEff = cms.PSet(
183 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
184 workingPoint = cms.double(0.275)
190 secondaryVertex = cms.PSet(
191 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
192 workingPoint = cms.double(0.890)
198 massExtras = cms.PSet(
199 lowerEdge = cms.double( 70.),
200 upperEdge = cms.double(110.)
204 triggerExtras = cms.PSet(
205 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
207 paths = cms.vstring([
'HLT_IsoMu27_v',
218 preselection = cms.PSet(
220 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
222 select = cms.vstring([
'HLT_IsoMu27_v',
227 src = cms.InputTag(
"offlinePrimaryVertices"),
228 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
239 selection = cms.VPSet(
241 label = cms.string(
"Hlt:step0"),
242 src = cms.InputTag(
""),
243 select = cms.string(
""),
248 label = cms.string(
"muons:step1"),
249 src = cms.InputTag(
"muons"),
250 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"),
277 label = cms.string(
"jets/pf:step2"),
278 src = cms.InputTag(
"ak4PFJetsCHS"),
280 select = cms.string(
"pt>20 & abs(eta)<2.5"),
286 topSingleElectronHLTOfflineDQM =
DQMEDAnalyzer(
'TopSingleLeptonHLTOfflineDQM',
297 directory = cms.string(
"HLT/TOP/SemiElectronic/"),
300 muons = cms.InputTag(
"muons"),
301 elecs = cms.InputTag(
"gedGsfElectrons"),
302 jets = cms.InputTag(
"ak4PFJetsCHS"),
303 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
304 pvs = cms.InputTag(
"offlinePrimaryVertices")
312 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
316 elecExtras = cms.PSet(
318 electronId = cms.PSet( src = cms.InputTag(
"egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight"), pattern = cms.int32(1) ),
322 select = cms.string(
"pt>30 & abs(eta)<2.5"),
329 jetExtras = cms.PSet(
336 select = cms.string(
"pt>20 & abs(eta)<2.5"),
338 jetBTaggers = cms.PSet(
339 trackCountingEff = cms.PSet(
340 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
341 workingPoint = cms.double(0.275)
347 secondaryVertex = cms.PSet(
348 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
349 workingPoint = cms.double(0.890)
355 massExtras = cms.PSet(
356 lowerEdge = cms.double( 70.),
357 upperEdge = cms.double(110.)
361 triggerExtras = cms.PSet(
362 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
364 paths = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
365 'HLT_Ele38_WPTight_Gsf_v',
366 'HLT_Ele40_WPTight_Gsf_v',])
376 preselection = cms.PSet(
378 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
380 select = cms.vstring([
'HLT_Ele35_WPTight_Gsf_v',
381 'HLT_Ele38_WPTight_Gsf_v',
382 'HLT_Ele40_WPTight_Gsf_v',])
386 src = cms.InputTag(
"offlinePrimaryVertices"),
387 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
398 selection = cms.VPSet(
400 label = cms.string(
"Hlt:step0"),
401 src = cms.InputTag(
""),
402 select = cms.string(
""),
407 label = cms.string(
"elecs:step1"),
408 src = cms.InputTag(
"gedGsfElectrons"),
410 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
437 label = cms.string(
"jets/pf:step2"),
438 src = cms.InputTag(
"ak4PFJetsCHS"),
440 select = cms.string(
"pt>20 & abs(eta)<2.5"),