From 8b0c070e1015feffef3df2191b260659331308bb 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 3d16b78f25cbe..4e64d0f1ef881 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 3d9f97747f52e70aced5a7b0324cd87b2832458e 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 4e64d0f1ef881..a1629598b189d 100644 --- a/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py +++ b/PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py @@ -174,7 +174,7 @@ def nanoAOD_addDeepInfoAK4(process,addParticleNet,addRobustParTAK4=False): ) ################################################ -## DeepInfoAK4CHS:End +## DeepInfoAK4:End ################################################# ################################################################################