1 import FWCore.ParameterSet.Config
as cms
26 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi
import PFRecoTauPFJetInputs
29 ak4dBetaCorrection=0.20
36 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByHPSSelection_cfi
import hpsSelectionDiscriminator, decayMode_1Prong0Pi0, decayMode_1Prong1Pi0, decayMode_1Prong2Pi0, decayMode_3Prong0Pi0
37 hpsPFTauDiscriminationByDecayModeFindingNewDMs = hpsSelectionDiscriminator.clone(
38 PFTauProducer = cms.InputTag(
'hpsPFTauProducer')
40 hpsPFTauDiscriminationByDecayModeFindingOldDMs = hpsSelectionDiscriminator.clone(
41 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
42 decayModes = cms.VPSet(
48 requireTauChargedHadronsToBeChargedPFCands = cms.bool(
True)
50 hpsPFTauDiscriminationByDecayModeFinding = hpsPFTauDiscriminationByDecayModeFindingOldDMs.clone()
53 requireDecayMode = cms.PSet(
54 BooleanOperator = cms.string(
"and"),
56 Producer = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
62 hpsPFTauDiscriminationByLooseIsolation = pfRecoTauDiscriminationByIsolation.clone(
63 PFTauProducer = cms.InputTag(
"hpsPFTauProducer"),
64 Prediscriminants = requireDecayMode.clone(),
65 ApplyDiscriminationByTrackerIsolation =
False,
66 ApplyDiscriminationByECALIsolation =
True,
67 applyOccupancyCut =
True
69 hpsPFTauDiscriminationByLooseIsolation.Prediscriminants.preIso = cms.PSet(
70 Producer = cms.InputTag(
"hpsPFTauDiscriminationByLooseChargedIsolation"),
71 cut = cms.double(0.5))
74 hpsPFTauDiscriminationByVLooseIsolation = hpsPFTauDiscriminationByLooseIsolation.clone(
75 customOuterCone = cms.double(0.3),
76 isoConeSizeForDeltaBeta = cms.double(0.3),
78 hpsPFTauDiscriminationByVLooseIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 1.5
79 hpsPFTauDiscriminationByVLooseIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 2.0
80 hpsPFTauDiscriminationByVLooseIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByVLooseChargedIsolation")
82 hpsPFTauDiscriminationByMediumIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
83 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.8
84 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 0.8
85 hpsPFTauDiscriminationByMediumIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByMediumChargedIsolation")
87 hpsPFTauDiscriminationByTightIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
88 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
89 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
90 hpsPFTauDiscriminationByTightIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByTightChargedIsolation")
92 hpsPFTauDiscriminationByIsolationSeq = cms.Sequence(
93 hpsPFTauDiscriminationByVLooseIsolation*
94 hpsPFTauDiscriminationByLooseIsolation*
95 hpsPFTauDiscriminationByMediumIsolation*
96 hpsPFTauDiscriminationByTightIsolation
99 _isolation_types = [
'VLoose',
'Loose',
'Medium',
'Tight']
103 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr = hpsPFTauDiscriminationByVLooseIsolation.clone(
104 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
105 applyDeltaBetaCorrection =
True,
106 isoConeSizeForDeltaBeta = 0.8,
107 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
108 applyOccupancyCut =
False,
109 applySumPtCut =
True,
111 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
113 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolation.clone(
114 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
115 applyDeltaBetaCorrection =
True,
116 isoConeSizeForDeltaBeta = 0.8,
117 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
118 applyOccupancyCut =
False,
119 applySumPtCut =
True,
121 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
123 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolation.clone(
124 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
125 applyDeltaBetaCorrection =
True,
126 isoConeSizeForDeltaBeta = 0.8,
127 deltaBetaFactor =
"%0.4f"%(0.0462/0.1687),
128 applyOccupancyCut =
False,
129 applySumPtCut =
True,
131 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
133 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolation.clone(
134 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
135 applyDeltaBetaCorrection =
True,
136 isoConeSizeForDeltaBeta = 0.8,
137 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
138 applyOccupancyCut =
False,
139 applySumPtCut =
True,
141 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
143 hpsPFTauDiscriminationByIsolationSeqDBSumPtCorr = cms.Sequence(
144 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr*
145 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr*
146 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr*
147 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr
150 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.clone(
151 ApplyDiscriminationByTrackerIsolation =
True,
152 ApplyDiscriminationByECALIsolation =
True,
153 deltaBetaFactor =
"%0.4f"%((0.09/0.25)*(ak4dBetaCorrection)),
154 applyOccupancyCut =
False,
155 applySumPtCut =
True,
156 maximumSumPtCut = 3.5,
157 Prediscriminants = requireDecayMode.clone()
159 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
160 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
162 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.clone(
163 ApplyDiscriminationByTrackerIsolation =
True,
164 ApplyDiscriminationByECALIsolation =
True,
165 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
166 applyOccupancyCut =
False,
167 applySumPtCut =
True,
168 maximumSumPtCut = 2.5,
169 Prediscriminants = requireDecayMode.clone()
171 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
172 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
174 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
175 applySumPtCut =
False,
176 storeRawSumPt = cms.bool(
True)
179 hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
180 applySumPtCut =
False,
181 ApplyDiscriminationByECALIsolation =
False,
182 storeRawSumPt = cms.bool(
True)
185 hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
186 applySumPtCut =
False,
187 ApplyDiscriminationByTrackerIsolation =
False,
188 storeRawSumPt = cms.bool(
True)
191 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.clone(
192 ApplyDiscriminationByTrackerIsolation =
True,
193 ApplyDiscriminationByECALIsolation =
True,
194 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
195 applyOccupancyCut =
False,
196 applySumPtCut =
True,
197 maximumSumPtCut = 1.5,
198 Prediscriminants = requireDecayMode.clone()
200 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
201 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
203 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.clone(
204 ApplyDiscriminationByTrackerIsolation =
True,
205 ApplyDiscriminationByECALIsolation =
True,
206 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
207 applyOccupancyCut =
False,
208 applySumPtCut =
True,
209 maximumSumPtCut = 0.8,
210 Prediscriminants = requireDecayMode.clone()
212 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
213 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
215 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr = cms.Sequence(
216 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr*
217 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr*
218 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr*
219 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr
223 hpsPFTauDiscriminationByVLooseChargedIsolation = hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.clone(
224 ApplyDiscriminationByECALIsolation =
False
227 hpsPFTauDiscriminationByLooseChargedIsolation = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
228 ApplyDiscriminationByECALIsolation =
False
231 hpsPFTauDiscriminationByMediumChargedIsolation = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone(
232 ApplyDiscriminationByECALIsolation =
False
234 hpsPFTauDiscriminationByTightChargedIsolation = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone(
235 ApplyDiscriminationByECALIsolation =
False
238 hpsPFTauDiscriminationByChargedIsolationSeq = cms.Sequence(
239 hpsPFTauDiscriminationByVLooseChargedIsolation*
240 hpsPFTauDiscriminationByLooseChargedIsolation*
241 hpsPFTauDiscriminationByMediumChargedIsolation*
242 hpsPFTauDiscriminationByTightChargedIsolation
246 hpsPFTauDiscriminationByLooseElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
247 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
248 Prediscriminants = noPrediscriminants,
249 PFElectronMVA_maxValue = cms.double(0.6)
251 hpsPFTauDiscriminationByMediumElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
252 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
253 Prediscriminants = noPrediscriminants,
254 ApplyCut_EcalCrackCut = cms.bool(
True)
256 hpsPFTauDiscriminationByTightElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
257 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
258 Prediscriminants = noPrediscriminants,
259 ApplyCut_EcalCrackCut = cms.bool(
True),
260 ApplyCut_BremCombined = cms.bool(
True)
263 hpsPFTauDiscriminationByLooseMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
264 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
265 Prediscriminants = noPrediscriminants
267 hpsPFTauDiscriminationByMediumMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
268 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
269 Prediscriminants = noPrediscriminants,
270 discriminatorOption = cms.string(
'noAllArbitrated')
272 hpsPFTauDiscriminationByTightMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
273 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
274 Prediscriminants = noPrediscriminants,
275 discriminatorOption = cms.string(
'noAllArbitratedWithHOP')
278 hpsPFTauDiscriminationByLooseMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
279 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
280 Prediscriminants = noPrediscriminants
282 hpsPFTauDiscriminationByMediumMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
283 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
284 Prediscriminants = noPrediscriminants,
285 discriminatorOption = cms.string(
'medium')
287 hpsPFTauDiscriminationByTightMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
288 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
289 Prediscriminants = noPrediscriminants,
290 discriminatorOption = cms.string(
'tight')
293 hpsPFTauDiscriminationByLooseMuonRejection3 = pfRecoTauDiscriminationAgainstMuon2.clone(
294 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
295 Prediscriminants = noPrediscriminants,
296 discriminatorOption = cms.string(
'custom'),
297 maxNumberOfMatches = cms.int32(1),
298 doCaloMuonVeto = cms.bool(
True),
299 maxNumberOfHitsLast2Stations = cms.int32(-1)
301 hpsPFTauDiscriminationByTightMuonRejection3 = hpsPFTauDiscriminationByLooseMuonRejection3.clone(
302 maxNumberOfHitsLast2Stations = cms.int32(0)
305 hpsPFTauDiscriminationByMVArawMuonRejection = pfRecoTauDiscriminationAgainstMuonMVA.clone(
306 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
307 Prediscriminants = requireDecayMode.clone(),
308 loadMVAfromDB = cms.bool(
True),
309 returnMVA = cms.bool(
True),
310 mvaName = cms.string(
"RecoTauTag_againstMuonMVAv1")
322 hpsPFTauDiscriminationByMVALooseMuonRejection = recoTauDiscriminantCutMultiplexer.clone(
323 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
324 Prediscriminants = requireDecayMode.clone(),
325 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVArawMuonRejection'),
326 key = cms.InputTag(
'hpsPFTauDiscriminationByMVArawMuonRejection:category'),
327 loadMVAfromDB = cms.bool(
True),
328 mvaOutput_normalization = cms.string(
"RecoTauTag_againstMuonMVAv1_mvaOutput_normalization"),
331 category = cms.uint32(0),
332 cut = cms.string(
"RecoTauTag_againstMuonMVAv1_WPeff99_5"),
333 variable = cms.string(
"pt")
337 hpsPFTauDiscriminationByMVAMediumMuonRejection = hpsPFTauDiscriminationByMVALooseMuonRejection.clone()
338 hpsPFTauDiscriminationByMVAMediumMuonRejection.mapping[0].cut = cms.string(
"RecoTauTag_againstMuonMVAv1_WPeff99_0")
339 hpsPFTauDiscriminationByMVATightMuonRejection = hpsPFTauDiscriminationByMVALooseMuonRejection.clone()
340 hpsPFTauDiscriminationByMVATightMuonRejection.mapping[0].cut = cms.string(
"RecoTauTag_againstMuonMVAv1_WPeff98_0")
342 hpsPFTauDiscriminationByMVA5rawElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA5.clone(
343 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
344 Prediscriminants = requireDecayMode.clone(),
345 loadMVAfromDB = cms.bool(
True),
346 mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL"),
347 mvaName_NoEleMatch_woGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL"),
348 mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL"),
349 mvaName_NoEleMatch_wGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL"),
350 mvaName_woGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL"),
351 mvaName_woGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL"),
352 mvaName_wGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL"),
353 mvaName_wGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL"),
354 mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC"),
355 mvaName_NoEleMatch_woGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC"),
356 mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC"),
357 mvaName_NoEleMatch_wGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC"),
358 mvaName_woGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC"),
359 mvaName_woGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC"),
360 mvaName_wGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC"),
361 mvaName_wGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC")
364 hpsPFTauDiscriminationByMVA5VLooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
365 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
366 Prediscriminants = requireDecayMode.clone(),
367 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA5rawElectronRejection'),
368 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA5rawElectronRejection:category'),
369 loadMVAfromDB = cms.bool(
True),
372 category = cms.uint32(0),
373 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL_WPeff99"),
374 variable = cms.string(
"pt")
377 category = cms.uint32(1),
378 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL_WPeff99"),
379 variable = cms.string(
"pt")
382 category = cms.uint32(2),
383 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL_WPeff99"),
384 variable = cms.string(
"pt")
387 category = cms.uint32(3),
388 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL_WPeff99"),
389 variable = cms.string(
"pt")
392 category = cms.uint32(4),
393 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL_WPeff99"),
394 variable = cms.string(
"pt")
397 category = cms.uint32(5),
398 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL_WPeff99"),
399 variable = cms.string(
"pt")
402 category = cms.uint32(6),
403 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL_WPeff99"),
404 variable = cms.string(
"pt")
407 category = cms.uint32(7),
408 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL_WPeff99"),
409 variable = cms.string(
"pt")
412 category = cms.uint32(8),
413 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC_WPeff99"),
414 variable = cms.string(
"pt")
417 category = cms.uint32(9),
418 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC_WPeff99"),
419 variable = cms.string(
"pt")
422 category = cms.uint32(10),
423 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC_WPeff99"),
424 variable = cms.string(
"pt")
427 category = cms.uint32(11),
428 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC_WPeff99"),
429 variable = cms.string(
"pt")
432 category = cms.uint32(12),
433 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC_WPeff99"),
434 variable = cms.string(
"pt")
437 category = cms.uint32(13),
438 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC_WPeff99"),
439 variable = cms.string(
"pt")
442 category = cms.uint32(14),
443 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC_WPeff99"),
444 variable = cms.string(
"pt")
447 category = cms.uint32(15),
448 cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC_WPeff99"),
449 variable = cms.string(
"pt")
454 hpsPFTauDiscriminationByMVA5LooseElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA5VLooseElectronRejection)
455 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL_WPeff96")
456 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL_WPeff96")
457 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL_WPeff96")
458 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL_WPeff96")
459 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL_WPeff96")
460 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL_WPeff96")
461 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL_WPeff96")
462 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL_WPeff96")
463 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[8].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC_WPeff96")
464 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[9].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC_WPeff96")
465 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[10].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC_WPeff96")
466 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[11].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC_WPeff96")
467 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[12].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC_WPeff96")
468 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[13].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC_WPeff96")
469 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[14].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC_WPeff96")
470 hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[15].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC_WPeff96")
472 hpsPFTauDiscriminationByMVA5MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA5VLooseElectronRejection)
473 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL_WPeff91")
474 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL_WPeff91")
475 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL_WPeff91")
476 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL_WPeff91")
477 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL_WPeff91")
478 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL_WPeff91")
479 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL_WPeff91")
480 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL_WPeff91")
481 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[8].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC_WPeff91")
482 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[9].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC_WPeff91")
483 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[10].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC_WPeff91")
484 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[11].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC_WPeff91")
485 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[12].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC_WPeff91")
486 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[13].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC_WPeff91")
487 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[14].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC_WPeff91")
488 hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[15].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC_WPeff91")
490 hpsPFTauDiscriminationByMVA5TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA5VLooseElectronRejection)
491 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL_WPeff85")
492 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL_WPeff85")
493 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL_WPeff85")
494 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL_WPeff85")
495 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL_WPeff85")
496 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL_WPeff85")
497 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL_WPeff85")
498 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL_WPeff85")
499 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[8].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC_WPeff85")
500 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[9].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC_WPeff85")
501 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[10].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC_WPeff85")
502 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[11].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC_WPeff85")
503 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[12].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC_WPeff85")
504 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[13].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC_WPeff85")
505 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[14].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC_WPeff85")
506 hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[15].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC_WPeff85")
508 hpsPFTauDiscriminationByMVA5VTightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA5VLooseElectronRejection)
509 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_BL_WPeff79")
510 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_BL_WPeff79")
511 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_BL_WPeff79")
512 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_BL_WPeff79")
513 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_BL_WPeff79")
514 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_BL_WPeff79")
515 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_BL_WPeff79")
516 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_BL_WPeff79")
517 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[8].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwoGSF_EC_WPeff79")
518 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[9].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_woGwGSF_EC_WPeff79")
519 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[10].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwoGSF_EC_WPeff79")
520 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[11].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_NoEleMatch_wGwGSF_EC_WPeff79")
521 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[12].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwoGSF_EC_WPeff79")
522 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[13].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_woGwGSF_EC_WPeff79")
523 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[14].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwoGSF_EC_WPeff79")
524 hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[15].cut = cms.string(
"RecoTauTag_antiElectronMVA5v1_gbr_wGwGSF_EC_WPeff79")
526 hpsPFTauDiscriminationByDeadECALElectronRejection = pfRecoTauDiscriminationAgainstElectronDeadECAL.clone(
527 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
528 Prediscriminants = requireDecayMode.clone()
532 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone()
533 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone()
534 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone()
536 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
537 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
538 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
539 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
540 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
541 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
543 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
544 applySumPtCut =
False,
545 storeRawSumPt = cms.bool(
True)
548 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits = cms.Sequence(
549 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits*
550 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits*
551 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits*
552 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits
555 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
556 ApplyDiscriminationByECALIsolation = cms.bool(
False),
557 applyDeltaBetaCorrection = cms.bool(
False),
558 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
559 UseAllPFCandsForWeights = cms.bool(
True),
560 applyFootprintCorrection = cms.bool(
True),
561 applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
564 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
565 maximumSumPtCut = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
568 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
569 maximumSumPtCut = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
572 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
573 applySumPtCut = cms.bool(
False)
576 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
577 Prediscriminants = cms.PSet(
578 BooleanOperator = cms.string(
"and"),
579 decayMode = cms.PSet(
580 Producer = cms.InputTag(
'hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone'),
581 cut = cms.double(0.5)
584 applySumPtCut = cms.bool(
False),
585 storeRawSumPt = cms.bool(
True)
588 hpsPFTauDiscriminationByPileupWeightedIsolationSeq3Hits = cms.Sequence(
589 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits*
590 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits*
591 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits*
592 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone*
593 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits
597 hpsSelectionDiscriminator.PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
599 from RecoTauTag.RecoTau.RecoTauCleaner_cfi
import RecoTauCleaner
600 hpsPFTauProducerSansRefs = RecoTauCleaner.clone(
601 src = cms.InputTag(
"combinatoricRecoTaus")
605 from RecoTauTag.RecoTau.RecoTauPiZeroUnembedder_cfi
import RecoTauPiZeroUnembedder
606 hpsPFTauProducer = RecoTauPiZeroUnembedder.clone(
607 src = cms.InputTag(
"hpsPFTauProducerSansRefs")
614 hpsPFTauPrimaryVertexProducer = PFTauPrimaryVertexProducer.clone(
615 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
616 ElectronTag = cms.InputTag(
""),
617 MuonTag = cms.InputTag(
""),
618 PVTag = cms.InputTag(
"offlinePrimaryVertices"),
619 beamSpot = cms.InputTag(
"offlineBeamSpot"),
620 TrackCollectionTag = cms.InputTag(
"generalTracks"),
621 Algorithm = cms.int32(1),
622 useBeamSpot = cms.bool(
True),
623 RemoveMuonTracks = cms.bool(
False),
624 RemoveElectronTracks = cms.bool(
False),
625 useSelectedTaus = cms.bool(
False),
626 discriminators = cms.VPSet(
628 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
629 selectionCut = cms.double(0.5)
632 cut = cms.string(
"pt > 18.0 & abs(eta) < 2.4")
635 hpsPFTauSecondaryVertexProducer = PFTauSecondaryVertexProducer.clone(
636 PFTauTag = cms.InputTag(
"hpsPFTauProducer")
638 hpsPFTauTransverseImpactParameters = PFTauTransverseImpactParameters.clone(
639 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
640 PFTauPVATag = cms.InputTag(
"hpsPFTauPrimaryVertexProducer"),
641 PFTauSVATag = cms.InputTag(
"hpsPFTauSecondaryVertexProducer"),
642 useFullCalculation = cms.bool(
False)
644 hpsPFTauVertexAndImpactParametersSeq = cms.Sequence(
645 hpsPFTauPrimaryVertexProducer*
646 hpsPFTauSecondaryVertexProducer*
647 hpsPFTauTransverseImpactParameters
651 hpsPFTauChargedIsoPtSum = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
652 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
653 Prediscriminants = requireDecayMode.clone(),
654 ApplyDiscriminationByECALIsolation = cms.bool(
False),
655 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
656 applySumPtCut = cms.bool(
False),
657 applyDeltaBetaCorrection = cms.bool(
False),
658 storeRawSumPt = cms.bool(
True),
659 storeRawPUsumPt = cms.bool(
False),
660 customOuterCone = PFRecoTauPFJetInputs.isolationConeSize,
661 isoConeSizeForDeltaBeta = cms.double(0.8),
662 verbosity = cms.int32(0)
664 hpsPFTauNeutralIsoPtSum = hpsPFTauChargedIsoPtSum.clone(
665 ApplyDiscriminationByECALIsolation = cms.bool(
True),
666 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
667 verbosity = cms.int32(0)
669 hpsPFTauPUcorrPtSum = hpsPFTauChargedIsoPtSum.clone(
670 ApplyDiscriminationByECALIsolation = cms.bool(
False),
671 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
672 applyDeltaBetaCorrection = cms.bool(
True),
673 storeRawSumPt = cms.bool(
False),
674 storeRawPUsumPt = cms.bool(
True),
675 verbosity = cms.int32(0)
677 hpsPFTauNeutralIsoPtSumWeight = hpsPFTauChargedIsoPtSum.clone(
678 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
679 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
680 UseAllPFCandsForWeights = cms.bool(
True),
681 verbosity = cms.int32(0)
683 hpsPFTauFootprintCorrection = hpsPFTauChargedIsoPtSum.clone(
684 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
685 storeRawSumPt = cms.bool(
False),
686 storeRawFootprintCorrection = cms.bool(
True),
687 verbosity = cms.int32(0)
689 hpsPFTauPhotonPtSumOutsideSignalCone = hpsPFTauChargedIsoPtSum.clone(
690 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
691 storeRawSumPt = cms.bool(
False),
692 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
693 verbosity = cms.int32(0)
696 hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw = discriminationByIsolationMVA2raw.clone(
697 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
698 Prediscriminants = requireDecayMode.clone(),
699 loadMVAfromDB = cms.bool(
True),
700 mvaName = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1"),
701 mvaOpt = cms.string(
"oldDMwoLT"),
702 srcTauTransverseImpactParameters = cms.InputTag(
'hpsPFTauTransverseImpactParameters'),
703 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSum'),
704 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSum'),
705 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSum'),
706 verbosity = cms.int32(0)
708 hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT = discriminationByIsolationMVA2VLoose.clone(
709 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
710 Prediscriminants = requireDecayMode.clone(),
711 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw'),
712 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw:category'),
713 loadMVAfromDB = cms.bool(
True),
714 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_mvaOutput_normalization"),
717 category = cms.uint32(0),
718 cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff90"),
719 variable = cms.string(
"pt")
723 hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone()
724 hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff80")
725 hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone()
726 hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff70")
727 hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone()
728 hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff60")
729 hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone()
730 hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff50")
731 hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone()
732 hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_WPEff40")
733 hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.clone(
734 mvaName = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1"),
735 mvaOpt = cms.string(
"oldDMwLT"),
736 verbosity = cms.int32(0)
738 hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone(
739 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw'),
740 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw:category'),
741 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_mvaOutput_normalization"),
744 category = cms.uint32(0),
745 cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff90"),
746 variable = cms.string(
"pt")
750 hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.clone()
751 hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff80")
752 hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.clone()
753 hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff70")
754 hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.clone()
755 hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff60")
756 hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.clone()
757 hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff50")
758 hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.clone()
759 hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_WPEff40")
760 hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw = hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.clone(
761 mvaName = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1"),
762 mvaOpt = cms.string(
"newDMwoLT"),
763 verbosity = cms.int32(0)
765 hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone(
766 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw'),
767 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw:category'),
768 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_mvaOutput_normalization"),
771 category = cms.uint32(0),
772 cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff90"),
773 variable = cms.string(
"pt")
776 verbosity = cms.int32(0)
778 hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.clone()
779 hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff80")
781 hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.clone()
782 hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff70")
783 hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.clone()
784 hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff60")
785 hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.clone()
786 hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff50")
787 hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.clone()
788 hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_WPEff40")
789 hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw = hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.clone(
790 mvaName = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1"),
791 mvaOpt = cms.string(
"newDMwLT"),
792 verbosity = cms.int32(0)
794 hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.clone(
795 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw'),
796 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw:category'),
797 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_mvaOutput_normalization"),
800 category = cms.uint32(0),
801 cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff90"),
802 variable = cms.string(
"pt")
806 hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.clone()
807 hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff80")
808 hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.clone()
809 hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff70")
810 hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.clone()
811 hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff60")
812 hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.clone()
813 hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff50")
814 hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.clone()
815 hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_WPEff40")
817 hpsPFTauMVAIsolation2Seq = cms.Sequence(
818 hpsPFTauChargedIsoPtSum
819 + hpsPFTauNeutralIsoPtSum
820 + hpsPFTauPUcorrPtSum
821 + hpsPFTauNeutralIsoPtSumWeight
822 + hpsPFTauFootprintCorrection
823 + hpsPFTauPhotonPtSumOutsideSignalCone
824 + hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw
825 + hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT
826 + hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT
827 + hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT
828 + hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT
829 + hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT
830 + hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT
831 + hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw
832 + hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT
833 + hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT
834 + hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT
835 + hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT
836 + hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT
837 + hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT
838 + hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw
839 + hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT
840 + hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT
841 + hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT
842 + hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT
843 + hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT
844 + hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT
845 + hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw
846 + hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT
847 + hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT
848 + hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT
849 + hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT
850 + hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT
851 + hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT
854 produceHPSPFTaus = cms.Sequence(
855 hpsSelectionDiscriminator
860 *hpsPFTauProducerSansRefs
864 produceAndDiscriminateHPSPFTaus = cms.Sequence(
866 hpsPFTauDiscriminationByDecayModeFindingNewDMs*
867 hpsPFTauDiscriminationByDecayModeFindingOldDMs*
868 hpsPFTauDiscriminationByDecayModeFinding*
869 hpsPFTauDiscriminationByChargedIsolationSeq*
870 hpsPFTauDiscriminationByIsolationSeq*
873 hpsPFTauDiscriminationByIsolationSeqDBSumPtCorr*
875 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr*
876 hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr*
877 hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr*
879 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr*
880 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits*
881 hpsPFTauDiscriminationByPileupWeightedIsolationSeq3Hits*
883 hpsPFTauDiscriminationByLooseElectronRejection*
884 hpsPFTauDiscriminationByMediumElectronRejection*
885 hpsPFTauDiscriminationByTightElectronRejection*
886 hpsPFTauDiscriminationByMVA5rawElectronRejection*
887 hpsPFTauDiscriminationByMVA5VLooseElectronRejection*
888 hpsPFTauDiscriminationByMVA5LooseElectronRejection*
889 hpsPFTauDiscriminationByMVA5MediumElectronRejection*
890 hpsPFTauDiscriminationByMVA5TightElectronRejection*
891 hpsPFTauDiscriminationByMVA5VTightElectronRejection*
892 hpsPFTauDiscriminationByDeadECALElectronRejection*
893 hpsPFTauDiscriminationByLooseMuonRejection*
894 hpsPFTauDiscriminationByMediumMuonRejection*
895 hpsPFTauDiscriminationByTightMuonRejection*
896 hpsPFTauDiscriminationByLooseMuonRejection2*
897 hpsPFTauDiscriminationByMediumMuonRejection2*
898 hpsPFTauDiscriminationByTightMuonRejection2*
899 hpsPFTauDiscriminationByLooseMuonRejection3*
900 hpsPFTauDiscriminationByTightMuonRejection3*
901 hpsPFTauDiscriminationByMVArawMuonRejection*
902 hpsPFTauDiscriminationByMVALooseMuonRejection*
903 hpsPFTauDiscriminationByMVAMediumMuonRejection*
904 hpsPFTauDiscriminationByMVATightMuonRejection*
906 hpsPFTauVertexAndImpactParametersSeq*
908 hpsPFTauMVAIsolation2Seq