Skip to content

Implementing modules for Lund Jet Plane generation#184

Merged
graeme-a-stewart merged 5 commits intoJuliaHEP:mainfrom
sattwamo:main
Aug 4, 2025
Merged

Implementing modules for Lund Jet Plane generation#184
graeme-a-stewart merged 5 commits intoJuliaHEP:mainfrom
sattwamo:main

Conversation

@sattwamo
Copy link
Contributor

  • Implemented functions to generate the primary Lund Jet Plane, following the logic and structure of the LundPlane reference implementation in FastJet.

  • Verified consistency with FastJet output — see comparison.pdf for detailed comparison plots.

  • Also fixed the issue with constituent_indexes function.

This was linked to issues Jul 17, 2025
@codecov
Copy link

codecov bot commented Jul 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.33%. Comparing base (c4ad094) to head (17fe31b).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #184      +/-   ##
==========================================
+ Coverage   76.92%   77.33%   +0.40%     
==========================================
  Files          20       21       +1     
  Lines        1296     1319      +23     
==========================================
+ Hits          997     1020      +23     
  Misses        299      299              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@m-fila
Copy link
Member

m-fila commented Jul 17, 2025

Please make sure to use correct version of the formatter
https://juliahep.github.io/JetReconstruction.jl/dev/contributing/#Bootstrap

Copy link
Contributor

@mattleblanc mattleblanc left a comment

Choose a reason for hiding this comment

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

Hi @sattwamo! Thanks very much for this code. As an LJP enthusiast, I took a quick look and left a couple (admittedly nitpick-y) questions for you.

sattwamo added 2 commits July 23, 2025 11:59
Moved `generate_average_lund_image` function to `examples/lundplane/lund-plane-visualisation.jl`
Included reference to original paper
Removed redundant comments
@sattwamo sattwamo requested a review from mattleblanc July 23, 2025 06:49
@mattleblanc
Copy link
Contributor

Hi @sattwamo, thanks for pushing the changes. I think it looks good, but I can't resolve the threads -- I think that's in your hands.

Cheers,
Matt

Rephrase a few things in the documentation.

Use LaTeXStrings for nicer axis labels on example.

Add a max_allowable_R for the package (following Fastjet this is set to
1000)

Make use of the delta_phi() function in deltaR() and deltar().
Copy link
Member

@graeme-a-stewart graeme-a-stewart left a comment

Choose a reason for hiding this comment

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

Thank you @sattwamo! I pushed a few small changes myself and this looks good to go now.

@graeme-a-stewart graeme-a-stewart merged commit c40fa56 into JuliaHEP:main Aug 4, 2025
12 checks passed
mattleblanc pushed a commit to mattleblanc/JetReconstruction.jl that referenced this pull request Aug 11, 2025
* Implementing modules for Lund Jet Plane generation

* Refactor Lund-plane utilities

Moved `generate_average_lund_image` function to `examples/lundplane/lund-plane-visualisation.jl`
Included reference to original paper
Removed redundant comments

* Fixed the issue with tests of LundPlane

* Small fixes for Lund plane

Rephrase a few things in the documentation.

Use LaTeXStrings for nicer axis labels on example.

Add a max_allowable_R for the package (following Fastjet this is set to
1000)

Make use of the delta_phi() function in deltaR() and deltar().

* Minor formatting

---------

Co-authored-by: Graeme A Stewart <graeme.andrew.stewart@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Constituent indexes are incorrect Implement Lund Jet Plane

4 participants