1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
25 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi
import PFRecoTauPFJetInputs
27 ak4dBetaCorrection = 0.20
32 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByHPSSelection_cfi
import hpsSelectionDiscriminator, decayMode_1Prong0Pi0, decayMode_1Prong1Pi0, decayMode_1Prong2Pi0, decayMode_2Prong0Pi0, decayMode_2Prong1Pi0, decayMode_3Prong0Pi0, decayMode_3Prong1Pi0
34 hpsPFTauDiscriminationByDecayModeFindingNewDMs = hpsSelectionDiscriminator.clone(
35 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
38 decayModes = cms.VPSet(
49 hpsPFTauDiscriminationByDecayModeFindingOldDMs = hpsSelectionDiscriminator.clone(
50 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
51 decayModes = cms.VPSet(
57 requireTauChargedHadronsToBeChargedPFCands = cms.bool(
True)
59 hpsPFTauDiscriminationByDecayModeFinding = hpsPFTauDiscriminationByDecayModeFindingOldDMs.clone()
62 requireDecayMode = cms.PSet(
63 BooleanOperator = cms.string(
"and"),
65 Producer = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
70 hpsPFTauDiscriminationByLooseIsolation = pfRecoTauDiscriminationByIsolation.clone(
71 PFTauProducer = cms.InputTag(
"hpsPFTauProducer"),
72 Prediscriminants = requireDecayMode.clone(),
73 ApplyDiscriminationByTrackerIsolation =
False,
74 ApplyDiscriminationByECALIsolation =
True,
75 applyOccupancyCut =
True 77 hpsPFTauDiscriminationByLooseIsolation.Prediscriminants.preIso = cms.PSet(
78 Producer = cms.InputTag(
"hpsPFTauDiscriminationByLooseChargedIsolation"),
82 hpsPFTauDiscriminationByMediumIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
83 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.8
84 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
85 hpsPFTauDiscriminationByMediumIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByMediumChargedIsolation")
87 hpsPFTauDiscriminationByTightIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
88 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
89 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
90 hpsPFTauDiscriminationByTightIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByTightChargedIsolation")
92 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolation.clone(
93 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
94 applyDeltaBetaCorrection =
True,
95 isoConeSizeForDeltaBeta = 0.8,
96 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
97 applyOccupancyCut =
False,
100 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
102 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolation.clone(
103 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
104 applyDeltaBetaCorrection =
True,
105 isoConeSizeForDeltaBeta = 0.8,
106 deltaBetaFactor =
"%0.4f"%(0.0462/0.1687),
107 applyOccupancyCut =
False,
108 applySumPtCut =
True,
110 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
112 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolation.clone(
113 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
114 applyDeltaBetaCorrection =
True,
115 isoConeSizeForDeltaBeta = 0.8,
116 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
117 applyOccupancyCut =
False,
118 applySumPtCut =
True,
120 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
122 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.clone(
123 ApplyDiscriminationByTrackerIsolation =
True,
124 ApplyDiscriminationByECALIsolation =
True,
125 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
126 applyOccupancyCut =
False,
127 applySumPtCut =
True,
128 maximumSumPtCut = 2.5,
129 Prediscriminants = requireDecayMode.clone()
131 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
132 phase2_common.toModify(hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts,
133 isolationQualityCuts =
dict( minTrackPt = 0.8 )
135 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
137 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.clone(
138 ApplyDiscriminationByTrackerIsolation =
True,
139 ApplyDiscriminationByECALIsolation =
True,
140 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
141 applyOccupancyCut =
False,
142 applySumPtCut =
True,
143 maximumSumPtCut = 1.5,
144 Prediscriminants = requireDecayMode.clone()
146 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
147 phase2_common.toModify(hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts,
148 isolationQualityCuts =
dict( minTrackPt = 0.8 )
150 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
152 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.clone(
153 ApplyDiscriminationByTrackerIsolation =
True,
154 ApplyDiscriminationByECALIsolation =
True,
155 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
156 applyOccupancyCut =
False,
157 applySumPtCut =
True,
158 maximumSumPtCut = 0.8,
159 Prediscriminants = requireDecayMode.clone()
161 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
162 phase2_common.toModify(hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts,
163 isolationQualityCuts =
dict( minTrackPt = 0.8 )
165 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
167 hpsPFTauDiscriminationByLooseChargedIsolation = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
168 ApplyDiscriminationByECALIsolation =
False 171 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone()
172 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
173 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
175 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone()
176 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
177 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
179 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone()
180 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
181 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
183 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
184 applySumPtCut =
False,
185 storeRawSumPt = cms.bool(
True)
188 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask = cms.Task(
189 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits,
190 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits,
191 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits,
192 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits
194 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits = cms.Sequence(
195 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask
198 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone()
199 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
200 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
202 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.clone()
203 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
204 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
206 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.clone()
207 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
208 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
210 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task = cms.Task(
211 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03,
212 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03,
213 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03
215 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3HitsdR03 = cms.Sequence(
216 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task
219 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
220 ApplyDiscriminationByECALIsolation = cms.bool(
False),
221 applyDeltaBetaCorrection = cms.bool(
False),
222 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
223 UseAllPFCandsForWeights = cms.bool(
True),
224 applyFootprintCorrection = cms.bool(
True),
225 applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
228 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
229 maximumSumPtCut = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
232 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
233 maximumSumPtCut = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
236 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
237 Prediscriminants = cms.PSet(
238 BooleanOperator = cms.string(
"and"),
239 decayMode = cms.PSet(
240 Producer = cms.InputTag(
'hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone'),
241 cut = cms.double(0.5)
244 applySumPtCut = cms.bool(
False),
245 storeRawSumPt = cms.bool(
True)
248 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
249 applySumPtCut = cms.bool(
False)
252 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask = cms.Task(
253 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits,
254 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits,
255 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits,
256 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone,
257 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits
259 hpsPFTauDiscriminationByPileupWeightedIsolationSeq3Hits = cms.Sequence(
260 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask
265 hpsPFTauDiscriminationByLooseMuonRejection3 = pfRecoTauDiscriminationAgainstMuon2.clone(
266 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
267 Prediscriminants = noPrediscriminants,
268 discriminatorOption = cms.string(
'custom'),
269 maxNumberOfMatches = cms.int32(1),
270 doCaloMuonVeto = cms.bool(
True),
271 maxNumberOfHitsLast2Stations = cms.int32(-1)
273 hpsPFTauDiscriminationByTightMuonRejection3 = hpsPFTauDiscriminationByLooseMuonRejection3.clone(
274 maxNumberOfHitsLast2Stations = cms.int32(0)
279 hpsPFTauDiscriminationByLooseElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
280 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
281 Prediscriminants = noPrediscriminants,
282 PFElectronMVA_maxValue = cms.double(0.6)
285 hpsPFTauDiscriminationByMediumElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
286 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
287 Prediscriminants = noPrediscriminants,
288 ApplyCut_EcalCrackCut = cms.bool(
True)
291 hpsPFTauDiscriminationByTightElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
292 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
293 Prediscriminants = noPrediscriminants,
294 ApplyCut_EcalCrackCut = cms.bool(
True),
295 ApplyCut_BremCombined = cms.bool(
True)
298 hpsPFTauDiscriminationByDeadECALElectronRejection = pfRecoTauDiscriminationAgainstElectronDeadECAL.clone(
299 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
300 Prediscriminants = requireDecayMode.clone()
303 hpsPFTauDiscriminationByMVA6rawElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA6.clone(
304 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
305 Prediscriminants = requireDecayMode.clone(),
306 loadMVAfromDB = cms.bool(
True),
307 vetoEcalCracks = cms.bool(
True),
308 mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL"),
309 mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL"),
310 mvaName_woGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL"),
311 mvaName_wGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL"),
312 mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC"),
313 mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC"),
314 mvaName_woGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC"),
315 mvaName_wGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC")
318 hpsPFTauDiscriminationByMVA6VLooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
319 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
320 Prediscriminants = requireDecayMode.clone(),
321 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection'),
322 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection:category'),
323 loadMVAfromDB = cms.bool(
True),
326 category = cms.uint32(0),
327 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff99"),
328 variable = cms.string(
"pt")
331 category = cms.uint32(2),
332 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff99"),
333 variable = cms.string(
"pt")
336 category = cms.uint32(5),
337 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff99"),
338 variable = cms.string(
"pt")
341 category = cms.uint32(7),
342 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff99"),
343 variable = cms.string(
"pt")
346 category = cms.uint32(8),
347 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff99"),
348 variable = cms.string(
"pt")
351 category = cms.uint32(10),
352 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff99"),
353 variable = cms.string(
"pt")
356 category = cms.uint32(13),
357 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff99"),
358 variable = cms.string(
"pt")
361 category = cms.uint32(15),
362 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff99"),
363 variable = cms.string(
"pt")
368 hpsPFTauDiscriminationByMVA6LooseElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
369 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff96")
370 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff96")
371 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff96")
372 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff96")
373 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff96")
374 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff96")
375 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff96")
376 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff96")
378 hpsPFTauDiscriminationByMVA6MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
379 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff91")
380 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff91")
381 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff91")
382 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff91")
383 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff91")
384 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff91")
385 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff91")
386 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff91")
388 hpsPFTauDiscriminationByMVA6TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
389 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff85")
390 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff85")
391 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff85")
392 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff85")
393 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff85")
394 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff85")
395 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff85")
396 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff85")
398 hpsPFTauDiscriminationByMVA6VTightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
399 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff79")
400 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff79")
401 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff79")
402 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff79")
403 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff79")
404 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff79")
405 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff79")
406 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff79")
409 hpsSelectionDiscriminator.PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
412 hpsSelectionDiscriminator.decayModes = cms.VPSet(
413 decayMode_1Prong0Pi0,
414 decayMode_1Prong1Pi0,
415 decayMode_1Prong2Pi0,
416 decayMode_2Prong0Pi0,
417 decayMode_2Prong1Pi0,
418 decayMode_3Prong0Pi0,
419 decayMode_3Prong1Pi0,
423 from RecoTauTag.RecoTau.RecoTauCleaner_cfi
import RecoTauCleaner
424 hpsPFTauProducerSansRefs = RecoTauCleaner.clone(
425 src = cms.InputTag(
"combinatoricRecoTaus")
427 hpsPFTauProducerSansRefs.cleaners[1].src = cms.InputTag(
"hpsSelectionDiscriminator")
429 from RecoTauTag.RecoTau.RecoTauPiZeroUnembedder_cfi
import RecoTauPiZeroUnembedder
430 hpsPFTauProducer = RecoTauPiZeroUnembedder.clone(
431 src = cms.InputTag(
"hpsPFTauProducerSansRefs")
437 hpsPFTauPrimaryVertexProducer = PFTauPrimaryVertexProducer.clone(
438 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
439 ElectronTag = cms.InputTag(
""),
440 MuonTag = cms.InputTag(
""),
441 PVTag = cms.InputTag(
"offlinePrimaryVertices"),
442 beamSpot = cms.InputTag(
"offlineBeamSpot"),
443 Algorithm = cms.int32(0),
444 useBeamSpot = cms.bool(
True),
445 RemoveMuonTracks = cms.bool(
False),
446 RemoveElectronTracks = cms.bool(
False),
447 useSelectedTaus = cms.bool(
False),
448 discriminators = cms.VPSet(
450 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
451 selectionCut = cms.double(0.5)
454 cut = cms.string(
"pt > 18.0 & abs(eta) < 2.4")
457 hpsPFTauSecondaryVertexProducer = PFTauSecondaryVertexProducer.clone(
458 PFTauTag = cms.InputTag(
"hpsPFTauProducer")
460 hpsPFTauTransverseImpactParameters = PFTauTransverseImpactParameters.clone(
461 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
462 PFTauPVATag = cms.InputTag(
"hpsPFTauPrimaryVertexProducer"),
463 PFTauSVATag = cms.InputTag(
"hpsPFTauSecondaryVertexProducer"),
464 useFullCalculation = cms.bool(
True)
466 hpsPFTauVertexAndImpactParametersTask = cms.Task(
467 hpsPFTauPrimaryVertexProducer,
468 hpsPFTauSecondaryVertexProducer,
469 hpsPFTauTransverseImpactParameters
471 hpsPFTauVertexAndImpactParametersSeq = cms.Sequence(
472 hpsPFTauVertexAndImpactParametersTask
475 hpsPFTauChargedIsoPtSum = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
476 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
477 Prediscriminants = requireDecayMode.clone(),
478 ApplyDiscriminationByECALIsolation = cms.bool(
False),
479 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
480 applySumPtCut = cms.bool(
False),
481 applyDeltaBetaCorrection = cms.bool(
False),
482 storeRawSumPt = cms.bool(
True),
483 storeRawPUsumPt = cms.bool(
False),
484 customOuterCone = PFRecoTauPFJetInputs.isolationConeSize,
485 isoConeSizeForDeltaBeta = cms.double(0.8),
486 verbosity = cms.int32(0)
488 hpsPFTauNeutralIsoPtSum = hpsPFTauChargedIsoPtSum.clone(
489 ApplyDiscriminationByECALIsolation = cms.bool(
True),
490 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
491 verbosity = cms.int32(0)
493 hpsPFTauPUcorrPtSum = hpsPFTauChargedIsoPtSum.clone(
494 ApplyDiscriminationByECALIsolation = cms.bool(
False),
495 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
496 applyDeltaBetaCorrection = cms.bool(
True),
497 storeRawSumPt = cms.bool(
False),
498 storeRawPUsumPt = cms.bool(
True),
499 verbosity = cms.int32(0)
501 hpsPFTauNeutralIsoPtSumWeight = hpsPFTauChargedIsoPtSum.clone(
502 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
503 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
504 UseAllPFCandsForWeights = cms.bool(
True),
505 verbosity = cms.int32(0)
507 hpsPFTauFootprintCorrection = hpsPFTauChargedIsoPtSum.clone(
508 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
509 storeRawSumPt = cms.bool(
False),
510 storeRawFootprintCorrection = cms.bool(
True),
511 verbosity = cms.int32(0)
513 hpsPFTauPhotonPtSumOutsideSignalCone = hpsPFTauChargedIsoPtSum.clone(
514 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
515 storeRawSumPt = cms.bool(
False),
516 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
517 verbosity = cms.int32(0)
522 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw = discriminationByIsolationMVArun2v1raw.clone(
523 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
524 Prediscriminants = requireDecayMode.clone(),
525 loadMVAfromDB = cms.bool(
True),
526 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1"),
527 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
528 srcTauTransverseImpactParameters = cms.InputTag(
'hpsPFTauTransverseImpactParameters'),
529 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSum'),
530 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSum'),
531 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSum'),
532 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalCone'),
533 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrection'),
534 verbosity = cms.int32(0)
537 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT = discriminationByIsolationMVArun2v1VLoose.clone(
538 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
539 Prediscriminants = requireDecayMode.clone(),
540 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw'),
541 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw:category'),
542 loadMVAfromDB = cms.bool(
True),
543 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_mvaOutput_normalization"),
546 category = cms.uint32(0),
547 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff90"),
548 variable = cms.string(
"pt")
552 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
553 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff95")
554 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
555 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff80")
556 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
557 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff70")
558 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
559 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff60")
560 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
561 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff50")
562 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
563 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff40")
565 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
566 mvaName = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1"),
567 mvaOpt = cms.string(
"DBnewDMwLT"),
568 verbosity = cms.int32(0)
571 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
572 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw'),
573 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw:category'),
574 loadMVAfromDB = cms.bool(
True),
575 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_mvaOutput_normalization"),
578 category = cms.uint32(0),
579 cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff90"),
580 variable = cms.string(
"pt")
584 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
585 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff80")
586 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
587 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff70")
588 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
589 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff60")
590 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
591 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff50")
592 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
593 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff40")
595 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
596 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1"),
597 mvaOpt = cms.string(
"PWoldDMwLT"),
598 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeight'),
599 verbosity = cms.int32(0)
602 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
603 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw'),
604 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw:category'),
605 loadMVAfromDB = cms.bool(
True),
606 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_mvaOutput_normalization"),
609 category = cms.uint32(0),
610 cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff90"),
611 variable = cms.string(
"pt")
615 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
616 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff80")
617 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
618 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff70")
619 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
620 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff60")
621 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
622 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff50")
623 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
624 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff40")
626 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw.clone(
627 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1"),
628 mvaOpt = cms.string(
"PWnewDMwLT"),
629 verbosity = cms.int32(0)
632 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone(
633 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw'),
634 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw:category'),
635 loadMVAfromDB = cms.bool(
True),
636 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_mvaOutput_normalization"),
639 category = cms.uint32(0),
640 cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff90"),
641 variable = cms.string(
"pt")
645 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
646 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff80")
647 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
648 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff70")
649 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
650 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff60")
651 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
652 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff50")
653 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
654 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff40")
656 hpsPFTauChargedIsoPtSumdR03 = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
657 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
658 Prediscriminants = requireDecayMode.clone(),
659 ApplyDiscriminationByECALIsolation = cms.bool(
False),
660 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
661 applySumPtCut = cms.bool(
False),
662 applyDeltaBetaCorrection = cms.bool(
False),
663 storeRawSumPt = cms.bool(
True),
664 storeRawPUsumPt = cms.bool(
False),
665 customOuterCone = cms.double(0.3),
666 isoConeSizeForDeltaBeta = cms.double(0.8),
667 verbosity = cms.int32(0)
669 hpsPFTauNeutralIsoPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
670 ApplyDiscriminationByECALIsolation = cms.bool(
True),
671 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
672 verbosity = cms.int32(0)
674 hpsPFTauPUcorrPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
675 ApplyDiscriminationByECALIsolation = cms.bool(
False),
676 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
677 applyDeltaBetaCorrection = cms.bool(
True),
678 storeRawSumPt = cms.bool(
False),
679 storeRawPUsumPt = cms.bool(
True),
680 verbosity = cms.int32(0)
682 hpsPFTauNeutralIsoPtSumWeightdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
683 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
684 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
685 UseAllPFCandsForWeights = cms.bool(
True),
686 verbosity = cms.int32(0)
688 hpsPFTauFootprintCorrectiondR03 = hpsPFTauChargedIsoPtSumdR03.clone(
689 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
690 storeRawSumPt = cms.bool(
False),
691 storeRawFootprintCorrection = cms.bool(
True),
692 verbosity = cms.int32(0)
694 hpsPFTauPhotonPtSumOutsideSignalConedR03 = hpsPFTauChargedIsoPtSumdR03.clone(
695 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
696 storeRawSumPt = cms.bool(
False),
697 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
698 verbosity = cms.int32(0)
701 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
702 mvaName = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1"),
703 mvaOpt = cms.string(
"DBoldDMwLT"),
704 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSumdR03'),
705 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumdR03'),
706 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSumdR03'),
707 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalConedR03'),
708 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrectiondR03'),
709 verbosity = cms.int32(0)
711 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
712 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
713 Prediscriminants = requireDecayMode.clone(),
714 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw'),
715 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw:category'),
716 loadMVAfromDB = cms.bool(
True),
717 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_mvaOutput_normalization"),
720 category = cms.uint32(0),
721 cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff90"),
722 variable = cms.string(
"pt")
726 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
727 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff80")
728 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
729 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff70")
730 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
731 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff60")
732 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
733 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff50")
734 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
735 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff40")
737 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw.clone(
738 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1"),
739 mvaOpt = cms.string(
"PWoldDMwLT"),
740 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeightdR03'),
741 verbosity = cms.int32(0)
743 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone(
744 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw'),
745 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw:category'),
746 loadMVAfromDB = cms.bool(
True),
747 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_mvaOutput_normalization"),
750 category = cms.uint32(0),
751 cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff90"),
752 variable = cms.string(
"pt")
756 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
757 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff80")
758 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
759 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff70")
760 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
761 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff60")
762 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
763 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff50")
764 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
765 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff40")
767 hpsPFTauIsolationSumsTask = cms.Task(
768 hpsPFTauChargedIsoPtSum,
769 hpsPFTauNeutralIsoPtSum,
771 hpsPFTauNeutralIsoPtSumWeight,
772 hpsPFTauFootprintCorrection,
773 hpsPFTauPhotonPtSumOutsideSignalCone,
776 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask = cms.Task(
777 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw,
778 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT,
779 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT,
780 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT,
781 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT,
782 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT,
783 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT,
784 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT
787 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask = cms.Task(
788 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw,
789 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT,
790 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT,
791 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT,
792 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT,
793 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT,
794 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT
797 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask = cms.Task(
798 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw,
799 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT,
800 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT,
801 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT,
802 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT,
803 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT,
804 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT
807 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask = cms.Task(
808 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw,
809 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT,
810 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT,
811 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT,
812 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT,
813 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT,
814 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT,
817 hpsPFTauIsolationSums03Task = cms.Task(
818 hpsPFTauChargedIsoPtSumdR03,
819 hpsPFTauNeutralIsoPtSumdR03,
820 hpsPFTauPUcorrPtSumdR03,
821 hpsPFTauNeutralIsoPtSumWeightdR03,
822 hpsPFTauFootprintCorrectiondR03,
823 hpsPFTauPhotonPtSumOutsideSignalConedR03
826 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask = cms.Task(
827 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw,
828 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT,
829 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT,
830 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT,
831 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT,
832 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT,
833 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT
836 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask = cms.Task(
837 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw,
838 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT,
839 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT,
840 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT,
841 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT,
842 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT,
843 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT
846 hpsPFTauMVAIsolation2Task = cms.Task(
847 hpsPFTauIsolationSumsTask,
848 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask,
849 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask,
850 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask,
851 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask,
852 hpsPFTauIsolationSums03Task,
853 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask,
854 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask
857 hpsPFTauMVAIsolation2Seq = cms.Sequence(
858 hpsPFTauMVAIsolation2Task
861 produceHPSPFTausTask = cms.Task(
862 hpsSelectionDiscriminator,
867 hpsPFTauProducerSansRefs,
871 produceHPSPFTaus = cms.Sequence(
875 produceAndDiscriminateHPSPFTausTask = cms.Task(
876 produceHPSPFTausTask,
877 hpsPFTauDiscriminationByDecayModeFindingNewDMs,
878 hpsPFTauDiscriminationByDecayModeFindingOldDMs,
879 hpsPFTauDiscriminationByDecayModeFinding,
880 hpsPFTauDiscriminationByLooseChargedIsolation,
881 hpsPFTauDiscriminationByLooseIsolation,
882 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask,
883 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task,
884 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask,
885 hpsPFTauDiscriminationByLooseElectronRejection,
886 hpsPFTauDiscriminationByMediumElectronRejection,
887 hpsPFTauDiscriminationByTightElectronRejection,
888 hpsPFTauDiscriminationByMVA6rawElectronRejection,
889 hpsPFTauDiscriminationByMVA6VLooseElectronRejection,
890 hpsPFTauDiscriminationByMVA6LooseElectronRejection,
891 hpsPFTauDiscriminationByMVA6MediumElectronRejection,
892 hpsPFTauDiscriminationByMVA6TightElectronRejection,
893 hpsPFTauDiscriminationByMVA6VTightElectronRejection,
894 hpsPFTauDiscriminationByDeadECALElectronRejection,
895 hpsPFTauDiscriminationByLooseMuonRejection3,
896 hpsPFTauDiscriminationByTightMuonRejection3,
897 hpsPFTauVertexAndImpactParametersTask,
898 hpsPFTauMVAIsolation2Task
901 produceAndDiscriminateHPSPFTaus = cms.Sequence(
902 produceAndDiscriminateHPSPFTausTask