2 import FWCore.ParameterSet.Config
as cms
4 topSingleLeptonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
15 directory = cms.string(
"HLT/TopHLTOffline/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"),
92 select = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v' 'HLT_Ele27_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu18_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu20_eta2p1_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu24_eta2p1_CentralPFJet30_BTagCSV07_v'])
96 src = cms.InputTag(
"offlinePrimaryVertices"),
97 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
109 selection = cms.VPSet(
111 label = cms.string(
"Hlt:step0"),
112 src = cms.InputTag(
""),
113 select = cms.string(
""),
118 label = cms.string(
"jets/pf:step1"),
119 src = cms.InputTag(
"ak4PFJetsCHS"),
120 select = cms.string(
"pt>20 & abs(eta)<2.5"),
126 topSingleMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
137 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiMuonic/"),
140 muons = cms.InputTag(
"muons"),
141 elecs = cms.InputTag(
"gedGsfElectrons"),
142 jets = cms.InputTag(
"ak4PFJetsCHS"),
143 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
144 pvs = cms.InputTag(
"offlinePrimaryVertices")
152 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
156 muonExtras = cms.PSet(
159 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
162 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
166 jetExtras = cms.PSet(
173 select = cms.string(
"pt>20 & abs(eta)<2.5"),
175 jetBTaggers = cms.PSet(
176 trackCountingEff = cms.PSet(
177 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
178 workingPoint = cms.double(0.275)
180 trackCountingPur = cms.PSet(
181 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
182 workingPoint = cms.double(3.41)
184 secondaryVertex = cms.PSet(
185 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
186 workingPoint = cms.double(0.890)
192 massExtras = cms.PSet(
193 lowerEdge = cms.double( 70.),
194 upperEdge = cms.double(110.)
198 triggerExtras = cms.PSet(
199 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
200 paths = cms.vstring([
'HLT_IsoMu18_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu20_eta2p1_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu24_eta2p1_CentralPFJet30_BTagCSV07_v'])
210 preselection = cms.PSet(
212 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
213 select = cms.vstring([
'HLT_IsoMu18_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu20_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu20_eta2p1_CentralPFJet30_BTagCSV07_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet30_v',
'HLT_IsoMu24_eta2p1_TriCentralPFJet50_40_30_v',
'HLT_IsoMu24_eta2p1_CentralPFJet30_BTagCSV07_v'])
217 src = cms.InputTag(
"offlinePrimaryVertices"),
218 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
229 selection = cms.VPSet(
231 label = cms.string(
"Hlt:step0"),
232 src = cms.InputTag(
""),
233 select = cms.string(
""),
238 label = cms.string(
"muons:step1"),
239 src = cms.InputTag(
"muons"),
240 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"),
267 label = cms.string(
"jets/pf:step2"),
268 src = cms.InputTag(
"ak4PFJetsCHS"),
270 select = cms.string(
"pt>20 & abs(eta)<2.5"),
276 topSingleElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
287 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiElectronic/"),
290 muons = cms.InputTag(
"muons"),
291 elecs = cms.InputTag(
"gedGsfElectrons"),
292 jets = cms.InputTag(
"ak4PFJetsCHS"),
293 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
294 pvs = cms.InputTag(
"offlinePrimaryVertices")
302 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
306 elecExtras = cms.PSet(
311 select = cms.string(
"pt>30 & abs(eta)<2.5"),
314 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
318 jetExtras = cms.PSet(
325 select = cms.string(
"pt>20 & abs(eta)<2.5"),
327 jetBTaggers = cms.PSet(
328 trackCountingEff = cms.PSet(
329 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
330 workingPoint = cms.double(0.275)
332 trackCountingPur = cms.PSet(
333 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
334 workingPoint = cms.double(3.41)
336 secondaryVertex = cms.PSet(
337 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
338 workingPoint = cms.double(0.890)
344 massExtras = cms.PSet(
345 lowerEdge = cms.double( 70.),
346 upperEdge = cms.double(110.)
350 triggerExtras = cms.PSet(
351 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
354 paths = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v' 'HLT_Ele27_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v'])
364 preselection = cms.PSet(
366 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
369 select = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v' 'HLT_Ele27_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_v',
'HLT_Ele32_eta2p1_WPLoose_Gsf_CentralPFJet30_BTagCSV07_v'])
373 src = cms.InputTag(
"offlinePrimaryVertices"),
374 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
385 selection = cms.VPSet(
387 label = cms.string(
"Hlt:step0"),
388 src = cms.InputTag(
""),
389 select = cms.string(
""),
394 label = cms.string(
"elecs:step1"),
395 src = cms.InputTag(
"gedGsfElectrons"),
397 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
424 label = cms.string(
"jets/pf:step2"),
425 src = cms.InputTag(
"ak4PFJetsCHS"),
427 select = cms.string(
"pt>20 & abs(eta)<2.5"),