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: Bethe-Heitler approximation and configuration #1627

Merged

Conversation

benjaminhuth
Copy link
Member

This PR refactors a bit the Bethe Heitler Approximation

  • moving it out of namespace detail, since its in fact part of the API of the GSF
  • allow loading parameterizations from the python examples

Already contains #1609

@benjaminhuth benjaminhuth added Component - Core Affects the Core module Improvement Changes to an existing feature Impact - Minor Nuissance bug and/or affects only a single module labels Oct 26, 2022
@benjaminhuth benjaminhuth added this to the next milestone Oct 26, 2022
@benjaminhuth benjaminhuth added the 🚧 WIP Work-in-progress label Oct 26, 2022
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good 👍 I left a few comments. ping me when you are ready for a second round

Core/include/Acts/TrackFitting/BetheHeitlerApprox.hpp Outdated Show resolved Hide resolved
Core/include/Acts/TrackFitting/BetheHeitlerApprox.hpp Outdated Show resolved Hide resolved
Core/include/Acts/TrackFitting/BetheHeitlerApprox.hpp Outdated Show resolved Hide resolved
Core/include/Acts/TrackFitting/BetheHeitlerApprox.hpp Outdated Show resolved Hide resolved
Core/include/Acts/TrackFitting/BetheHeitlerApprox.hpp Outdated Show resolved Hide resolved
Examples/Algorithms/TrackFitting/src/GsfFitterFunction.cpp Outdated Show resolved Hide resolved
Examples/Algorithms/TrackFitting/src/GsfFitterFunction.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great 👍 as always feel free to ignore my comments if you disagree

Examples/Algorithms/TrackFitting/src/GsfFitterFunction.cpp Outdated Show resolved Hide resolved
Examples/Algorithms/TrackFitting/src/GsfFitterFunction.cpp Outdated Show resolved Hide resolved
Examples/Python/src/TrackFitting.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@andiwand andiwand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@andiwand andiwand added automerge and removed 🚧 WIP Work-in-progress labels Oct 28, 2022
@andiwand
Copy link
Contributor

@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Merging #1627 (9ff7c34) into main (e4504d8) will decrease coverage by 0.04%.
The diff coverage is 27.41%.

❗ Current head 9ff7c34 differs from pull request most recent head 2d34d30. Consider uploading reports for the commit 2d34d30 to get more accurate results

@@            Coverage Diff             @@
##             main    #1627      +/-   ##
==========================================
- Coverage   48.54%   48.49%   -0.05%     
==========================================
  Files         384      384              
  Lines       21042    21059      +17     
  Branches     9693     9694       +1     
==========================================
- Hits        10214    10213       -1     
- Misses       4106     4122      +16     
- Partials     6722     6724       +2     
Impacted Files Coverage Δ
Core/include/Acts/TrackFitting/detail/GsfActor.hpp 42.18% <0.00%> (-1.12%) ⬇️
...e/include/Acts/TrackFitting/BetheHeitlerApprox.hpp 24.56% <24.56%> (ø)
...re/include/Acts/TrackFitting/GaussianSumFitter.hpp 64.84% <100.00%> (+0.21%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Oct 28, 2022

📊 Physics performance monitoring for 2d34d30

Full report
CKF: seeded, truth smeared, truth estimated
IVF: seeded, truth smeared, truth estimated
Ambiguity resolution
Truth tracking

Vertexing

IVF seeded

IVF truth smeared

IVF truth estimated

CKF

seeded

truth smeared

truth estimated

Ambiguity resolution

seeded

Truth tracking

Truth tracking

@kodiakhq kodiakhq bot merged commit 95b99b0 into acts-project:main Nov 7, 2022
@github-actions github-actions bot removed the automerge label Nov 7, 2022
@benjaminhuth benjaminhuth deleted the refactor/bethe-heitler-distribution branch November 7, 2022 12:01
kodiakhq bot pushed a commit that referenced this pull request Nov 8, 2022
This allows to choose between `mean` and `maxWeight` as reduction methods. A third method for the `mode` should be also added, but it does not yet work really well, and the `maxWeight` is also a bit of a "poor mans mode".

This PR makes this also configurable for the GSF in the examples.

Should be merged after #1627
@paulgessinger paulgessinger modified the milestones: next, v21.1.0 Nov 11, 2022
kodiakhq bot pushed a commit that referenced this pull request Nov 11, 2022
This is a major refactoring of the GSF. It changes the propagation structure, and the way the GSF records states to the `MultiTrajectory`. It also removes the smoothing code, since it is not really useful at the moment, as the component states are not exported anyways.

should be merged after #1609 and #1627 and #1628 

We should add performance monitoring in this or a later PR

Fixes #1666
CarloVarni pushed a commit to CarloVarni/acts that referenced this pull request Dec 22, 2022
This is a major refactoring of the GSF. It changes the propagation structure, and the way the GSF records states to the `MultiTrajectory`. It also removes the smoothing code, since it is not really useful at the moment, as the component states are not exported anyways.

should be merged after acts-project#1609 and acts-project#1627 and acts-project#1628 

We should add performance monitoring in this or a later PR

Fixes acts-project#1666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Impact - Minor Nuissance bug and/or affects only a single module Improvement Changes to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants