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

Efficient negative-weight elimination in large high-multiplicity Monte Carlo event samples
Jeppe R. Andersen, Andreas Maier, Daniel Maître
arXiv:2303.15246

§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 lists the steps that are performed
  • io event input and output (from and to files)
  • event for the internal event format
  • distance for user-defined distance functions
  • seeds and resampler for the resampling

Modules§

Structs§

Constants§