Skip to content

Conversation

@AlvaroEzq
Copy link
Contributor

@AlvaroEzq AlvaroEzq commented Oct 3, 2025

AlvaroEzq Ok: 16 Powered by Pull Request Badge

When doing the linearization process of tracks for alpha analysis, the length is always a bit shorter than it should. This is due to the kMeansClustering algorithm that tends to pull the nodes position towards the center of the track. This effect is diminuished by adding more nodes, but this ends up messing the track reconstruction and length resolution.

To avoid these, we can fix the position of the first and last node to be at the start and end of the track and not be changed during the kMeansClustering algorithm.

Important

This change is needed for 54.

@AlvaroEzq AlvaroEzq requested a review from nkx111 as a code owner October 3, 2025 08:53
@AlvaroEzq AlvaroEzq merged commit 37f164e into master Oct 3, 2025
64 checks passed
@AlvaroEzq AlvaroEzq deleted the fixBoundariesMeansClustering branch October 3, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants