Skip to content

add BIB utils#15

Merged
madbaron merged 4 commits into
mainfrom
missing-gaudi-algs
Jun 6, 2026
Merged

add BIB utils#15
madbaron merged 4 commits into
mainfrom
missing-gaudi-algs

Conversation

@madbaron

@madbaron madbaron commented Jun 6, 2026

Copy link
Copy Markdown

This PR adds a few BIB-rejection-related algorithms implemented in Gaudi-native form

madbaron and others added 4 commits June 6, 2026 14:57
Run the repository pre-commit hooks (clang-format, license headers,
trailing-whitespace) over all files so the pre-commit CI check passes:

- clang-format: reformat existing sources to the repo .clang-format style
- licenseheaders: add the Apache-2.0 header to files that were missing it
- trailing-whitespace: strip trailing whitespace
- add the markdown license header to k4Reco/BIBUtils/README.md

These are formatting-only changes; no logic was modified, and the
k4RecoPlugins module still builds cleanly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Key4hep CI builds with -Werror; fix the warnings it flagged in the
existing sources (none are in the new BIBUtils code):

- -Wsign-compare: use std::size_t for loop counters compared against
  container .size() in FastJetAlg, RealisticCaloDigi, RealisticCaloReco
  and OverlayTimingRandomMix; cast to int only where set_user_index needs it
- -Wunused-function: mark the anonymous-namespace operator<< for EClusterMode
  [[maybe_unused]] (used only in some translation units)
- -Wunused-variable: mark the unused loop variable in OverlayTimingRandomMix
  [[maybe_unused]]

Verified with a -Werror build (gcc 13.3.0) that our sources compile warning-free.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@madbaron madbaron merged commit 35b66ff into main Jun 6, 2026
3 of 6 checks passed
@madbaron madbaron deleted the missing-gaudi-algs branch June 6, 2026 14:16
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.

1 participant