1 import FWCore.ParameterSet.Config
as cms
3 topSingleLeptonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
14 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiLeptonic/"),
17 muons = cms.InputTag(
"muons"),
18 elecs = cms.InputTag(
"gedGsfElectrons"),
19 jets = cms.InputTag(
"ak4PFJetsCHS"),
20 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
21 pvs = cms.InputTag(
"offlinePrimaryVertices")
28 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
32 elecExtras = cms.PSet(
37 select = cms.string(
"pt>30 & abs(eta)<2.5"),
40 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
44 muonExtras = cms.PSet(
47 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
50 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
61 select = cms.string(
"pt>20 & abs(eta)<2.5"),
65 massExtras = cms.PSet(
66 lowerEdge = cms.double( 70.),
67 upperEdge = cms.double(110.)
86 preselection = cms.PSet(
88 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
91 select = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v',
'HLT_IsoMu18_CentralPFJet30_BTagCSV_p063_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v'])
95 src = cms.InputTag(
"offlinePrimaryVertices"),
96 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
108 selection = cms.VPSet(
110 label = cms.string(
"Hlt:step0"),
111 src = cms.InputTag(
""),
112 select = cms.string(
""),
117 label = cms.string(
"jets/pf:step1"),
118 src = cms.InputTag(
"ak4PFJetsCHS"),
119 select = cms.string(
"pt>20 & abs(eta)<2.5"),
125 topSingleMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
136 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiMuonic/"),
139 muons = cms.InputTag(
"muons"),
140 elecs = cms.InputTag(
"gedGsfElectrons"),
141 jets = cms.InputTag(
"ak4PFJetsCHS"),
142 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
143 pvs = cms.InputTag(
"offlinePrimaryVertices")
151 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
155 muonExtras = cms.PSet(
158 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
161 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
165 jetExtras = cms.PSet(
172 select = cms.string(
"pt>20 & abs(eta)<2.5"),
174 jetBTaggers = cms.PSet(
175 trackCountingEff = cms.PSet(
176 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
177 workingPoint = cms.double(0.275)
179 trackCountingPur = cms.PSet(
180 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
181 workingPoint = cms.double(3.41)
183 secondaryVertex = cms.PSet(
184 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
185 workingPoint = cms.double(0.890)
191 massExtras = cms.PSet(
192 lowerEdge = cms.double( 70.),
193 upperEdge = cms.double(110.)
197 triggerExtras = cms.PSet(
198 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
200 paths = cms.vstring([
'HLT_IsoMu18_CentralPFJet30_BTagCSV_p063_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v'])
210 preselection = cms.PSet(
212 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
214 select = cms.vstring([
'HLT_IsoMu18_CentralPFJet30_BTagCSV_p063_v',
'HLT_IsoMu18_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_v',
'HLT_IsoMu18_v',
'HLT_IsoMu22_TriCentralPFJet50_40_30_v',
'HLT_IsoMu22_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v'])
218 src = cms.InputTag(
"offlinePrimaryVertices"),
219 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
230 selection = cms.VPSet(
232 label = cms.string(
"Hlt:step0"),
233 src = cms.InputTag(
""),
234 select = cms.string(
""),
239 label = cms.string(
"muons:step1"),
240 src = cms.InputTag(
"muons"),
241 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"),
268 label = cms.string(
"jets/pf:step2"),
269 src = cms.InputTag(
"ak4PFJetsCHS"),
271 select = cms.string(
"pt>20 & abs(eta)<2.5"),
277 topSingleElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
288 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiElectronic/"),
291 muons = cms.InputTag(
"muons"),
292 elecs = cms.InputTag(
"gedGsfElectrons"),
293 jets = cms.InputTag(
"ak4PFJetsCHS"),
294 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
295 pvs = cms.InputTag(
"offlinePrimaryVertices")
303 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
307 elecExtras = cms.PSet(
312 select = cms.string(
"pt>30 & abs(eta)<2.5"),
315 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
319 jetExtras = cms.PSet(
326 select = cms.string(
"pt>20 & abs(eta)<2.5"),
328 jetBTaggers = cms.PSet(
329 trackCountingEff = cms.PSet(
330 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
331 workingPoint = cms.double(0.275)
333 trackCountingPur = cms.PSet(
334 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
335 workingPoint = cms.double(3.41)
337 secondaryVertex = cms.PSet(
338 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
339 workingPoint = cms.double(0.890)
345 massExtras = cms.PSet(
346 lowerEdge = cms.double( 70.),
347 upperEdge = cms.double(110.)
351 triggerExtras = cms.PSet(
352 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
355 paths = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v'])
365 preselection = cms.PSet(
367 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
370 select = cms.vstring([
'HLT_Ele23_WPLoose_Gsf_TriCentralPFJet50_40_30_v',
'HLT_Ele23_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_v',
'HLT_Ele27_WPLoose_Gsf_WHbbBoost_v',
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele27_WPLoose_Gsf_CentralPFJet30_BTagCSV_p063_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_BTagCSV_p063_v'])
374 src = cms.InputTag(
"offlinePrimaryVertices"),
375 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
386 selection = cms.VPSet(
388 label = cms.string(
"Hlt:step0"),
389 src = cms.InputTag(
""),
390 select = cms.string(
""),
395 label = cms.string(
"elecs:step1"),
396 src = cms.InputTag(
"gedGsfElectrons"),
398 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
425 label = cms.string(
"jets/pf:step2"),
426 src = cms.InputTag(
"ak4PFJetsCHS"),
428 select = cms.string(
"pt>20 & abs(eta)<2.5"),