Valencia jets revisited 🍊#217
Merged
graeme-a-stewart merged 10 commits intoJuliaHEP:mainfrom Jan 21, 2026
Merged
Conversation
Member
Author
|
N.B. Documentation still needs to be updated, so I will mark this as draft for now. However, the implementation is ready for review. |
ef51268 to
24ffa17
Compare
Closed
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #217 +/- ##
==========================================
+ Coverage 80.34% 81.56% +1.22%
==========================================
Files 21 21
Lines 1338 1405 +67
==========================================
+ Hits 1075 1146 +71
+ Misses 263 259 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dad81ae to
3d421c5
Compare
Member
Author
|
Documentation is updated, good to go... |
m-fila
reviewed
Dec 12, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Moelf
reviewed
Dec 15, 2025
Add the Valencia algorithm to the general Durham/EEKt implementation. Uses internal algorithm switching at key points inside the distance and update functions to add different Valencia calculations.
Add --gamma to the reconstruction examples and pass it through to the underlying algorithms correctly. Add Valencia test to benchmark script
No need to check that algorithm is the correct type this deep in the reconstruction. This is also a hot function, so unnecessary checks are costly.
Add information on the Valencia algorithm to the documentation. Update the reference to latest (CHEP 2024) paper. Minor documentation tweaks.
Minor fixes to docstrings
These will now be handled in a separate PR
6c4c5df to
5a0c3c1
Compare
f223e6b to
840450b
Compare
Member
Author
|
OK, all review comments were addressed, so should be good enough to merge now! Many thanks to @mattleblanc for the lion's share of this work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a rebased and updated version of the Valencia jets implementation from @mattleblanc and @EthanLynn916.
Compared to the original in #202 there is:
invR2is now mandatory at the internal_ee_genkt_algorithm!level, and β is handled at the user API,ee_genkt_algorithm)--algorithm=Valenciais now supported in the reconstruction examplesjetreco.jlandinstrumented-jetreco.jl;--betais supported as an alias for--powerfor use with this algorithmThere is still a slight performance regression compared to the previous implantation of the algorithm when running Durham or EEKt, but this is now O(5%), which is considered acceptable. Options that improved even that small difference had too much of an impact on the sustainability of the code because they required a lot of code duplication.
Further internal optimisation could still be looked in to.
As noted in #202 this implementation follows the description in 1404.4294, and so depends on several parameters: