Skip to content

[PWGUD] Fix ambiguous-track BC handling in UPCCandProducer#15463

Open
ariffero wants to merge 4 commits intoAliceO2Group:masterfrom
ariffero:dev-upccand
Open

[PWGUD] Fix ambiguous-track BC handling in UPCCandProducer#15463
ariffero wants to merge 4 commits intoAliceO2Group:masterfrom
ariffero:dev-upccand

Conversation

@ariffero
Copy link
Contributor

Validate bcIds() before resolving ambiguous-track BCs, skip empty or out-of-range entries, and ignore tracks that have neither a valid ambiguous BC nor a valid collision association. This avoids crashes from invalid BC slices and from dereferencing missing collision links in forward-track processing.

@github-actions github-actions bot added the pwgud label Mar 20, 2026
ariffero added a commit to ariffero/O2Physics that referenced this pull request Mar 20, 2026
Please consider the following formatting changes to AliceO2Group#15463
Validate bcIds() before resolving ambiguous-track BCs, skip empty or out-of-range entries, and ignore tracks that have neither a valid ambiguous BC nor a valid collision association. This avoids crashes from invalid BC slices and from dereferencing missing collision links in forward-track processing.
Please consider the following formatting changes to AliceO2Group#15463
@ariffero ariffero marked this pull request as ready for review March 27, 2026 12:39
@rolavick
Copy link
Collaborator

@nburmaso could you please review and comment on this PR? Thank you. Roman

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.

3 participants