1 import FWCore.ParameterSet.Config
as cms
3 SingleTopSingleMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
14 directory = cms.string(
"HLT/TopHLTOffline/SingleTop/SingleMuon/"),
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")
29 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
33 muonExtras = cms.PSet(
36 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
39 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
50 select = cms.string(
"pt>40 & abs(eta)<5.0"),
52 jetBTaggers = cms.PSet(
53 trackCountingEff = cms.PSet(
54 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
55 workingPoint = cms.double(0.275)
57 trackCountingPur = cms.PSet(
58 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
59 workingPoint = cms.double(3.41)
61 secondaryVertex = cms.PSet(
62 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
63 workingPoint = cms.double(0.890)
69 massExtras = cms.PSet(
70 lowerEdge = cms.double( 70.),
71 upperEdge = cms.double(110.)
75 triggerExtras = cms.PSet(
76 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
78 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_v1',
'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_v4'])
88 preselection = cms.PSet(
90 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
92 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_v1',
'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_v4']))
96 src = cms.InputTag(
"offlinePrimaryVertices"),
97 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(
"muons:step1"),
118 src = cms.InputTag(
"muons"),
119 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"),
131 label = cms.string(
"jets/pf:step2"),
132 src = cms.InputTag(
"ak4PFJetsCHS"),
134 select = cms.string(
"pt>40 & abs(eta)<5.0"),
140 SingleTopSingleElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
152 directory = cms.string(
"HLT/TopHLTOffline/SingleTop/SingleElectron/"),
155 muons = cms.InputTag(
"muons"),
156 elecs = cms.InputTag(
"gedGsfElectrons"),
157 jets = cms.InputTag(
"ak4PFJetsCHS"),
158 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
159 pvs = cms.InputTag(
"offlinePrimaryVertices")
167 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
171 elecExtras = cms.PSet(
176 select = cms.string(
"pt>30 & abs(eta)<2.5"),
179 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
183 jetExtras = cms.PSet(
190 select = cms.string(
"pt>40 & abs(eta)<5.0"),
192 jetBTaggers = cms.PSet(
193 trackCountingEff = cms.PSet(
194 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
195 workingPoint = cms.double(0.275)
197 trackCountingPur = cms.PSet(
198 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
199 workingPoint = cms.double(3.41)
201 secondaryVertex = cms.PSet(
202 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
203 workingPoint = cms.double(0.890)
209 massExtras = cms.PSet(
210 lowerEdge = cms.double( 70.),
211 upperEdge = cms.double(110.)
215 triggerExtras = cms.PSet(
216 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
218 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'])
228 preselection = cms.PSet(
230 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
232 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'])
236 src = cms.InputTag(
"offlinePrimaryVertices"),
237 select = cms.string(
'abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
248 selection = cms.VPSet(
250 label = cms.string(
"Hlt:step0"),
251 src = cms.InputTag(
""),
252 select = cms.string(
""),
257 label = cms.string(
"elecs:step1"),
258 src = cms.InputTag(
"gedGsfElectrons"),
260 select = cms.string(
"pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
272 label = cms.string(
"jets/pf:step2"),
273 src = cms.InputTag(
"ak4PFJetsCHS"),
275 select = cms.string(
"pt>40 & abs(eta)<5.0"),