30 #if ((defined(G4MULTITHREADED) && !defined(G4USE_STD11)) || \
31 !__has_feature(cxx_thread_local)) || !__has_feature(c_atomic)
32 #define CLANG_NOSTDTLS
36 #if (defined(G4MULTITHREADED) && \
37 (!defined(G4USE_STD11) || (defined(CLANG_NOSTDTLS) || defined(__INTEL_COMPILER))))
41 const G4int G4MTRandFlat::MSBBits= 15;
42 const unsigned long G4MTRandFlat::MSB= 1ul<<G4MTRandFlat::MSBBits;
44 G4ThreadLocal unsigned long G4MTRandFlat::staticFirstUnusedBit= 0;
48 if ( deleteEngine )
delete localEngine;
53 return fire( defaultA, defaultB );
79 for (
G4int i=0; i<size; ++i)
80 vect[i] =
shoot(lx,dx);
87 for (
G4int i=0; i<size; ++i)
88 vect[i] =
shoot(anEngine,lx,dx);
93 for (
G4int i=0; i<size; ++i)
94 vect[i] =
fire( defaultA, defaultB );
100 for (
G4int i=0; i<size; ++i)
101 vect[i] =
fire( lx, dx );
static CLHEP::HepRandomEngine * getTheEngine()
void fireArray(const G4int size, G4double *vect)
std::vector< ExP01TrackerHit * > a
static void shootArray(const G4int size, G4double *vect)
virtual void flatArray(const int size, double *vect)=0