-
Notifications
You must be signed in to change notification settings - Fork 174
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 kaon hypothesis to ParticleHypothesis
#2990
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2990 +/- ##
==========================================
- Coverage 48.70% 48.69% -0.01%
==========================================
Files 493 493
Lines 28976 28978 +2
Branches 13798 13799 +1
==========================================
Hits 14112 14112
- Misses 4935 4937 +2
Partials 9929 9929 ☔ View full report in Codecov by Sentry. |
📊: Physics performance monitoring for 3df842bphysmon summary
|
Correction Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Done Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
ParticleHypothesis
Some test failures are still present here. |
@paulgessinger @andiwand can you suggest what should be done for these failed tests to get them passed? |
it expects either you just change the assert or you specialize kaons here https://github.com/acts-project/acts/blob/main/Core/src/Definitions/ParticleData.cpp#L109 |
Thank you @andiwand, should be fixed now. |
one more error popped up @plariono
|
Athena failure was unrelated. No action required. |
This adds the kaon hypothesis such that there's no need to define it by hand. Currently: ``` kaon = acts.ParticleHypothesis(321, 0.493677, 1) ``` ``` >>> import acts >>> kaon = acts.ParticleHypothesis(321, 0.493677, 1) >>> kaon.absolutePdg() <PdgParticle.???: 321> >>> ```
This adds the kaon hypothesis such that there's no need to define it by hand. Currently: ``` kaon = acts.ParticleHypothesis(321, 0.493677, 1) ``` ``` >>> import acts >>> kaon = acts.ParticleHypothesis(321, 0.493677, 1) >>> kaon.absolutePdg() <PdgParticle.???: 321> >>> ```
This adds the kaon hypothesis such that there's no need to define it by hand.
Currently: