2 import FWCore.ParameterSet.Config
as cms
4 SingleTopSingleMuonHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
15 directory = cms.string(
"HLT/TopHLTOffline/SingleTop/SingleMuon/"),
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")
30 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
34 muonExtras = cms.PSet(
37 select = cms.string(
"pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
40 isolation = cms.string(
"(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
51 select = cms.string(
"pt>40 & abs(eta)<5.0"),
53 jetBTaggers = cms.PSet(
54 trackCountingEff = cms.PSet(
55 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
56 workingPoint = cms.double(0.275)
58 trackCountingPur = cms.PSet(
59 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
60 workingPoint = cms.double(3.41)
62 secondaryVertex = cms.PSet(
63 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
64 workingPoint = cms.double(0.890)
70 massExtras = cms.PSet(
71 lowerEdge = cms.double( 70.),
72 upperEdge = cms.double(110.)
76 triggerExtras = cms.PSet(
77 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
78 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'])
88 preselection = cms.PSet(
90 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
91 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'])
95 src = cms.InputTag(
"offlinePrimaryVertices"),
96 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(
"muons:step1"),
117 src = cms.InputTag(
"muons"),
118 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"),
130 label = cms.string(
"jets/pf:step2"),
131 src = cms.InputTag(
"ak4PFJetsCHS"),
133 select = cms.string(
"pt>40 & abs(eta)<5.0"),
139 SingleTopSingleElectronHLTOfflineDQM = cms.EDAnalyzer(
"TopSingleLeptonHLTOfflineDQM",
150 directory = cms.string(
"HLT/TopHLTOffline/SingleTop/SingleElectron/"),
153 muons = cms.InputTag(
"muons"),
154 elecs = cms.InputTag(
"gedGsfElectrons"),
155 jets = cms.InputTag(
"ak4PFJetsCHS"),
156 mets = cms.VInputTag(
"met",
"tcMet",
"pfMet"),
157 pvs = cms.InputTag(
"offlinePrimaryVertices")
165 select = cms.string(
"abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
169 elecExtras = cms.PSet(
174 select = cms.string(
"pt>30 & abs(eta)<2.5"),
177 isolation = cms.string(
"(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
181 jetExtras = cms.PSet(
188 select = cms.string(
"pt>40 & abs(eta)<5.0"),
190 jetBTaggers = cms.PSet(
191 trackCountingEff = cms.PSet(
192 label = cms.InputTag(
"pfJetProbabilityBJetTags" ),
193 workingPoint = cms.double(0.275)
195 trackCountingPur = cms.PSet(
196 label = cms.InputTag(
"pfTrackCountingHighPurBJetTags" ),
197 workingPoint = cms.double(3.41)
199 secondaryVertex = cms.PSet(
200 label = cms.InputTag(
"pfCombinedInclusiveSecondaryVertexV2BJetTags"),
201 workingPoint = cms.double(0.890)
207 massExtras = cms.PSet(
208 lowerEdge = cms.double( 70.),
209 upperEdge = cms.double(110.)
213 triggerExtras = cms.PSet(
214 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
217 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'])
227 preselection = cms.PSet(
229 src = cms.InputTag(
"TriggerResults",
"",
"HLT"),
232 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'])
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"),