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

refactor!: error handling in the vertexing algorithms #2649

Merged
merged 29 commits into from
Nov 17, 2023

Conversation

felix-russo
Copy link
Contributor

@felix-russo felix-russo commented Nov 10, 2023

... and lets the Finder consume the Fitter and SeedFinder consistently by using the move semantic. This was necessary in order to use unique_ptrs for the loggers (except for the ImpactPointEstimator, which is passed to both Finder and Fitter)

BREAKING CHANGE: When setting up the Finder one now needs to move Fitter and SeedFinder into it

@github-actions github-actions bot added Component - Core Affects the Core module Vertexing labels Nov 10, 2023
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Attention: 55 lines in your changes are missing coverage. Please review.

Comparison is base (2097b7a) 49.70% compared to head (71149e8) 49.63%.

Files Patch % Lines
...clude/Acts/Vertexing/AdaptiveMultiVertexFitter.ipp 0.00% 27 Missing and 8 partials ⚠️
...re/include/Acts/Vertexing/ImpactPointEstimator.ipp 0.00% 7 Missing ⚠️
...e/include/Acts/Vertexing/IterativeVertexFinder.ipp 0.00% 2 Missing and 2 partials ⚠️
...clude/Acts/Vertexing/AdaptiveMultiVertexFinder.ipp 0.00% 1 Missing and 2 partials ⚠️
...clude/Acts/Vertexing/AdaptiveMultiVertexFinder.hpp 66.66% 0 Missing and 1 partial ⚠️
...clude/Acts/Vertexing/AdaptiveMultiVertexFitter.hpp 0.00% 0 Missing and 1 partial ⚠️
...include/Acts/Vertexing/FullBilloirVertexFitter.hpp 87.50% 1 Missing ⚠️
...include/Acts/Vertexing/FullBilloirVertexFitter.ipp 0.00% 1 Missing ⚠️
...re/include/Acts/Vertexing/ImpactPointEstimator.hpp 83.33% 0 Missing and 1 partial ⚠️
...e/include/Acts/Vertexing/IterativeVertexFinder.hpp 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2649      +/-   ##
==========================================
- Coverage   49.70%   49.63%   -0.08%     
==========================================
  Files         474      474              
  Lines       26892    26941      +49     
  Branches    12376    12415      +39     
==========================================
+ Hits        13368    13372       +4     
- Misses       4710     4746      +36     
- Partials     8814     8823       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added the Component - Examples Affects the Examples module label Nov 10, 2023
@felix-russo felix-russo changed the title refactor: pass error through AMVFitter refactor: error handling in the vertexing algorithms Nov 10, 2023
@felix-russo felix-russo marked this pull request as ready for review November 14, 2023 15:37
@felix-russo felix-russo changed the title refactor: error handling in the vertexing algorithms refactor!: error handling in the vertexing algorithms Nov 14, 2023
@paulgessinger paulgessinger added this to the v31.0.0 milestone Nov 15, 2023
@acts-project-service
Copy link
Collaborator

acts-project-service commented Nov 15, 2023

🔴 Athena integration test results [c17a685]

Build job with this PR failed!

Please investigate the build job for the pipeline!

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Nov 15, 2023
@paulgessinger paulgessinger added automerge and removed Breaks Athena build This PR breaks the Athena build labels Nov 17, 2023
paulgessinger
paulgessinger previously approved these changes Nov 17, 2023
@kodiakhq kodiakhq bot merged commit c17a685 into acts-project:main Nov 17, 2023
49 checks passed
@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Nov 17, 2023
@felix-russo felix-russo deleted the pass-error-message-amvfitter branch November 17, 2023 15:18
github-merge-queue bot pushed a commit to eic/EICrecon that referenced this pull request Dec 22, 2023
### Briefly, what does this PR introduce?
~~Thanks to C++20 we can now do templated lambdas which don't require
syntactic validity of all code paths. That makes forward/backward
compatibility across Acts versions easier with constexpr lambdas.~~

Ifdefs on defined Acts major versions allow us to bypass code blocks
that are not compilable or parsable under different versions of Acts.

Ref: acts-project/acts#2649

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [x] New feature (issue: Acts v31 compatibility)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.

---------

Co-authored-by: Dmitry Kalinkin <[email protected]>
wdconinc added a commit to eic/EICrecon that referenced this pull request Dec 23, 2023
### Briefly, what does this PR introduce?
~~Thanks to C++20 we can now do templated lambdas which don't require
syntactic validity of all code paths. That makes forward/backward
compatibility across Acts versions easier with constexpr lambdas.~~

Ifdefs on defined Acts major versions allow us to bypass code blocks
that are not compilable or parsable under different versions of Acts.

Ref: acts-project/acts#2649

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [x] New feature (issue: Acts v31 compatibility)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.

---------

Co-authored-by: Dmitry Kalinkin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Component - Examples Affects the Examples module Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants