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 mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL"),
308 mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL"),
309 mvaName_woGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL"),
310 mvaName_wGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL"),
311 mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC"),
312 mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC"),
313 mvaName_woGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC"),
314 mvaName_wGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC")
317 hpsPFTauDiscriminationByMVA6VLooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
318 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
319 Prediscriminants = requireDecayMode.clone(),
320 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection'),
321 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection:category'),
322 loadMVAfromDB = cms.bool(
True),
325 category = cms.uint32(0),
326 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff99"),
327 variable = cms.string(
"pt")
330 category = cms.uint32(2),
331 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff99"),
332 variable = cms.string(
"pt")
335 category = cms.uint32(5),
336 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff99"),
337 variable = cms.string(
"pt")
340 category = cms.uint32(7),
341 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff99"),
342 variable = cms.string(
"pt")
345 category = cms.uint32(8),
346 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff99"),
347 variable = cms.string(
"pt")
350 category = cms.uint32(10),
351 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff99"),
352 variable = cms.string(
"pt")
355 category = cms.uint32(13),
356 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff99"),
357 variable = cms.string(
"pt")
360 category = cms.uint32(15),
361 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff99"),
362 variable = cms.string(
"pt")
367 hpsPFTauDiscriminationByMVA6LooseElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
368 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff96")
369 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff96")
370 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff96")
371 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff96")
372 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff96")
373 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff96")
374 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff96")
375 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff96")
377 hpsPFTauDiscriminationByMVA6MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
378 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff91")
379 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff91")
380 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff91")
381 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff91")
382 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff91")
383 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff91")
384 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff91")
385 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff91")
387 hpsPFTauDiscriminationByMVA6TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
388 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff85")
389 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff85")
390 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff85")
391 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff85")
392 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff85")
393 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff85")
394 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff85")
395 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff85")
397 hpsPFTauDiscriminationByMVA6VTightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
398 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff79")
399 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff79")
400 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff79")
401 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff79")
402 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff79")
403 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff79")
404 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff79")
405 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff79")
408 hpsSelectionDiscriminator.PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
411 hpsSelectionDiscriminator.decayModes = cms.VPSet(
412 decayMode_1Prong0Pi0,
413 decayMode_1Prong1Pi0,
414 decayMode_1Prong2Pi0,
415 decayMode_2Prong0Pi0,
416 decayMode_2Prong1Pi0,
417 decayMode_3Prong0Pi0,
418 decayMode_3Prong1Pi0,
422 from RecoTauTag.RecoTau.RecoTauCleaner_cfi
import RecoTauCleaner
423 hpsPFTauProducerSansRefs = RecoTauCleaner.clone(
424 src = cms.InputTag(
"combinatoricRecoTaus")
426 hpsPFTauProducerSansRefs.cleaners[1].src = cms.InputTag(
"hpsSelectionDiscriminator")
428 from RecoTauTag.RecoTau.RecoTauPiZeroUnembedder_cfi
import RecoTauPiZeroUnembedder
429 hpsPFTauProducer = RecoTauPiZeroUnembedder.clone(
430 src = cms.InputTag(
"hpsPFTauProducerSansRefs")
436 hpsPFTauPrimaryVertexProducer = PFTauPrimaryVertexProducer.clone(
437 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
438 ElectronTag = cms.InputTag(
""),
439 MuonTag = cms.InputTag(
""),
440 PVTag = cms.InputTag(
"offlinePrimaryVertices"),
441 beamSpot = cms.InputTag(
"offlineBeamSpot"),
442 Algorithm = cms.int32(0),
443 useBeamSpot = cms.bool(
True),
444 RemoveMuonTracks = cms.bool(
False),
445 RemoveElectronTracks = cms.bool(
False),
446 useSelectedTaus = cms.bool(
False),
447 discriminators = cms.VPSet(
449 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
450 selectionCut = cms.double(0.5)
453 cut = cms.string(
"pt > 18.0 & abs(eta) < 2.4")
456 hpsPFTauSecondaryVertexProducer = PFTauSecondaryVertexProducer.clone(
457 PFTauTag = cms.InputTag(
"hpsPFTauProducer")
459 hpsPFTauTransverseImpactParameters = PFTauTransverseImpactParameters.clone(
460 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
461 PFTauPVATag = cms.InputTag(
"hpsPFTauPrimaryVertexProducer"),
462 PFTauSVATag = cms.InputTag(
"hpsPFTauSecondaryVertexProducer"),
463 useFullCalculation = cms.bool(
True)
465 hpsPFTauVertexAndImpactParametersTask = cms.Task(
466 hpsPFTauPrimaryVertexProducer,
467 hpsPFTauSecondaryVertexProducer,
468 hpsPFTauTransverseImpactParameters
470 hpsPFTauVertexAndImpactParametersSeq = cms.Sequence(
471 hpsPFTauVertexAndImpactParametersTask
474 hpsPFTauChargedIsoPtSum = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
475 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
476 Prediscriminants = requireDecayMode.clone(),
477 ApplyDiscriminationByECALIsolation = cms.bool(
False),
478 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
479 applySumPtCut = cms.bool(
False),
480 applyDeltaBetaCorrection = cms.bool(
False),
481 storeRawSumPt = cms.bool(
True),
482 storeRawPUsumPt = cms.bool(
False),
483 customOuterCone = PFRecoTauPFJetInputs.isolationConeSize,
484 isoConeSizeForDeltaBeta = cms.double(0.8),
485 verbosity = cms.int32(0)
487 hpsPFTauNeutralIsoPtSum = hpsPFTauChargedIsoPtSum.clone(
488 ApplyDiscriminationByECALIsolation = cms.bool(
True),
489 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
490 verbosity = cms.int32(0)
492 hpsPFTauPUcorrPtSum = hpsPFTauChargedIsoPtSum.clone(
493 ApplyDiscriminationByECALIsolation = cms.bool(
False),
494 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
495 applyDeltaBetaCorrection = cms.bool(
True),
496 storeRawSumPt = cms.bool(
False),
497 storeRawPUsumPt = cms.bool(
True),
498 verbosity = cms.int32(0)
500 hpsPFTauNeutralIsoPtSumWeight = hpsPFTauChargedIsoPtSum.clone(
501 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
502 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
503 UseAllPFCandsForWeights = cms.bool(
True),
504 verbosity = cms.int32(0)
506 hpsPFTauFootprintCorrection = hpsPFTauChargedIsoPtSum.clone(
507 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
508 storeRawSumPt = cms.bool(
False),
509 storeRawFootprintCorrection = cms.bool(
True),
510 verbosity = cms.int32(0)
512 hpsPFTauPhotonPtSumOutsideSignalCone = hpsPFTauChargedIsoPtSum.clone(
513 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
514 storeRawSumPt = cms.bool(
False),
515 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
516 verbosity = cms.int32(0)
521 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw = discriminationByIsolationMVArun2v1raw.clone(
522 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
523 Prediscriminants = requireDecayMode.clone(),
524 loadMVAfromDB = cms.bool(
True),
525 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1"),
526 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
527 srcTauTransverseImpactParameters = cms.InputTag(
'hpsPFTauTransverseImpactParameters'),
528 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSum'),
529 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSum'),
530 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSum'),
531 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalCone'),
532 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrection'),
533 verbosity = cms.int32(0)
536 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT = discriminationByIsolationMVArun2v1VLoose.clone(
537 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
538 Prediscriminants = requireDecayMode.clone(),
539 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw'),
540 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw:category'),
541 loadMVAfromDB = cms.bool(
True),
542 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_mvaOutput_normalization"),
545 category = cms.uint32(0),
546 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff90"),
547 variable = cms.string(
"pt")
551 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
552 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff95")
553 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
554 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff80")
555 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
556 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff70")
557 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
558 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff60")
559 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
560 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff50")
561 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
562 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff40")
564 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
565 mvaName = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1"),
566 mvaOpt = cms.string(
"DBnewDMwLT"),
567 verbosity = cms.int32(0)
570 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
571 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw'),
572 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw:category'),
573 loadMVAfromDB = cms.bool(
True),
574 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_mvaOutput_normalization"),
577 category = cms.uint32(0),
578 cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff90"),
579 variable = cms.string(
"pt")
583 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
584 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff80")
585 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
586 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff70")
587 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
588 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff60")
589 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
590 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff50")
591 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
592 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBnewDMwLTv1_WPEff40")
594 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
595 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1"),
596 mvaOpt = cms.string(
"PWoldDMwLT"),
597 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeight'),
598 verbosity = cms.int32(0)
601 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
602 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw'),
603 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw:category'),
604 loadMVAfromDB = cms.bool(
True),
605 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_mvaOutput_normalization"),
608 category = cms.uint32(0),
609 cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff90"),
610 variable = cms.string(
"pt")
614 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
615 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff80")
616 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
617 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff70")
618 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
619 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff60")
620 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
621 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff50")
622 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
623 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff40")
625 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw.clone(
626 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1"),
627 mvaOpt = cms.string(
"PWnewDMwLT"),
628 verbosity = cms.int32(0)
631 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone(
632 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw'),
633 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw:category'),
634 loadMVAfromDB = cms.bool(
True),
635 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_mvaOutput_normalization"),
638 category = cms.uint32(0),
639 cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff90"),
640 variable = cms.string(
"pt")
644 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
645 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff80")
646 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
647 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff70")
648 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
649 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff60")
650 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
651 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff50")
652 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
653 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff40")
655 hpsPFTauChargedIsoPtSumdR03 = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
656 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
657 Prediscriminants = requireDecayMode.clone(),
658 ApplyDiscriminationByECALIsolation = cms.bool(
False),
659 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
660 applySumPtCut = cms.bool(
False),
661 applyDeltaBetaCorrection = cms.bool(
False),
662 storeRawSumPt = cms.bool(
True),
663 storeRawPUsumPt = cms.bool(
False),
664 customOuterCone = cms.double(0.3),
665 isoConeSizeForDeltaBeta = cms.double(0.8),
666 verbosity = cms.int32(0)
668 hpsPFTauNeutralIsoPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
669 ApplyDiscriminationByECALIsolation = cms.bool(
True),
670 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
671 verbosity = cms.int32(0)
673 hpsPFTauPUcorrPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
674 ApplyDiscriminationByECALIsolation = cms.bool(
False),
675 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
676 applyDeltaBetaCorrection = cms.bool(
True),
677 storeRawSumPt = cms.bool(
False),
678 storeRawPUsumPt = cms.bool(
True),
679 verbosity = cms.int32(0)
681 hpsPFTauNeutralIsoPtSumWeightdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
682 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
683 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
684 UseAllPFCandsForWeights = cms.bool(
True),
685 verbosity = cms.int32(0)
687 hpsPFTauFootprintCorrectiondR03 = hpsPFTauChargedIsoPtSumdR03.clone(
688 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
689 storeRawSumPt = cms.bool(
False),
690 storeRawFootprintCorrection = cms.bool(
True),
691 verbosity = cms.int32(0)
693 hpsPFTauPhotonPtSumOutsideSignalConedR03 = hpsPFTauChargedIsoPtSumdR03.clone(
694 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
695 storeRawSumPt = cms.bool(
False),
696 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
697 verbosity = cms.int32(0)
700 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
701 mvaName = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1"),
702 mvaOpt = cms.string(
"DBoldDMwLT"),
703 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSumdR03'),
704 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumdR03'),
705 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSumdR03'),
706 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalConedR03'),
707 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrectiondR03'),
708 verbosity = cms.int32(0)
710 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
711 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
712 Prediscriminants = requireDecayMode.clone(),
713 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw'),
714 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw:category'),
715 loadMVAfromDB = cms.bool(
True),
716 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_mvaOutput_normalization"),
719 category = cms.uint32(0),
720 cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff90"),
721 variable = cms.string(
"pt")
725 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
726 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff80")
727 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
728 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff70")
729 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
730 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff60")
731 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
732 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff50")
733 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
734 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBdR03oldDMwLTv1_WPEff40")
736 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw.clone(
737 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1"),
738 mvaOpt = cms.string(
"PWoldDMwLT"),
739 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeightdR03'),
740 verbosity = cms.int32(0)
742 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone(
743 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw'),
744 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw:category'),
745 loadMVAfromDB = cms.bool(
True),
746 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_mvaOutput_normalization"),
749 category = cms.uint32(0),
750 cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff90"),
751 variable = cms.string(
"pt")
755 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
756 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff80")
757 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
758 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff70")
759 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
760 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff60")
761 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
762 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff50")
763 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
764 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff40")
766 hpsPFTauIsolationSumsTask = cms.Task(
767 hpsPFTauChargedIsoPtSum,
768 hpsPFTauNeutralIsoPtSum,
770 hpsPFTauNeutralIsoPtSumWeight,
771 hpsPFTauFootprintCorrection,
772 hpsPFTauPhotonPtSumOutsideSignalCone,
775 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask = cms.Task(
776 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw,
777 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT,
778 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT,
779 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT,
780 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT,
781 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT,
782 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT,
783 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT
786 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask = cms.Task(
787 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw,
788 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT,
789 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT,
790 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT,
791 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT,
792 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT,
793 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT
796 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask = cms.Task(
797 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw,
798 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT,
799 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT,
800 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT,
801 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT,
802 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT,
803 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT
806 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask = cms.Task(
807 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw,
808 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT,
809 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT,
810 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT,
811 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT,
812 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT,
813 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT,
816 hpsPFTauIsolationSums03Task = cms.Task(
817 hpsPFTauChargedIsoPtSumdR03,
818 hpsPFTauNeutralIsoPtSumdR03,
819 hpsPFTauPUcorrPtSumdR03,
820 hpsPFTauNeutralIsoPtSumWeightdR03,
821 hpsPFTauFootprintCorrectiondR03,
822 hpsPFTauPhotonPtSumOutsideSignalConedR03
825 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask = cms.Task(
826 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw,
827 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT,
828 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT,
829 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT,
830 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT,
831 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT,
832 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT
835 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask = cms.Task(
836 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw,
837 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT,
838 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT,
839 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT,
840 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT,
841 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT,
842 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT
845 hpsPFTauMVAIsolation2Task = cms.Task(
846 hpsPFTauIsolationSumsTask,
847 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask,
848 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask,
849 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask,
850 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask,
851 hpsPFTauIsolationSums03Task,
852 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask,
853 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask
856 hpsPFTauMVAIsolation2Seq = cms.Sequence(
857 hpsPFTauMVAIsolation2Task
860 produceHPSPFTausTask = cms.Task(
861 hpsSelectionDiscriminator,
866 hpsPFTauProducerSansRefs,
870 produceHPSPFTaus = cms.Sequence(
874 produceAndDiscriminateHPSPFTausTask = cms.Task(
875 produceHPSPFTausTask,
876 hpsPFTauDiscriminationByDecayModeFindingNewDMs,
877 hpsPFTauDiscriminationByDecayModeFindingOldDMs,
878 hpsPFTauDiscriminationByDecayModeFinding,
879 hpsPFTauDiscriminationByLooseChargedIsolation,
880 hpsPFTauDiscriminationByLooseIsolation,
881 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask,
882 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task,
883 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask,
884 hpsPFTauDiscriminationByLooseElectronRejection,
885 hpsPFTauDiscriminationByMediumElectronRejection,
886 hpsPFTauDiscriminationByTightElectronRejection,
887 hpsPFTauDiscriminationByMVA6rawElectronRejection,
888 hpsPFTauDiscriminationByMVA6VLooseElectronRejection,
889 hpsPFTauDiscriminationByMVA6LooseElectronRejection,
890 hpsPFTauDiscriminationByMVA6MediumElectronRejection,
891 hpsPFTauDiscriminationByMVA6TightElectronRejection,
892 hpsPFTauDiscriminationByMVA6VTightElectronRejection,
893 hpsPFTauDiscriminationByDeadECALElectronRejection,
894 hpsPFTauDiscriminationByLooseMuonRejection3,
895 hpsPFTauDiscriminationByTightMuonRejection3,
896 hpsPFTauVertexAndImpactParametersTask,
897 hpsPFTauMVAIsolation2Task
900 produceAndDiscriminateHPSPFTaus = cms.Sequence(
901 produceAndDiscriminateHPSPFTausTask