Skip to content

[PWGDQ] Fix QA matching AO2D indices after output filtering - #19102

Open
nivram-phy wants to merge 1 commit into
AliceO2Group:masterfrom
nivram-phy:fix/qa-matching-saved-indices
Open

nivram-phy wants to merge 1 commit into
AliceO2Group:masterfrom
nivram-phy:fix/qa-matching-saved-indices

Conversation

@nivram-phy

Copy link
Copy Markdown
Contributor

Filtering QA matching AO2D output by UPC mode and requiring nonzero MCH/MFT multiplicities skips rows after the reduced event and MCH-track IDs have already been assigned. Candidate references can then point outside the saved tables or to tracks from another event.

Use qaMatchingEvents.lastIndex() for each written event and build the original-MCH-to-saved-row map from qaMatchingMCHTrack.lastIndex(). Pass these saved IDs to the production, custom chi2 and ML candidate writers.

Fixes the output-reference bookkeeping after the filtering introduced in #18886.

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

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

@nivram-phy
nivram-phy marked this pull request as draft December 3, 2026 20:44
@nivram-phy
nivram-phy marked this pull request as ready for review December 3, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant