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
* Exclusive jets base on njets
First implementation of exclusive jet finder, for njets
Add a record of initial jets/clusters given to the ClusterSequence.
Add an Enum for the jet algorithm (to be allowed as a CLI option
and also to record this value internally in the ClusterSequence).
* Introduce algorithm enum
Used to store the algorithm in the ClusterSequence
Can also be used to build a simple CLI to select the algorithm
* Refactor enum for strategy name
Call this RecoStrategy instead if JetRecoStrategy
(This is different from JetAlgorithm, where it's how do I define jets,
vs. RecoStrategy, how to I build the reconstructed jets
- seems to make sense to me...)
* Implement n_exclusive_jets(cs, dcut)
This returns the number of jets that would pass a cut
where the reconstruction stopped at a certain dcut
value
* Sort final jets by pt
This makes comparisons a lot easier!
* Correct normalisation of dij values
Had been multiplying by R^2, instead of dividing!
* Add first inclusive selection test
Inclusive kT with dijmax=20
* More exclusive tests
Better structuring for exclusive selection tests
using a struct for all parameters.
Tests for njets and dijcut for both Cambridge/Aachen and
Inclusive-kT.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The algorithms include anti-${k}_\text{T}$, Cambridge/Aachen and inclusive $k_\t
17
17
The simplest interface is to call:
18
18
19
19
```julia
20
-
cs =jet_reconstruct(particles::Vector{T}; p =-1, R =1.0, recombine =+, strategy =JetRecoStrategy.Best)
20
+
cs =jet_reconstruct(particles::Vector{T}; p =-1, R =1.0, recombine =+, strategy =RecoStrategy.Best)
21
21
```
22
22
23
23
-`particles` - a vector of input particles for the clustering
@@ -30,7 +30,7 @@ cs = jet_reconstruct(particles::Vector{T}; p = -1, R = 1.0, recombine = +, strat
30
30
-`1` gives inclusive $k_\text{T}$
31
31
-`R` - the cone size parameter; no particles more geometrically distance than `R` will be merged (default 1.0)
32
32
-`recombine` - the function used to merge two pseudojets (default is a simple 4-vector addition of $`(E, \mathbf{p})`$)
33
-
-`strategy` - the algorithm strategy to adopt, as described below (default `JetRecoStrategy.Best`)
33
+
-`strategy` - the algorithm strategy to adopt, as described below (default `RecoStrategy.Best`)
34
34
35
35
The object returned is a `ClusterSequence`, which internally tracks all merge steps.
36
36
@@ -56,9 +56,9 @@ Three strategies are available for the different algorithms:
56
56
57
57
| Strategy Name | Notes | Interface |
58
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`|
59
+
|`RecoStrategy.Best`| Dynamically switch strategy based on input particle density |`jet_reconstruct`|
60
+
|`RecoStrategy.N2Plain`| Global matching of particles at each interation (works well for low $N$) |`plain_jet_reconstruct`|
61
+
|`RecoStrategy.N2Tiled`| Use tiles of radius $R$ to limit search space (works well for higher $N$) |`tiled_jet_reconstruct`|
62
62
63
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.
0 commit comments