Skip to content

TPC SCD: fix getDXI off-by-one for row 127 - #16030

Merged
shahor02 merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:tpc-trackresiduals-getdxi-fix
Nov 1, 2026
Merged

shahor02 merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:tpc-trackresiduals-getdxi-fix

Conversation

@matthias-kleiner

Copy link
Copy Markdown
Contributor

Row 127 (the first row of OROC3, NRowsAccumulated[2] = 127) failed the check ix > NRowsAccumulated[NROCTypes - 2] and fell through to the OROC2 branch, so it got the OROC2 pad height (1/1.2 cm^-1 instead of 1/1.5 cm^-1). This affects the x-kernel width of TrackResiduals::getSmoothEstimate when the closest voxel is in row 127, and the x mean-position validity check in TPCFastSpaceChargeCorrectionHelper for that row. Only non-uniform (per pad row) x-binning is affected.

Row 127 (the first row of OROC3, NRowsAccumulated[2] = 127) failed the check
ix > NRowsAccumulated[NROCTypes - 2] and fell through to the OROC2 branch, so it
got the OROC2 pad height (1/1.2 cm^-1 instead of 1/1.5 cm^-1). This affects
the x-kernel width of TrackResiduals::getSmoothEstimate when the closest voxel
is in row 127, and the x mean-position validity check in
TPCFastSpaceChargeCorrectionHelper for that row. Only non-uniform (per pad row)
x-binning is affected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@shahor02 shahor02 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.

trivial fix, merging.

@shahor02
shahor02 merged commit fa89568 into AliceO2Group:dev Nov 1, 2026
7 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants