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

Improved constituents #98

Merged
merged 7 commits into from
Nov 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update constituent examples and add README
graeme-a-stewart committed Nov 27, 2024
commit 0488367938e495eaabcad4343360541fd5d88481
5 changes: 5 additions & 0 deletions docs/src/examples.md
Original file line number Diff line number Diff line change
@@ -61,3 +61,8 @@ showing how the jets merge from their different constituents.
The `examples/EDM4hep` folder contains examples of using EDM4hep reconstructed
particles as input to jet reconstruction. See the specific `README.md` file in
that directory as well as [EDM4hep Inputs](@ref).

## Jet Constituents

The `examples/constituents` folder shows an example of the two mechanisms to
retrieve jet constituents.
7 changes: 7 additions & 0 deletions examples/constituents/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Jet Consitituents

The `jetreco-constituents.jl` example shows how to retrieve jet constituents (by
index and by reference to jet objects).

The `jetreco-constituents-nb.jl` is the same example, just in Pluto notebook
form.
4 changes: 1 addition & 3 deletions examples/constituents/jetreco-constituents-nb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### A Pluto.jl notebook ###
# v0.19.46
# v0.20.3

using Markdown
using InteractiveUtils
@@ -23,8 +23,6 @@ Perform a simple reconstruction example and show how to retrieve constituent jet

# ╔═╡ b16f99a0-31ec-4e8f-99c6-7a6fcb16cbee
md"As this is running in development, use `Pkg` to activate the local development version of the package and use `Revise` to track code changes.

(Currently you must use the `jet-constituents` branch of `JetReconstruction`.)
"

# ╔═╡ 79f24ec1-a63e-4e96-bd67-49661125be66