29 #ifdef G4MULTITHREADED
33 const G4int G4MTRandFlat::MSBBits= 15;
34 const unsigned long G4MTRandFlat::MSB= 1ul<<G4MTRandFlat::MSBBits;
36 G4ThreadLocal unsigned long G4MTRandFlat::staticFirstUnusedBit= 0;
40 if ( deleteEngine )
delete localEngine;
45 return fire( defaultA, defaultB );
71 for (
G4int i=0; i<size; ++i)
72 vect[i] =
shoot(lx,dx);
79 for (
G4int i=0; i<size; ++i)
80 vect[i] =
shoot(anEngine,lx,dx);
85 for (
G4int i=0; i<size; ++i)
86 vect[i] =
fire( defaultA, defaultB );
92 for (
G4int i=0; i<size; ++i)
93 vect[i] =
fire( lx, dx );
static CLHEP::HepRandomEngine * getTheEngine()
void fireArray(const G4int size, G4double *vect)
static void shootArray(const G4int size, G4double *vect)
virtual void flatArray(const int size, double *vect)=0