Skip to content

Commit

Permalink
Merge pull request #37892 from cms-tau-pog/CMSSW_12_4_X_tau-pog_deepT…
Browse files Browse the repository at this point in the history
…au-v2p5

Changes to enable new DeepTauId trainig
  • Loading branch information
cmsbuild authored May 17, 2022
2 parents 5bc18d0 + 71bf7af commit 0cd6c4f
Show file tree
Hide file tree
Showing 6 changed files with 1,409 additions and 533 deletions.
4 changes: 2 additions & 2 deletions PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,15 @@ def _add_deepFlavour(process):
process.makePatTausTask, _makePatTausTaskWithRetrainedMVATauID
)
#-- Adding DeepTauID
# deepTau v2p1
# deepTau v2p1 and v2p5
_updatedTauName = 'slimmedTausDeepIDsv2p1'
_noUpdatedTauName = 'slimmedTausNoDeepIDs'
import RecoTauTag.RecoTau.tools.runTauIdMVA as tauIdConfig
tauIdEmbedder = tauIdConfig.TauIDEmbedder(
process, debug = False,
originalTauName = _noUpdatedTauName,
updatedTauName = _updatedTauName,
toKeep = ['deepTau2017v2p1']
toKeep = ['deepTau2017v2p1','deepTau2018v2p5']
)
from Configuration.Eras.Modifier_phase2_common_cff import phase2_common #Phase2 Tau MVA
phase2_common.toModify(tauIdEmbedder.toKeep, func=lambda t:t.append('newDMPhase2v1')) #Phase2 Tau isolation MVA
Expand Down
Loading

0 comments on commit 0cd6c4f

Please sign in to comment.