Repository navigation
TPC painter: SCD y/x grid edge from the pad plane - #16228
Open
matthias-kleiner wants to merge 1 commit into
Open
matthias-kleiner wants to merge 1 commit into
matthias-kleiner wants to merge 1 commit into
Conversation
getSCDY2XCoordinatesSector drew the voxel grid of the SCD maps with its y/x edge at x tan(10 deg) - 1.5 cm, while TrackResiduals ends the y/x grid at the pad plane's edge of each row (half the row's pads times its pad width) since 3e84071. The two differ by up to 2 % of the half width and the difference changes from row to row with the pad count. With bins refined at the sector edges (outermost bins 0.5 % of the half width) the outermost voxels were drawn in the neighbouring polygon or outside the grid: for the binning -1,-0.995,-0.975,... 434 of 7296 (row, y/x) cells per sector misplaced in 114 of 152 rows, 216 outside the grid; the polygon filled twice and the empty one next to it gave a comb of single cells along the sector edges. Now maxY2X per row is computed as in TrackResiduals::init (identical in all 152 rows). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matthias-kleiner
requested review from
davidrohr,
shahor02 and
wiechula
as code owners
November 27, 2026 15:04
shahor02
approved these changes
Nov 27, 2026
wiechula
approved these changes
Nov 28, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getSCDY2XCoordinatesSector drew the voxel grid of the SCD maps with its y/x edge at x tan(10 deg) - 1.5 cm, while TrackResiduals ends the y/x grid at the pad plane's edge of each row (half the row's pads times its pad width) since 3e84071. The two differ by up to 2 % of the half width and the difference changes from row to row with the pad count. With bins refined at the sector edges (outermost bins 0.5 % of the half width) the outermost voxels were drawn in the neighbouring polygon or outside the grid: for the binning -1,-0.995,-0.975,... 434 of 7296 (row, y/x) cells per sector misplaced in 114 of 152 rows, 216 outside the grid; the polygon filled twice and the empty one next to it gave a comb of single cells along the sector edges. Now maxY2X per row is computed as in TrackResiduals::init (identical in all 152 rows).