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 =
True,
94 deltaBetaPUTrackPtCutOverride_val = 0.5,
95 applyDeltaBetaCorrection =
True,
96 isoConeSizeForDeltaBeta = 0.8,
97 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
98 applyOccupancyCut =
False,
101 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
103 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolation.clone(
104 deltaBetaPUTrackPtCutOverride =
True,
105 deltaBetaPUTrackPtCutOverride_val = 0.5,
106 applyDeltaBetaCorrection =
True,
107 isoConeSizeForDeltaBeta = 0.8,
108 deltaBetaFactor =
"%0.4f"%(0.0462/0.1687),
109 applyOccupancyCut =
False,
110 applySumPtCut =
True,
112 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
114 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolation.clone(
115 deltaBetaPUTrackPtCutOverride =
True,
116 deltaBetaPUTrackPtCutOverride_val = 0.5,
117 applyDeltaBetaCorrection =
True,
118 isoConeSizeForDeltaBeta = 0.8,
119 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
120 applyOccupancyCut =
False,
121 applySumPtCut =
True,
123 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.maximumSumPtCut = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
125 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.clone(
126 ApplyDiscriminationByTrackerIsolation =
True,
127 ApplyDiscriminationByECALIsolation =
True,
128 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
129 applyOccupancyCut =
False,
130 applySumPtCut =
True,
131 maximumSumPtCut = 2.5,
132 Prediscriminants = requireDecayMode.clone()
134 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
135 phase2_common.toModify(hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts,
136 isolationQualityCuts =
dict( minTrackPt = 0.8 )
138 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
140 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.clone(
141 ApplyDiscriminationByTrackerIsolation =
True,
142 ApplyDiscriminationByECALIsolation =
True,
143 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
144 applyOccupancyCut =
False,
145 applySumPtCut =
True,
146 maximumSumPtCut = 1.5,
147 Prediscriminants = requireDecayMode.clone()
149 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
150 phase2_common.toModify(hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts,
151 isolationQualityCuts =
dict( minTrackPt = 0.8 )
153 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
155 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.clone(
156 ApplyDiscriminationByTrackerIsolation =
True,
157 ApplyDiscriminationByECALIsolation =
True,
158 deltaBetaFactor =
"%0.4f"%(ak4dBetaCorrection),
159 applyOccupancyCut =
False,
160 applySumPtCut =
True,
161 maximumSumPtCut = 0.8,
162 Prediscriminants = requireDecayMode.clone()
164 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
165 phase2_common.toModify(hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts,
166 isolationQualityCuts =
dict( minTrackPt = 0.8 )
168 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 1.0
170 hpsPFTauDiscriminationByLooseChargedIsolation = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
171 ApplyDiscriminationByECALIsolation =
False 174 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone()
175 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
176 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
178 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone()
179 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
180 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
182 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone()
183 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
184 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
186 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
187 applySumPtCut =
False,
188 storeRawSumPt = cms.bool(
True)
191 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask = cms.Task(
192 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits,
193 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits,
194 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits,
195 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits
197 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits = cms.Sequence(
198 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask
201 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone()
202 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
203 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
205 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.clone()
206 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
207 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
209 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03 = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.clone()
210 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03.deltaBetaFactor = cms.string(
'0.0720')
211 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03.customOuterCone = cms.double(0.3)
213 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task = cms.Task(
214 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3HitsdR03,
215 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3HitsdR03,
216 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3HitsdR03
218 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3HitsdR03 = cms.Sequence(
219 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task
222 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
223 ApplyDiscriminationByECALIsolation = cms.bool(
False),
224 applyDeltaBetaCorrection = cms.bool(
False),
225 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
226 UseAllPFCandsForWeights = cms.bool(
True),
227 applyFootprintCorrection = cms.bool(
True),
228 applyPhotonPtSumOutsideSignalConeCut = cms.bool(
True)
231 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
232 maximumSumPtCut = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
235 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
236 maximumSumPtCut = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.maximumSumPtCut
239 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
240 Prediscriminants = cms.PSet(
241 BooleanOperator = cms.string(
"and"),
242 decayMode = cms.PSet(
243 Producer = cms.InputTag(
'hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone'),
244 cut = cms.double(0.5)
247 applySumPtCut = cms.bool(
False),
248 storeRawSumPt = cms.bool(
True)
251 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone = hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits.clone(
252 applySumPtCut = cms.bool(
False)
255 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask = cms.Task(
256 hpsPFTauDiscriminationByLoosePileupWeightedIsolation3Hits,
257 hpsPFTauDiscriminationByMediumPileupWeightedIsolation3Hits,
258 hpsPFTauDiscriminationByTightPileupWeightedIsolation3Hits,
259 hpsPFTauDiscriminationByPhotonPtSumOutsideSignalCone,
260 hpsPFTauDiscriminationByRawPileupWeightedIsolation3Hits
262 hpsPFTauDiscriminationByPileupWeightedIsolationSeq3Hits = cms.Sequence(
263 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask
268 hpsPFTauDiscriminationByLooseMuonRejection3 = pfRecoTauDiscriminationAgainstMuon2.clone(
269 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
270 Prediscriminants = noPrediscriminants,
271 discriminatorOption = cms.string(
'custom'),
272 maxNumberOfMatches = cms.int32(1),
273 doCaloMuonVeto = cms.bool(
True),
274 maxNumberOfHitsLast2Stations = cms.int32(-1)
276 hpsPFTauDiscriminationByTightMuonRejection3 = hpsPFTauDiscriminationByLooseMuonRejection3.clone(
277 maxNumberOfHitsLast2Stations = cms.int32(0)
282 hpsPFTauDiscriminationByLooseElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
283 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
284 Prediscriminants = noPrediscriminants,
285 PFElectronMVA_maxValue = cms.double(0.6)
288 hpsPFTauDiscriminationByMediumElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
289 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
290 Prediscriminants = noPrediscriminants,
291 ApplyCut_EcalCrackCut = cms.bool(
True)
294 hpsPFTauDiscriminationByTightElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
295 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
296 Prediscriminants = noPrediscriminants,
297 ApplyCut_EcalCrackCut = cms.bool(
True),
298 ApplyCut_BremCombined = cms.bool(
True)
301 hpsPFTauDiscriminationByDeadECALElectronRejection = pfRecoTauDiscriminationAgainstElectronDeadECAL.clone(
302 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
303 Prediscriminants = requireDecayMode.clone()
306 hpsPFTauDiscriminationByMVA6rawElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA6.clone(
307 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
308 Prediscriminants = requireDecayMode.clone(),
309 loadMVAfromDB = cms.bool(
True),
310 vetoEcalCracks = cms.bool(
True),
311 mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL"),
312 mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL"),
313 mvaName_woGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL"),
314 mvaName_wGwGSF_BL = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL"),
315 mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC"),
316 mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC"),
317 mvaName_woGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC"),
318 mvaName_wGwGSF_EC = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC")
321 hpsPFTauDiscriminationByMVA6VLooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
322 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
323 Prediscriminants = requireDecayMode.clone(),
324 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection'),
325 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA6rawElectronRejection:category'),
326 loadMVAfromDB = cms.bool(
True),
329 category = cms.uint32(0),
330 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff99"),
331 variable = cms.string(
"pt")
334 category = cms.uint32(2),
335 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff99"),
336 variable = cms.string(
"pt")
339 category = cms.uint32(5),
340 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff99"),
341 variable = cms.string(
"pt")
344 category = cms.uint32(7),
345 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff99"),
346 variable = cms.string(
"pt")
349 category = cms.uint32(8),
350 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff99"),
351 variable = cms.string(
"pt")
354 category = cms.uint32(10),
355 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff99"),
356 variable = cms.string(
"pt")
359 category = cms.uint32(13),
360 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff99"),
361 variable = cms.string(
"pt")
364 category = cms.uint32(15),
365 cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff99"),
366 variable = cms.string(
"pt")
371 hpsPFTauDiscriminationByMVA6LooseElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
372 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff96")
373 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff96")
374 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff96")
375 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff96")
376 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff96")
377 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff96")
378 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff96")
379 hpsPFTauDiscriminationByMVA6LooseElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff96")
381 hpsPFTauDiscriminationByMVA6MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
382 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff91")
383 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff91")
384 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff91")
385 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff91")
386 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff91")
387 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff91")
388 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff91")
389 hpsPFTauDiscriminationByMVA6MediumElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff91")
391 hpsPFTauDiscriminationByMVA6TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
392 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff85")
393 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff85")
394 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff85")
395 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff85")
396 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff85")
397 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff85")
398 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff85")
399 hpsPFTauDiscriminationByMVA6TightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff85")
401 hpsPFTauDiscriminationByMVA6VTightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA6VLooseElectronRejection)
402 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[0].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_BL_WPEff79")
403 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[1].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_BL_WPEff79")
404 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[2].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_BL_WPEff79")
405 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[3].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_BL_WPEff79")
406 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[4].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_woGwoGSF_EC_WPEff79")
407 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[5].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_NoEleMatch_wGwoGSF_EC_WPEff79")
408 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[6].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_woGwGSF_EC_WPEff79")
409 hpsPFTauDiscriminationByMVA6VTightElectronRejection.mapping[7].cut = cms.string(
"RecoTauTag_antiElectronMVA6v1_gbr_wGwGSF_EC_WPEff79")
412 hpsSelectionDiscriminator.PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
415 hpsSelectionDiscriminator.decayModes = cms.VPSet(
416 decayMode_1Prong0Pi0,
417 decayMode_1Prong1Pi0,
418 decayMode_1Prong2Pi0,
419 decayMode_2Prong0Pi0,
420 decayMode_2Prong1Pi0,
421 decayMode_3Prong0Pi0,
422 decayMode_3Prong1Pi0,
426 from RecoTauTag.RecoTau.RecoTauCleaner_cfi
import RecoTauCleaner
427 hpsPFTauProducerSansRefs = RecoTauCleaner.clone(
428 src = cms.InputTag(
"combinatoricRecoTaus")
430 hpsPFTauProducerSansRefs.cleaners[1].src = cms.InputTag(
"hpsSelectionDiscriminator")
432 from RecoTauTag.RecoTau.RecoTauPiZeroUnembedder_cfi
import RecoTauPiZeroUnembedder
433 hpsPFTauProducer = RecoTauPiZeroUnembedder.clone(
434 src = cms.InputTag(
"hpsPFTauProducerSansRefs")
440 hpsPFTauPrimaryVertexProducer = PFTauPrimaryVertexProducer.clone(
441 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
442 ElectronTag = cms.InputTag(
""),
443 MuonTag = cms.InputTag(
""),
444 PVTag = cms.InputTag(
"offlinePrimaryVertices"),
445 beamSpot = cms.InputTag(
"offlineBeamSpot"),
446 Algorithm = cms.int32(0),
447 useBeamSpot = cms.bool(
True),
448 RemoveMuonTracks = cms.bool(
False),
449 RemoveElectronTracks = cms.bool(
False),
450 useSelectedTaus = cms.bool(
False),
451 discriminators = cms.VPSet(
453 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFindingNewDMs'),
454 selectionCut = cms.double(0.5)
457 cut = cms.string(
"pt > 18.0 & abs(eta) < 2.4")
460 hpsPFTauSecondaryVertexProducer = PFTauSecondaryVertexProducer.clone(
461 PFTauTag = cms.InputTag(
"hpsPFTauProducer")
463 hpsPFTauTransverseImpactParameters = PFTauTransverseImpactParameters.clone(
464 PFTauTag = cms.InputTag(
"hpsPFTauProducer"),
465 PFTauPVATag = cms.InputTag(
"hpsPFTauPrimaryVertexProducer"),
466 PFTauSVATag = cms.InputTag(
"hpsPFTauSecondaryVertexProducer"),
467 useFullCalculation = cms.bool(
True)
469 hpsPFTauVertexAndImpactParametersTask = cms.Task(
470 hpsPFTauPrimaryVertexProducer,
471 hpsPFTauSecondaryVertexProducer,
472 hpsPFTauTransverseImpactParameters
474 hpsPFTauVertexAndImpactParametersSeq = cms.Sequence(
475 hpsPFTauVertexAndImpactParametersTask
478 hpsPFTauChargedIsoPtSum = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
479 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
480 Prediscriminants = requireDecayMode.clone(),
481 ApplyDiscriminationByECALIsolation = cms.bool(
False),
482 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
483 applySumPtCut = cms.bool(
False),
484 applyDeltaBetaCorrection = cms.bool(
False),
485 storeRawSumPt = cms.bool(
True),
486 storeRawPUsumPt = cms.bool(
False),
487 customOuterCone = PFRecoTauPFJetInputs.isolationConeSize,
488 isoConeSizeForDeltaBeta = cms.double(0.8),
489 verbosity = cms.int32(0)
491 hpsPFTauNeutralIsoPtSum = hpsPFTauChargedIsoPtSum.clone(
492 ApplyDiscriminationByECALIsolation = cms.bool(
True),
493 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
494 verbosity = cms.int32(0)
496 hpsPFTauPUcorrPtSum = hpsPFTauChargedIsoPtSum.clone(
497 ApplyDiscriminationByECALIsolation = cms.bool(
False),
498 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
499 applyDeltaBetaCorrection = cms.bool(
True),
500 storeRawSumPt = cms.bool(
False),
501 storeRawPUsumPt = cms.bool(
True),
502 verbosity = cms.int32(0)
504 hpsPFTauNeutralIsoPtSumWeight = hpsPFTauChargedIsoPtSum.clone(
505 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
506 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
507 UseAllPFCandsForWeights = cms.bool(
True),
508 verbosity = cms.int32(0)
510 hpsPFTauFootprintCorrection = hpsPFTauChargedIsoPtSum.clone(
511 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
512 storeRawSumPt = cms.bool(
False),
513 storeRawFootprintCorrection = cms.bool(
True),
514 verbosity = cms.int32(0)
516 hpsPFTauPhotonPtSumOutsideSignalCone = hpsPFTauChargedIsoPtSum.clone(
517 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
518 storeRawSumPt = cms.bool(
False),
519 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
520 verbosity = cms.int32(0)
525 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw = discriminationByIsolationMVArun2v1raw.clone(
526 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
527 Prediscriminants = requireDecayMode.clone(),
528 loadMVAfromDB = cms.bool(
True),
529 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2"),
530 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
531 srcTauTransverseImpactParameters = cms.InputTag(
'hpsPFTauTransverseImpactParameters'),
532 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSum'),
533 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSum'),
534 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSum'),
535 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalCone'),
536 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrection'),
537 verbosity = cms.int32(0)
540 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT = discriminationByIsolationMVArun2v1VLoose.clone(
541 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
542 Prediscriminants = requireDecayMode.clone(),
543 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw'),
544 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw:category'),
545 loadMVAfromDB = cms.bool(
True),
546 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_mvaOutput_normalization"),
549 category = cms.uint32(0),
550 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff90"),
551 variable = cms.string(
"pt")
555 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
556 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff95")
557 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
558 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff80")
559 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
560 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff70")
561 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
562 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff60")
563 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
564 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff50")
565 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone()
566 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff40")
568 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
569 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2"),
570 mvaOpt = cms.string(
"DBnewDMwLTwGJ"),
571 verbosity = cms.int32(0)
574 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
575 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw'),
576 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw:category'),
577 loadMVAfromDB = cms.bool(
True),
578 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_mvaOutput_normalization"),
581 category = cms.uint32(0),
582 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff90"),
583 variable = cms.string(
"pt")
587 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
588 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff80")
589 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
590 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff70")
591 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
592 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff60")
593 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
594 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff50")
595 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.clone()
596 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff40")
598 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
599 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1"),
600 mvaOpt = cms.string(
"PWoldDMwLT"),
601 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeight'),
602 verbosity = cms.int32(0)
605 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
606 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw'),
607 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw:category'),
608 loadMVAfromDB = cms.bool(
True),
609 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_mvaOutput_normalization"),
612 category = cms.uint32(0),
613 cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff90"),
614 variable = cms.string(
"pt")
618 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
619 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff80")
620 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
621 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff70")
622 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
623 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff60")
624 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
625 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff50")
626 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone()
627 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWoldDMwLTv1_WPEff40")
629 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw.clone(
630 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1"),
631 mvaOpt = cms.string(
"PWnewDMwLT"),
632 verbosity = cms.int32(0)
635 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT.clone(
636 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw'),
637 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw:category'),
638 loadMVAfromDB = cms.bool(
True),
639 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_mvaOutput_normalization"),
642 category = cms.uint32(0),
643 cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff90"),
644 variable = cms.string(
"pt")
648 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
649 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff80")
650 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
651 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff70")
652 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
653 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff60")
654 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
655 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff50")
656 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT.clone()
657 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWnewDMwLTv1_WPEff40")
659 hpsPFTauChargedIsoPtSumdR03 = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
660 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
661 Prediscriminants = requireDecayMode.clone(),
662 ApplyDiscriminationByECALIsolation = cms.bool(
False),
663 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
664 applySumPtCut = cms.bool(
False),
665 applyDeltaBetaCorrection = cms.bool(
False),
666 storeRawSumPt = cms.bool(
True),
667 storeRawPUsumPt = cms.bool(
False),
668 customOuterCone = cms.double(0.3),
669 isoConeSizeForDeltaBeta = cms.double(0.8),
670 verbosity = cms.int32(0)
672 hpsPFTauNeutralIsoPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
673 ApplyDiscriminationByECALIsolation = cms.bool(
True),
674 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
675 verbosity = cms.int32(0)
677 hpsPFTauPUcorrPtSumdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
678 ApplyDiscriminationByECALIsolation = cms.bool(
False),
679 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
680 applyDeltaBetaCorrection = cms.bool(
True),
681 storeRawSumPt = cms.bool(
False),
682 storeRawPUsumPt = cms.bool(
True),
683 verbosity = cms.int32(0)
685 hpsPFTauNeutralIsoPtSumWeightdR03 = hpsPFTauChargedIsoPtSumdR03.clone(
686 ApplyDiscriminationByWeightedECALIsolation = cms.bool(
True),
687 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
688 UseAllPFCandsForWeights = cms.bool(
True),
689 verbosity = cms.int32(0)
691 hpsPFTauFootprintCorrectiondR03 = hpsPFTauChargedIsoPtSumdR03.clone(
692 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
693 storeRawSumPt = cms.bool(
False),
694 storeRawFootprintCorrection = cms.bool(
True),
695 verbosity = cms.int32(0)
697 hpsPFTauPhotonPtSumOutsideSignalConedR03 = hpsPFTauChargedIsoPtSumdR03.clone(
698 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
699 storeRawSumPt = cms.bool(
False),
700 storeRawPhotonSumPt_outsideSignalCone = cms.bool(
True),
701 verbosity = cms.int32(0)
704 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw.clone(
705 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2"),
706 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
707 srcChargedIsoPtSum = cms.InputTag(
'hpsPFTauChargedIsoPtSumdR03'),
708 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumdR03'),
709 srcPUcorrPtSum = cms.InputTag(
'hpsPFTauPUcorrPtSumdR03'),
710 srcPhotonPtSumOutsideSignalCone = cms.InputTag(
'hpsPFTauPhotonPtSumOutsideSignalConedR03'),
711 srcFootprintCorrection = cms.InputTag(
'hpsPFTauFootprintCorrectiondR03'),
712 verbosity = cms.int32(0)
714 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.clone(
715 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
716 Prediscriminants = requireDecayMode.clone(),
717 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw'),
718 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw:category'),
719 loadMVAfromDB = cms.bool(
True),
720 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_mvaOutput_normalization"),
723 category = cms.uint32(0),
724 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff90"),
725 variable = cms.string(
"pt")
729 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
730 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff80")
731 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
732 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff70")
733 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
734 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff60")
735 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
736 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff50")
737 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone()
738 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff40")
740 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw = hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw.clone(
741 mvaName = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1"),
742 mvaOpt = cms.string(
"PWoldDMwLT"),
743 srcNeutralIsoPtSum = cms.InputTag(
'hpsPFTauNeutralIsoPtSumWeightdR03'),
744 verbosity = cms.int32(0)
746 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT.clone(
747 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw'),
748 key = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw:category'),
749 loadMVAfromDB = cms.bool(
True),
750 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_mvaOutput_normalization"),
753 category = cms.uint32(0),
754 cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff90"),
755 variable = cms.string(
"pt")
759 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
760 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff80")
761 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
762 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff70")
763 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
764 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff60")
765 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
766 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff50")
767 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT = hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT.clone()
768 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAPWdR03oldDMwLTv1_WPEff40")
770 hpsPFTauIsolationSumsTask = cms.Task(
771 hpsPFTauChargedIsoPtSum,
772 hpsPFTauNeutralIsoPtSum,
774 hpsPFTauNeutralIsoPtSumWeight,
775 hpsPFTauFootprintCorrection,
776 hpsPFTauPhotonPtSumOutsideSignalCone,
779 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask = cms.Task(
780 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw,
781 hpsPFTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT,
782 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT,
783 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT,
784 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT,
785 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT,
786 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT,
787 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT
790 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask = cms.Task(
791 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw,
792 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT,
793 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT,
794 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT,
795 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT,
796 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT,
797 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT
800 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask = cms.Task(
801 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTraw,
802 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWoldDMwLT,
803 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWoldDMwLT,
804 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWoldDMwLT,
805 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWoldDMwLT,
806 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWoldDMwLT,
807 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWoldDMwLT
810 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask = cms.Task(
811 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTraw,
812 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWnewDMwLT,
813 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWnewDMwLT,
814 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWnewDMwLT,
815 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWnewDMwLT,
816 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWnewDMwLT,
817 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWnewDMwLT,
820 hpsPFTauIsolationSums03Task = cms.Task(
821 hpsPFTauChargedIsoPtSumdR03,
822 hpsPFTauNeutralIsoPtSumdR03,
823 hpsPFTauPUcorrPtSumdR03,
824 hpsPFTauNeutralIsoPtSumWeightdR03,
825 hpsPFTauFootprintCorrectiondR03,
826 hpsPFTauPhotonPtSumOutsideSignalConedR03
829 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask = cms.Task(
830 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTraw,
831 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1DBdR03oldDMwLT,
832 hpsPFTauDiscriminationByLooseIsolationMVArun2v1DBdR03oldDMwLT,
833 hpsPFTauDiscriminationByMediumIsolationMVArun2v1DBdR03oldDMwLT,
834 hpsPFTauDiscriminationByTightIsolationMVArun2v1DBdR03oldDMwLT,
835 hpsPFTauDiscriminationByVTightIsolationMVArun2v1DBdR03oldDMwLT,
836 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1DBdR03oldDMwLT
839 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask = cms.Task(
840 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTraw,
841 hpsPFTauDiscriminationByVLooseIsolationMVArun2v1PWdR03oldDMwLT,
842 hpsPFTauDiscriminationByLooseIsolationMVArun2v1PWdR03oldDMwLT,
843 hpsPFTauDiscriminationByMediumIsolationMVArun2v1PWdR03oldDMwLT,
844 hpsPFTauDiscriminationByTightIsolationMVArun2v1PWdR03oldDMwLT,
845 hpsPFTauDiscriminationByVTightIsolationMVArun2v1PWdR03oldDMwLT,
846 hpsPFTauDiscriminationByVVTightIsolationMVArun2v1PWdR03oldDMwLT
849 hpsPFTauMVAIsolation2Task = cms.Task(
850 hpsPFTauIsolationSumsTask,
851 hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLTTask,
852 hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLTTask,
853 hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLTTask,
854 hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLTTask,
855 hpsPFTauIsolationSums03Task,
856 hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLTTask,
857 hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLTTask
860 hpsPFTauMVAIsolation2Seq = cms.Sequence(
861 hpsPFTauMVAIsolation2Task
864 produceHPSPFTausTask = cms.Task(
865 hpsSelectionDiscriminator,
870 hpsPFTauProducerSansRefs,
874 produceHPSPFTaus = cms.Sequence(
878 produceAndDiscriminateHPSPFTausTask = cms.Task(
879 produceHPSPFTausTask,
880 hpsPFTauDiscriminationByDecayModeFindingNewDMs,
881 hpsPFTauDiscriminationByDecayModeFindingOldDMs,
882 hpsPFTauDiscriminationByDecayModeFinding,
883 hpsPFTauDiscriminationByLooseChargedIsolation,
884 hpsPFTauDiscriminationByLooseIsolation,
885 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsTask,
886 hpsPFTauDiscriminationByCombinedIsolationDBSumPtCorr3HitsdR03Task,
887 hpsPFTauDiscriminationByPileupWeightedIsolation3HitsTask,
888 hpsPFTauDiscriminationByLooseElectronRejection,
889 hpsPFTauDiscriminationByMediumElectronRejection,
890 hpsPFTauDiscriminationByTightElectronRejection,
891 hpsPFTauDiscriminationByMVA6rawElectronRejection,
892 hpsPFTauDiscriminationByMVA6VLooseElectronRejection,
893 hpsPFTauDiscriminationByMVA6LooseElectronRejection,
894 hpsPFTauDiscriminationByMVA6MediumElectronRejection,
895 hpsPFTauDiscriminationByMVA6TightElectronRejection,
896 hpsPFTauDiscriminationByMVA6VTightElectronRejection,
897 hpsPFTauDiscriminationByDeadECALElectronRejection,
898 hpsPFTauDiscriminationByLooseMuonRejection3,
899 hpsPFTauDiscriminationByTightMuonRejection3,
900 hpsPFTauVertexAndImpactParametersTask,
901 hpsPFTauMVAIsolation2Task
904 produceAndDiscriminateHPSPFTaus = cms.Sequence(
905 produceAndDiscriminateHPSPFTausTask
Updated tau collection with MVA-based tau-Ids rerun ####### Used only in some eras.