29 #ifdef G4MULTITHREADED
51 return fire( mean, stdDev );
71 v1 = 2.0 * anEngine->
flat() - 1.0;
72 v2 = 2.0 * anEngine->
flat() - 1.0;
76 fac = std::sqrt(-2.0*std::log(r)/r);
86 for (
G4int i=0; i<size; ++i)
87 vect[i] =
shoot(mean,stdDev);
104 v1 = 2.0 * anEngine->
flat() - 1.0;
105 v2 = 2.0 * anEngine->
flat() - 1.0;
109 fac = std::sqrt( -2.0*std::log(r)/r);
120 for (
G4int i=0; i<size; ++i)
121 vect[i] =
shoot(anEngine,mean,stdDev);
143 fac = std::sqrt(-2.0*std::log(r)/r);
152 for (
G4int i=0; i<size; ++i)
159 for (
G4int i=0; i<size; ++i)
160 vect[i] =
fire( mean, stdDev );
static CLHEP::HepRandomEngine * getTheEngine()
virtual G4double operator()()
static void shootArray(const G4int size, G4double *vect, G4double mean=0.0, G4double stdDev=1.0)
void fireArray(const G4int size, G4double *vect)
static void setFlag(G4bool val)
CLHEP::HepRandomEngine * localEngine
static void setVal(G4double nextVal)