From 6931514548711aaa26bf7dcdcc627ba23dd61d9d Mon Sep 17 00:00:00 2001 From: Nurfikri Norjoharuddeen Date: Mon, 15 May 2023 16:31:42 +0200 Subject: [PATCH 1/2] Fix typo. Use Puppi version of ParticleNet in nanoAOD_addDeepInfoAK4 function. --- PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py b/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py index 91ff1a97deefe..a1b4351e78b33 100644 --- a/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py +++ b/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py @@ -145,10 +145,10 @@ def nanoAOD_addDeepInfoAK4(process,addParticleNet,addRobustParTAK4=False): _btagDiscriminators=[] if addParticleNet: print("Updating process to run ParticleNetAK4") - from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff import _pfParticleNetFromMiniAODAK4CHSCentralJetTagsAll as pfParticleNetFromMiniAODAK4CHSCentralJetTagsAll - from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff import _pfParticleNetFromMiniAODAK4CHSForwardJetTagsAll as pfParticleNetFromMiniAODAK4CHSForwardJetTagsAll - _btagDiscriminators += pfParticleNetFromMiniAODAK4CHSCentralJetTagsAll - _btagDiscriminators += pfParticleNetFromMiniAODAK4CHSForwardJetTagsAll + from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff import _pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll as pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll + from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff import _pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll as pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll + _btagDiscriminators += pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll + _btagDiscriminators += pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll if addRobustParTAK4: print("Updating process to run RobustParTAK4") from RecoBTag.ONNXRuntime.pfParticleTransformerAK4_cff import _pfParticleTransformerAK4JetTagsAll as pfParticleTransformerAK4JetTagsAll From 36c2dc79f90825840a4b6d928678a1ce4c908d0d Mon Sep 17 00:00:00 2001 From: Nurfikri Norjoharuddeen Date: Mon, 15 May 2023 16:34:53 +0200 Subject: [PATCH 2/2] Fix typo in comment --- PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py b/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py index a1b4351e78b33..c892cdb953a0e 100644 --- a/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py +++ b/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py @@ -173,7 +173,7 @@ def nanoAOD_addDeepInfoAK4(process,addParticleNet,addRobustParTAK4=False): ) ################################################ -## DeepInfoAK4CHS:End +## DeepInfoAK4:End ################################################# ################################################################################