|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file. 1 #ifndef GUARD_GGEMS_RANDOMS_GGEMSPSEUDORANDOMGENERATOR_HH
2 #define GUARD_GGEMS_RANDOMS_GGEMSPSEUDORANDOMGENERATOR_HH
34 #include "GGEMS/global/GGEMSConfiguration.hh"
88 void Initialize(
GGuint const& seed);
101 void PrintInfos(
void)
const;
116 void AllocateRandom(
void);
122 void InitializeSeeds(
void);
129 GGuint GenerateSeed(
void)
const;
137 #endif // End of GUARD_GGEMS_RANDOMS_PSEUDO_RANDOM_GENERATOR_HH
GGEMSPseudoRandomGenerator(GGEMSPseudoRandomGenerator const &random)=delete
Avoid copy of the class by reference.
Class managing the random number in GGEMS.
void SetSeed(GGuint const &seed)
set the initial seed
GGsize number_activated_devices_
Singleton class storing all informations about OpenCL and managing GPU/CPU devices,...
GGEMSPseudoRandomGenerator & operator=(GGEMSPseudoRandomGenerator const &&random)=delete
Avoid copy of the class by rvalue reference.
GGEMSPseudoRandomGenerator & operator=(GGEMSPseudoRandomGenerator const &random)=delete
Avoid assignement of the class by reference.
cl::Buffer * GetPseudoRandomNumbers(GGsize const &thread_index) const
return the pointer to OpenCL buffer storing random numbers
cl::Buffer ** pseudo_random_numbers_
GGEMSPseudoRandomGenerator(GGEMSPseudoRandomGenerator const &&random)=delete
Avoid copy of the class by rvalue reference.