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
Modules§
- anti_
gauge_ and_ higgs_ bosons - anti_
leptons - anti_
quarks - baryons
- bbbar_
mesons - bottom_
baryons - bottom_
mesons - ccbar_
mesons - cell
- Definition of event cells
- cell_
collector - Callbacks used upon cell construction and when writing out events
- charmed_
baryons - charmed_
mesons - cluster
- Jet clustering helpers
- compression
- Output compression
- cres
- Main cell resampling functionality
- diquarks
- distance
- Distance functions
- event
- Scattering event class
- formats
- Supported event file formats
- four_
vector - Four-vector class
- gauge_
and_ higgs_ bosons - gauge_
bosons - hadrons
- hepmc2
- HepMC2 interface
- higgs_
bosons - io
- Event input/output
- leptons
- lhef
- LesHouches Event File interface
- light_
Ieq0_ mesons - light_
Ieq1_ mesons - light_
anti_ baryons - light_
baryons - light_
mesons - mesons
- neighbour_
search - Nearest neighbour search algorithms
- partition
- Phase-space partitions
- pentaquarks
- prelude
- Most important exports
- progress_
bar - Progress bar
- quarks
- resampler
- Cell resampling
- seeds
- Cell seed selection
- sm_
elementary_ particles - special_
particles - strange_
baryons - strange_
mesons - susy_
anti_ particles - susy_
particles - traits
- Common traits
- unweight
- Unweighting
- vptree
- Vantage-point tree
Structs§
- ParticleID
- Particle ID according to the Monte Carlo Particle Numbering Scheme
Constants§
- FEATURES
- Features enabled during compilation
- GIT_
BRANCH - git branch during compilation
- GIT_REV
- Hash of the compiled git commit
- VERSION
- cres version
- VERSION_
MAJOR - Major version number
- VERSION_
MINOR - Minor version number
- VERSION_
PATCH - Patch version number
Traits§
- Float
- Generic trait for floating point numbers
Functions§
- n64
- Shorthand for
N64::new(value).
Type Aliases§
- N64
- A floating point number behaving like
f64that does not allow NaN.