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"),
90 select = cms.vstring([
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele25_WPTight_Gsf_v',
'HLT_Ele23_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPTight_Gsf_v',
'HLT_Ele27_WPTight_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele22_eta2p1_WPLoose_Gsf_v',
'HLT_Ele24_eta2p1_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPLoose_Gsf_v',
'HLT_IsoMu18_v',
'HLT_IsoMu20_v',
'HLT_IsoMu22_v',
'HLT_IsoMu24_v',
'HLT_IsoTkMu18_v',
'HLT_IsoTkMu20_v',
'HLT_IsoTkMu22_v',
'HLT_IsoTkMu24_v',
'HLT_IsoMu17_eta2p1_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_v',
'HLT_IsoTkMu20_eta2p1_v',
'HLT_IsoTkMu24_eta2p1_v',
'HLT_IsoTkMu20_eta2p1_v',
'HLT_IsoTkMu24_eta2p1_v']),
94 src = cms.InputTag(
"offlinePrimaryVertices"),
95 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
107 selection = cms.VPSet(
109 label = cms.string(
"Hlt:step0"),
110 src = cms.InputTag(
""),
111 select = cms.string(
""),
116 label = cms.string(
"jets/pf:step1"),
117 src = cms.InputTag(
"ak4PFJetsCHS"),
118 select = cms.string(
"pt>20 & abs(eta)<2.5"),
124 topSingleMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
135 directory = cms.string(
"HLT/TopHLTOffline/Top/SemiMuonic/"),
138 muons = cms.InputTag(
"muons"),
139 elecs = cms.InputTag(
"gedGsfElectrons"),
140 jets = cms.InputTag(
"ak4PFJetsCHS"),
141 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
142 pvs = cms.InputTag(
"offlinePrimaryVertices")
150 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
154 muonExtras = cms.PSet(
157 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
160 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
164 jetExtras = cms.PSet(
171 select = cms.string(
"pt>20 & abs(eta)<2.5"),
173 jetBTaggers = cms.PSet(
174 trackCountingEff = cms.PSet(
175 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
176 workingPoint = cms.double(0.275)
182 secondaryVertex = cms.PSet(
183 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
184 workingPoint = cms.double(0.890)
190 massExtras = cms.PSet(
191 lowerEdge = cms.double( 70.),
192 upperEdge = cms.double(110.)
196 triggerExtras = cms.PSet(
197 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
199 paths = cms.vstring([
'HLT_IsoMu18_v',
'HLT_IsoMu20_v',
'HLT_IsoMu22_v',
'HLT_IsoMu24_v',
'HLT_IsoTkMu18_v',
'HLT_IsoTkMu20_v',
'HLT_IsoTkMu22_v',
'HLT_IsoTkMu24_v',
'HLT_IsoMu17_eta2p1_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_v',
'HLT_IsoTkMu20_eta2p1_v',
'HLT_IsoTkMu24_eta2p1_v'])
209 preselection = cms.PSet(
211 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
213 select = cms.vstring([
'HLT_IsoMu18_v',
'HLT_IsoMu20_v',
'HLT_IsoMu22_v',
'HLT_IsoMu24_v',
'HLT_IsoTkMu18_v',
'HLT_IsoTkMu20_v',
'HLT_IsoTkMu22_v',
'HLT_IsoTkMu24_v',
'HLT_IsoMu17_eta2p1_v',
'HLT_IsoMu20_eta2p1_v',
'HLT_IsoMu24_eta2p1_v',
'HLT_IsoTkMu20_eta2p1_v',
'HLT_IsoTkMu24_eta2p1_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)
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"),
353 paths = cms.vstring([
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele25_WPTight_Gsf_v',
'HLT_Ele23_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPTight_Gsf_v',
'HLT_Ele27_WPTight_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele22_eta2p1_WPLoose_Gsf_v',
'HLT_Ele24_eta2p1_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPLoose_Gsf_v'])
363 preselection = cms.PSet(
365 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
367 select = cms.vstring([
'HLT_Ele27_WPLoose_Gsf_v',
'HLT_Ele25_WPTight_Gsf_v',
'HLT_Ele23_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPTight_Gsf_v',
'HLT_Ele27_WPTight_Gsf_v',
'HLT_Ele27_eta2p1_WPLoose_Gsf_v',
'HLT_Ele22_eta2p1_WPLoose_Gsf_v',
'HLT_Ele24_eta2p1_WPLoose_Gsf_v',
'HLT_Ele25_eta2p1_WPLoose_Gsf_v'])
371 src = cms.InputTag(
"offlinePrimaryVertices"),
372 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
383 selection = cms.VPSet(
385 label = cms.string(
"Hlt:step0"),
386 src = cms.InputTag(
""),
387 select = cms.string(
""),
392 label = cms.string(
"elecs:step1"),
393 src = cms.InputTag(
"gedGsfElectrons"),
395 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
422 label = cms.string(
"jets/pf:step2"),
423 src = cms.InputTag(
"ak4PFJetsCHS"),
425 select = cms.string(
"pt>20 & abs(eta)<2.5"),