Skip to content

[PWGHF] Fix BC association in charm-hadron flow task - #18400

Merged
zhangbiao-phy merged 1 commit into
AliceO2Group:masterfrom
zhangbiao-phy:master
Oct 22, 2026
Merged

zhangbiao-phy merged 1 commit into
AliceO2Group:masterfrom
zhangbiao-phy:master

Conversation

@zhangbiao-phy

@zhangbiao-phy zhangbiao-phy commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Hi @Marcellocosti , this PR fixes a issue introduced by #17652

The charm-hadron flow task fails when collisions and BCs have different row counts because BCsWithTimestamps is included directly in the collision joins.

Remove the BC table from all three collision joins and provide it as a separate input to the candidate processing functions. Access the associated BC through collision.bc_as<aod::BCsWithTimestamps>() to preserve the run-dependent resolution updates and candidate-by-candidate SP correction.

@github-actions github-actions Bot added the pwghf PWG-HF label Oct 22, 2026
@github-actions

Copy link
Copy Markdown

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

@Marcellocosti

Copy link
Copy Markdown
Contributor

Hi @zhangbiao-phy, thanks for noticing and fixing!

@zhangbiao-phy
zhangbiao-phy enabled auto-merge (squash) October 22, 2026 06:57

@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 e910b0c into AliceO2Group:master Oct 22, 2026
23 checks passed
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.

3 participants