31 std::random_device rd;
32 unsigned int randomDeviceSeed = rd();
33 fSeed = randomDeviceSeed;
Random generator utility class for CA tracking.
A class, providing ROOT-free access to randomly generated variables.
GeneratorType_t fGenerator
Random number generator.
unsigned int fSeed
Random number seed.
Random()
Default constructor.
void SetSeed(int seed)
Sets seed to the random generator.