Skip to content

Move TauNNIdHW to the externally-built NNPuppiTauModel package - #3

Merged
artlbv merged 1 commit into
claude/nnpuppitau-externals-migration-u1xa0pfrom
claude/pr-review-comments-g6wndq
Jul 7, 2026
Merged

artlbv merged 1 commit into
claude/nnpuppitau-externals-migration-u1xa0pfrom
claude/pr-review-comments-g6wndq

Conversation

@artlbv

@artlbv artlbv commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Addresses the review comments left on cms-sw/cmssw#51263 review by @quinnanm:

  • TauNNIdHW.h: move the tauinput_t/tauresult_t typedefs into the L1TauEmu namespace 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 single kModelName constant.
  • L1NNTauProducer_cff.py: store the repeated "NNPuppiTauModel_v1" string in a single nnPuppiTauModelName variable 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.

@artlbv
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
artlbv force-pushed the claude/pr-review-comments-g6wndq branch from d70d018 to 7fc7da4 Compare July 7, 2026 09:23
@artlbv
artlbv merged commit 96b5f82 into claude/nnpuppitau-externals-migration-u1xa0p Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants