Skip to content

Commit

Permalink
Merge pull request #29978 from cms-tau-pog/CMSSW_11_1_X_tau-pog_TauId…
Browse files Browse the repository at this point in the history
…ToolFix

bug fix to runTauIdMVA.py tool (11_1_X)
  • Loading branch information
cmsbuild committed Jun 3, 2020
2 parents 58d9b61 + 7aaf1ab commit a435e1a
Show file tree
Hide file tree
Showing 5 changed files with 292 additions and 292 deletions.
2 changes: 1 addition & 1 deletion PhysicsTools/NanoAOD/python/nano_cff.py
Expand Up @@ -146,7 +146,7 @@
import RecoTauTag.RecoTau.tools.runTauIdMVA as tauIdConfig
def nanoAOD_addTauIds(process):
updatedTauName = "slimmedTausUpdated"
tauIdEmbedder = tauIdConfig.TauIDEmbedder(process, cms, debug = False, updatedTauName = updatedTauName,
tauIdEmbedder = tauIdConfig.TauIDEmbedder(process, debug = False, updatedTauName = updatedTauName,
toKeep = [ "deepTau2017v2p1" ])
tauIdEmbedder.runTauID()
process.patTauMVAIDsSeq.insert(process.patTauMVAIDsSeq.index(getattr(process, updatedTauName)),
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py
Expand Up @@ -335,7 +335,7 @@ def miniAOD_customizeCommon(process):
_noUpdatedTauName = 'slimmedTausNoDeepIDs'
import RecoTauTag.RecoTau.tools.runTauIdMVA as tauIdConfig
tauIdEmbedder = tauIdConfig.TauIDEmbedder(
process, cms, debug = False,
process, debug = False,
updatedTauName = _updatedTauName,
toKeep = ['deepTau2017v2p1']
)
Expand Down

0 comments on commit a435e1a

Please sign in to comment.