Skip to content

fix: Write the track covariance in ProtoTracksToTracks unconditionally - #5846

Merged
kodiakhq[bot] merged 1 commit into
acts-project:mainfrom
andiwand:prototracks-covariance
Aug 7, 2026
Merged

fix: Write the track covariance in ProtoTracksToTracks unconditionally#5846
kodiakhq[bot] merged 1 commit into
acts-project:mainfrom
andiwand:prototracks-covariance

Conversation

@andiwand

@andiwand andiwand commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

A track is created with an uninitialized covariance:
VectorTrackContainer::addTrack_impl grows m_cov with emplace_back(), and
its element type is a fixed-size Eigen matrix, whose default constructor leaves
the coefficients untouched. Skipping the assignment when the input parameters
carry no covariance therefore leaves indeterminate values on the output track,
rather than the zeros the shape of the code suggests.

--- END COMMIT MESSAGE ---

Found while writing #5845, which started from a copy of this code.

No behaviour change for the callers in the repository: addSeeding feeds
parameters from TrackParamsEstimationAlgorithm, which always sets a
covariance, so the branch never fired there.

Independent of the rest of that stack, see #5845 for the review order.

A track is created with an uninitialized covariance, so skipping the
assignment when the input parameters carry none leaves indeterminate values on
the output track.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxPc2jP43AQuQKz8c4qsaC
@andiwand
andiwand marked this pull request as ready for review August 7, 2026 12:11
@github-actions github-actions Bot added the Component - Examples Affects the Examples module label Aug 7, 2026
@github-actions github-actions Bot added this to the next milestone Aug 7, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Public API surface diff

No change to the public API surface. ✅

@kodiakhq
kodiakhq Bot merged commit 28fe389 into acts-project:main Aug 7, 2026
43 checks passed
@github-actions github-actions Bot removed the automerge label Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📊: Physics performance monitoring for eabb0aa

Full contents

physmon summary

❗️: Downstream build failure

  • eic-shell EICrecon (cc @acts-project/epic-contacts)

@andiwand
andiwand deleted the prototracks-covariance branch August 7, 2026 16:14
@andiwand andiwand modified the milestones: next, v47.3.0 Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Examples Affects the Examples module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants