jetty
Implementations of common inclusive jet clustering algorithms.
In the current version, the following distance measures are implemented:
For state-of-the-art implementations of many more jet algorithms, have a look at the excellent fastjet library.
Examples
Cluster a number of partons into jets using the anti-kt algorithm with radius 0.4:
use ;
let partons = vec!;
// get all jets
let all_jets = partons.clone.cluster;
assert_eq!;
// get all jets with at least 40 GeV
let jets_40gev = partons.clone.cluster_if;
assert_eq!;
// go through the cluster history step-by-step
let history = new;
for step in history
License: GPL-3.0-or-later