Go to the documentation of this file.
34 #ifdef G4MULTITHREADED
50 #define G4RandFlat G4MTRandFlat
51 #define G4RandBit G4MTRandBit
52 #define G4RandGamma G4MTRandGamma
53 #define G4RandGauss G4MTRandGaussQ
54 #define G4RandExponential G4MTRandExponential
55 #define G4RandGeneral G4MTRandGeneral
56 #define G4Random G4MTHepRandom
58 #define G4UniformRand() G4MTHepRandom::getTheEngine()->flat()
62 #define G4RandFlatArray G4MTRandFlat::shootArray
63 #define G4RandFlatInt G4MTRandFlat::shootInt
64 #define G4RandGeneralTmp G4MTRandGeneral
66 #else // Sequential mode
78 #define G4RandStat CLHEP::HepStat
79 #define G4RandFlat CLHEP::RandFlat
80 #define G4RandBit CLHEP::RandBit
81 #define G4RandGamma CLHEP::RandGamma
82 #define G4RandGauss CLHEP::RandGaussQ
83 #define G4RandExponential CLHEP::RandExponential
84 #define G4RandGeneral CLHEP::RandGeneral
85 #define G4Random CLHEP::HepRandom
87 #define G4UniformRand() CLHEP::HepRandom::getTheEngine()->flat()
89 #endif // G4MULTITHREADED