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

fix: Fix FPEOVF in RootParticleWriter #2241

Merged
merged 4 commits into from Jun 28, 2023

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Jun 23, 2023

I run into a few occasions where float -> double caused an FPEOVF. In this PR I change the output precision accordingly.

Discovered in #2232

@andiwand andiwand added the Component - Examples Affects the Examples module label Jun 23, 2023
@andiwand andiwand added this to the next milestone Jun 23, 2023
Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

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

Ok. The alternative would be to wrap all of them into the float range. I don't think we actually have values that meaningfully exceed float.

@andiwand
Copy link
Contributor Author

I was not sure why this occurred. Maybe G4 produces a max double in some cases. I will do the float wrapping tho so I do not have to change the reference

@github-actions
Copy link

github-actions bot commented Jun 23, 2023

📊 Physics performance monitoring for 950f575

Summary
Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
AMVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

AMVF seeded

AMVF truth_smeared

AMVF truth_estimated

AMVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #2241 (950f575) into main (4bbbbaf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2241   +/-   ##
=======================================
  Coverage   49.35%   49.35%           
=======================================
  Files         445      445           
  Lines       25264    25264           
  Branches    11650    11650           
=======================================
  Hits        12468    12468           
  Misses       4512     4512           
  Partials     8284     8284           

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

@andiwand
Copy link
Contributor Author

@paulgessinger can you re-approve?

Copy link
Member

@paulgessinger paulgessinger 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 merged commit 91fcbb7 into acts-project:main Jun 28, 2023
58 checks passed
@andiwand andiwand deleted the fix-fpeovf-root-particle-writer branch June 28, 2023 08:59
@paulgessinger paulgessinger modified the milestones: next, v27.1.0 Jul 4, 2023
noemina pushed a commit to noemina/acts that referenced this pull request Jul 5, 2023
I run into a few occasions where `float -> double` caused an FPEOVF. In
this PR I change the output precision accordingly.

Discovered in acts-project#2232

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
kodiakhq bot pushed a commit that referenced this pull request Jul 6, 2023
All our physics monitors depend on the simulation which is not directly monitored at the moment. In this PR I add a first monitoring version for Fatras and Geant4.

The monitoring is not optimal yet but should be sufficient if something changes or breaks for simulation.

Possible improvements:
- record deltas for momenta / eta / phi and so on instead of initial and final

Blocked by
- #2241
- #2260
- #2262
- #2263
- #2264
- #2265
- #2266
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.

None yet

2 participants