Expand description
cres is a crate for cell resampling, introduced in
Unbiased Elimination of Negative Weights in Monte Carlo Samples
J. Andersen, A. Maier
arXiv:2109.07851
How to use
Probably the best way to get started is to look at the examples, starting with
examples/minimal.rs.
Most relevant modules
- prelude exports a list of the most relevant classes and objects
- cres contains the main class and list the steps that are performed
- hepmc2 contains a reader, converter, and writer for the HepMC 2 format
- event for the internal event format
- distance for user-defined distance functions
- seeds and resampler for the resampling
Modules
- Automatic input decompression
- Partition events by iterative bisection
- C API
- Definition of event cells
- Jet clustering helpers
- Output compression
- Main cell resampling functionality
- Distance functions
- Scattering event class
- Thin wrapper around std::fs::File
- Four-vector class
- HepMC2 interface
- Nearest neighbour search algorithms
- Most important exports
- Progress bar
- Event readers
- Cell resampling
- Cell seed selection
- Common traits
- Unweighting