12#include <framework/core/RandomGenerator.h>
36 static void initialize(
const std::string& seed);
85 static void setSeed(
const std::string& seed);
Fast Random number Generator using on xorshift1024* [arXiv:1402.6246].
The class for handling the random number generation.
static int s_barrierOffset
barrier index offset to be used in begin/endRun.
static void initializeEndRun()
Initialize run independent random generator for end run.
static bool isInitialized()
Truth that the random number generator has been initialized.
static RandomGenerator * s_runRng
event independent random generator to be used for begin/end run processing
static void setSeed(const std::string &seed)
Sets the seed for the random number generator.
static void initializeBeginRun()
Initialize run independent random generator for begin run.
static std::string getSeed()
Get the random number generator seed.
static void initialize()
Initialize the random number generator with a unique random seed;.
static void useEventDependent()
Set Event dependent Random Generator as current one.
static std::string s_initialSeed
The random number generator seed set by the user.
static void exposePythonAPI()
Exposes methods of the RandomNumbers class to Python.
static RandomGenerator * s_evtRng
event dependent random generator to be used for event processing
static void barrier()
Increase random barrier.
static RandomGenerator & getEventRandomGenerator()
return reference to the event dependent random generator
static void initializeEvent(bool force=false)
Initialize event information.
Abstract base class for different kinds of events.