Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Contains random generator functions used in the Monte Carlo Thermal Event Generator. More...
Classes | |
struct | BesselDistributionGenerator |
Generator of a random number from the Bessel distribution (a, nu), nu is integer Uses methods from https://www.sciencedirect.com/science/article/pii/S016771520200055X Used in event generator with exact conservation of charges to generate two Poisson numbers with fixed difference, as described in https://arxiv.org/pdf/1609.01087.pdf. More... | |
class | BoostInvariantMomentumGenerator |
Class for generating momentum of a particle in accordance with a longitudinally boost invariant and azimuthally symmetric freeze-out model. More... | |
class | BreitWignerGenerator |
Class for generating mass of resonance in accordance with the relativistic Breit-Wigner distribution. More... | |
class | ParticleMomentumGenerator |
Base class for Monte Carlo sampling of particle momenta. More... | |
class | SiemensRasmussenMomentumGenerator |
Class for generating the momentum of a particle in accordance with the Siemens-Rasmussen formula. More... | |
class | SiemensRasmussenMomentumGeneratorGeneralized |
A generalized class for generating the momentum of a particle in accordance with the Siemens-Rasmussen spherically symmetric blast-wave model which is able to incoporate Fermi-Dirac and Bose-Einstein statistics. More... | |
class | SSHMomentumGenerator |
Class for generating the momentum of a particle in accordance with the longitudinally symmetric blast-wave model. More... | |
class | ThermalBreitWignerGenerator |
Class for generating mass of resonance in accordance with the constant width Breit-Wigner distribution multiplied by the thermal density. More... | |
class | ThermalEnergyBreitWignerGenerator |
Class for generating mass of resonance in accordance with the energy-dependent Breit-Wigner distribution multiplied by the thermal density. More... | |
class | ThermalMomentumGenerator |
Class for generating the absolute values of the momentum of a particle in its local rest frame. More... | |
Functions | |
void | SetSeed (const unsigned int seed) |
Set the seed of the random number generator randgenMT. More... | |
int | RandomPoisson (double mean) |
Generates random integer distributed by Poisson with specified mean Uses randgenMT. More... | |
int | RandomPoisson (double mean, MTRand &rangen) |
Same as randgenMT(double) but uses the provided instance of the Mersenne Twister random number generator. More... | |
double | 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... | |
Variables | |
MTRand | randgenMT |
The Mersenne Twister random number generator. More... | |
Contains random generator functions used in the Monte Carlo Thermal Event Generator.
int thermalfist::RandomGenerators::RandomPoisson | ( | double | mean | ) |
Generates random integer distributed by Poisson with specified mean Uses randgenMT.
mean | Mean of the Poisson distribution |
Definition at line 24 of file RandomGenerators.cpp.
int thermalfist::RandomGenerators::RandomPoisson | ( | double | mean, |
MTRand & | rangen | ||
) |
Same as randgenMT(double) but uses the provided instance of the Mersenne Twister random number generator.
mean | |
rangen | A Mersenne Twister random number generator to use |
Definition at line 69 of file RandomGenerators.cpp.
void thermalfist::RandomGenerators::SetSeed | ( | const unsigned int | seed | ) |
Set the seed of the random number generator randgenMT.
Definition at line 20 of file RandomGenerators.cpp.
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.
Definition at line 113 of file RandomGenerators.cpp.
MTRand thermalfist::RandomGenerators::randgenMT |
The Mersenne Twister random number generator.
Definition at line 18 of file RandomGenerators.cpp.