Skip to content

[PWGHF] fix lint warning introduced from #18980 for charm track femto producer - #18986

Merged
zhangbiao-phy merged 2 commits into
AliceO2Group:masterfrom
zhangbiao-phy:phi-kaon-origin-lint-fix
Nov 30, 2026
Merged

zhangbiao-phy merged 2 commits into
AliceO2Group:masterfrom
zhangbiao-phy:phi-kaon-origin-lint-fix

Conversation

@zhangbiao-phy

@zhangbiao-phy zhangbiao-phy commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Use the named phi PDG constant and a named elementary-particle boundary,
and bind mother indices by const reference. Preserve the MC origin logic.

Validation: no newly introduced O2 linter diagnostics; the existing
nProcesses == 2 warning is unchanged. Producer syntax, clang-format and
origin regression tests with address/undefined sanitizers pass.
Replace the literal process count with GenRecProcessCount{2}, preserving
which reconstructed/generated process combinations are accepted.
The producer now has zero O2 linter errors and warnings.
@github-actions github-actions Bot added the pwghf PWG-HF label Nov 29, 2026
@github-actions github-actions Bot changed the title fix lint warning introduced from #18980 [PWGHF] fix lint warning introduced from #18980 Nov 29, 2026
@github-actions

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

@zhangbiao-phy zhangbiao-phy changed the title [PWGHF] fix lint warning introduced from #18980 [PWGHF] fix lint warning introduced from #18980 for charm track femto producer Nov 29, 2026
@zhangbiao-phy
zhangbiao-phy marked this pull request as ready for review November 29, 2026 22:10
@zhangbiao-phy
zhangbiao-phy enabled auto-merge (squash) November 30, 2026 07:27

@alibuild alibuild left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving on behalf of @zhangbiao-phy.

@zhangbiao-phy
zhangbiao-phy merged commit c36165d into AliceO2Group:master Nov 30, 2026
18 checks passed
@zhangbiao-phy
zhangbiao-phy deleted the phi-kaon-origin-lint-fix branch December 1, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

2 participants