Move TauNNIdHW to the externally-built NNPuppiTauModel package - #3
Merged
artlbv merged 1 commit intoJul 7, 2026
Conversation
artlbv
changed the base branch from
master
to
claude/nnpuppitau-externals-migration-u1xa0p
July 7, 2026 09:16
… empty dtor, dedupe model name string - Move tauinput_t/tauresult_t typedefs into the L1TauEmu namespace to avoid clashing with other hls4ml model headers, updating all call sites - Replace the empty TauNNIdHW destructor with = default - Store the "NNPuppiTauModel_v1" model name in a single constant in the cppunit test and in the python config instead of repeating the literal Co-authored-by: artlbv <4972492+artlbv@users.noreply.github.com>
artlbv
force-pushed
the
claude/pr-review-comments-g6wndq
branch
from
July 7, 2026 09:23
d70d018 to
7fc7da4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses the review comments left on cms-sw/cmssw#51263 review by @quinnanm:
TauNNIdHW.h: move thetauinput_t/tauresult_ttypedefs into theL1TauEmunamespace to avoid clashing with other hls4ml model headers, updating all call sites accordingly.TauNNIdHW.cc: replace the empty~TauNNIdHW() {}definition with~TauNNIdHW() = default;in the header.testNNPuppiTauModel.cppunit.cc: store the repeated"NNPuppiTauModel_v1"string in a singlekModelNameconstant.L1NNTauProducer_cff.py: store the repeated"NNPuppiTauModel_v1"string in a singlennPuppiTauModelNamevariable and reuse it for both producer configs.Base is set to
claude/nnpuppitau-externals-migration-u1xa0p(the branch backing cms-sw#51263) so this can be merged into it directly.