37 static bool quasi(
UInt_t dimension,
double vector[],
#define ClassDef(name, id)
This class generates the quasi-random (aka "low discrepancy") sequence for dimensions up to 12 using ...
This class provides a static interface for generating random numbers.
static RooQuasiRandomGenerator * quasiGenerator()
Return a pointer to a singleton quasi-random generator implementation.
static double uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
static double gaussian(TRandom *generator=randomGenerator())
Return a Gaussian random variable with mean 0 and variance 1.
static struct Guard guard
static bool quasi(UInt_t dimension, double vector[], RooQuasiRandomGenerator *generator=quasiGenerator())
Return a quasi-random number in the range (0,1) using the Niederreiter base 2 generator described in ...
static TRandom * _theGenerator
random number generator
static UInt_t integer(UInt_t max, TRandom *generator=randomGenerator())
Return an integer uniformly distributed from [0,n-1].
static void setRandomGenerator(TRandom *gen)
set the random number generator; takes ownership of the object passed as parameter
static RooQuasiRandomGenerator * _theQuasiGenerator
quasi random number sequence generator
static TRandom * randomGenerator()
Return a pointer to a singleton random-number generator implementation.
This is the base class for the ROOT Random number generators.