Skip to content

Address review comments on #51263 (backport to CMSSW_17_0_X)#4

Merged
artlbv merged 1 commit into
nnpuppitau-externals-migration_CMSSW_17_0_Xfrom
claude/pr-review-comments-170x
Jul 7, 2026
Merged

Address review comments on #51263 (backport to CMSSW_17_0_X)#4
artlbv merged 1 commit into
nnpuppitau-externals-migration_CMSSW_17_0_Xfrom
claude/pr-review-comments-170x

Conversation

@artlbv

@artlbv artlbv commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Applies the same review-comment fixes made in #3 to the CMSSW_17_0_X backport branch used by cms-sw/cmssw#51294 (backport of cms-sw#51263).

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 nnpuppitau-externals-migration_CMSSW_17_0_X so this can be merged into it directly.


Generated by Claude Code

…amespace tau typedefs, drop 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 merged commit d2fcdd0 into nnpuppitau-externals-migration_CMSSW_17_0_X 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