Skip to content

Commit

Permalink
Merge pull request #41687 from nurfikri89/from132X_202305151100_fixPN…
Browse files Browse the repository at this point in the history
…etPuppiNano

[NanoAOD] Fix typo of imported ParticleNet tagger list for AK4 Puppi jets
  • Loading branch information
cmsbuild authored May 19, 2023
2 parents 42c7218 + 9c0a3f9 commit 58880be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions PhysicsTools/NanoAOD/python/jetsAK4_Puppi_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -173,7 +173,7 @@ def nanoAOD_addDeepInfoAK4(process,addParticleNet,addRobustParTAK4=False):
)

################################################
## DeepInfoAK4CHS:End
## DeepInfoAK4:End
#################################################

################################################################################
Expand Down

0 comments on commit 58880be

Please sign in to comment.