You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no need to have the prefix `generic`
Update the README to show how to ruin reconstruction
using the "Best" strategy (should be the default way)
Add also a note on sorting (which is super trivial in Julia,
so no need to support specific methods for
`Vector{PseudoJet}` as fastjet does)
Only jets passing the cut $p_T > p_{Tmin}$ will be returned. The result is returned as a `Vector{LorentzVectorHEP}`.
44
+
45
+
#### Sorting
46
+
47
+
As sorting vectors is trivial in Julia, no special sorting methods are provided. As an example, to sort exclusive jets of $>5.0$ (usually GeV, depending on your EDM) from highest energy to lowest:
41
48
42
-
Both of these functions return tuple of `(jets, seq)`, where these are a vector of `JetReconstruction.PseudoJet` objects and cluster sequencing information, respectively.
Three strategies are available for the different algorithms:
56
+
57
+
| Strategy Name | Notes | Interface |
58
+
|---|---|---|
59
+
|`JetRecoStrategy.Best`| Dynamically switch strategy based on input particle density |`jet_reconstruct`|
60
+
|`JetRecoStrategy.N2Plain`| Global matching of particles at each interation (works well for low $N$) |`plain_jet_reconstruct`|
61
+
|`JetRecoStrategy.N2Tiled`| Use tiles of radius $R$ to limit search space (works well for higher $N$) |`tiled_jet_reconstruct`|
62
+
63
+
Generally one can use the `jet_reconstruct` interface, shown above, as the *Best* strategy safely as the overhead is extremely low. That interface supports a `strategy` option to switch to a different option.
64
+
65
+
Another option, if one wishes to use a specific strategy, is to call that strategy's interface directly, e.g.,
66
+
67
+
```julia
68
+
# N2Plain
69
+
plain_jet_reconstruct(particles::Vector{T}; p =-1, R =1.0, recombine =+)
70
+
```
43
71
44
-
Note that the `N2Plain` algorithm is usually faster at low densities, $\lessapprox 50$ input particles, otherwise the tiled algorithm is faster.
72
+
Note that there is no `strategy` option in these interfaces.
0 commit comments