Crate cres

source ·
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

Structs

Constants