![]() |
MaCh3
2.8.0
Reference Guide
|
#include <cstdint>#include <vector>#include "Manager/Core.h"#include "Manager/Monitor.h"#include "TRandom3.h"Go to the source code of this file.
Classes | |
| class | M3::rand::Random |
| Universal random number generator for MaCh3. More... | |
Namespaces | |
| M3 | |
| Main namespace for MaCh3 software. | |
| M3::rand | |
Functions | |
| void | M3::rand::SetSeed (const std::uint64_t seed) |
| Set the global random seed. More... | |
| double | M3::rand::Uniform (const double min=0.0, const double max=1.0) |
| Generate a uniform random number in [min, max). More... | |
| int | M3::rand::Poisson (const double mean) |
| Generate a Poisson-distributed integer with the given mean. More... | |
| double | M3::rand::PoissonD (const double mean) |
| Generate a Poisson-distributed random number with the given mean. More... | |
| int | M3::rand::UniformInt (const int min, const int max) |
| Generate a uniform random integer in [min, max]. More... | |
| double | M3::rand::Gaus (const double mean=0.0, const double sigma=1.0) |
| Generate a Gaussian random number. More... | |