Thermal-FIST  1.3
Package for hadron resonance gas model applications
Namespaces | Functions
RandomGenerators.cpp File Reference
#include "HRGEventGenerator/RandomGenerators.h"
#include "HRGBase/xMath.h"
#include "HRGEventGenerator/SimpleParticle.h"
#include "HRGEventGenerator/ParticleDecaysMC.h"

Go to the source code of this file.

Namespaces

 thermalfist
 The main namespace where all classes and functions of the Thermal-FIST library reside.
 
 thermalfist::RandomGenerators
 Contains random generator functions used in the Monte Carlo Thermal Event Generator.
 

Functions

void thermalfist::RandomGenerators::SetSeed (const unsigned int seed)
 Set the seed of the random number generator randgenMT. More...
 
int thermalfist::RandomGenerators::RandomPoisson (double mean)
 Generates random integer distributed by Poisson with specified mean Uses randgenMT. More...
 
int thermalfist::RandomGenerators::RandomPoisson (double mean, MTRand &rangen)
 Same as randgenMT(double) but uses the provided instance of the Mersenne Twister random number generator. More...
 
double thermalfist::RandomGenerators::SkellamProbability (int k, double mu1, double mu2)
 Probability of a Skellam distributed random variable with Poisson means mu1 and mu2 to have the value of k. More...