Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add estimateTrackParamCovariance to Core #3683

Merged
merged 11 commits into from
Oct 17, 2024

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Oct 2, 2024

Add a estimateTrackParamCovariance function to Core to estimate the initial covariance of track parameters after seeding.

blocked by


This pull request introduces a new function for estimating track parameter covariance and refactors existing code to utilize this new function. The changes improve code modularity and maintainability by centralizing the covariance estimation logic.

New Functionality:

Refactoring:

Miscellaneous:

@andiwand andiwand added this to the next milestone Oct 2, 2024
@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Seeding Track Finding labels Oct 2, 2024
Copy link

github-actions bot commented Oct 2, 2024

📊: Physics performance monitoring for 982827b

Full contents

physmon summary

@andiwand andiwand added the 🛑 blocked This item is blocked by another item label Oct 2, 2024
@andiwand andiwand removed the 🛑 blocked This item is blocked by another item label Oct 4, 2024
@andiwand andiwand marked this pull request as ready for review October 17, 2024 12:50
@paulgessinger paulgessinger modified the milestones: next, v37.1.0 Oct 17, 2024
Copy link

@kodiakhq kodiakhq bot merged commit 057d33d into acts-project:main Oct 17, 2024
42 checks passed
@andiwand andiwand deleted the feat-initial-param-cov branch October 17, 2024 19:50
Rosie-Hasan pushed a commit to Rosie-Hasan/acts that referenced this pull request Nov 13, 2024
Add a `estimateTrackParamCovariance` function to Core to estimate the initial covariance of track parameters after seeding.

blocked by
- acts-project#3665

---

This pull request introduces a new function for estimating track parameter covariance and refactors existing code to utilize this new function. The changes improve code modularity and maintainability by centralizing the covariance estimation logic.

### New Functionality:
* [`Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp`](diffhunk://#diff-1d63df6364bcd57d6eae717e4c8dea355f07a36f5fca41b0e9fefdbf3224c0a0R292-R335): Added `EstimateTrackParamCovarianceConfig` struct and `estimateTrackParamCovariance` function to estimate track parameter covariance.

### Refactoring:
* [`Examples/Algorithms/TrackFinding/src/TrackParamsEstimationAlgorithm.cpp`](diffhunk://#diff-3fa61f411627effaf29755fa1d539c90bbd2c5155f04c4fa7a0d7f36d99340f3L38-L79): Removed the `makeInitialCovariance` function and replaced its usage with the new `estimateTrackParamCovariance` function. This change simplifies the code by removing redundant logic. [[1]](diffhunk://#diff-3fa61f411627effaf29755fa1d539c90bbd2c5155f04c4fa7a0d7f36d99340f3L38-L79) [[2]](diffhunk://#diff-3fa61f411627effaf29755fa1d539c90bbd2c5155f04c4fa7a0d7f36d99340f3L174-R144)
* [`Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/ParticleSmearing.cpp`](diffhunk://#diff-d4047681edb055a3b4ca13bb837f6fef194fd0c8b3205f337db73e97f4b6de82L131-R141): Updated the covariance calculation to use the new `estimateTrackParamCovariance` function, ensuring consistency across the codebase.

### Miscellaneous:
* [`Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/ParticleSmearing.cpp`](diffhunk://#diff-d4047681edb055a3b4ca13bb837f6fef194fd0c8b3205f337db73e97f4b6de82R14): Included the `EstimateTrackParamsFromSeed.hpp` header to access the new covariance estimation function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants