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))))
43 if ( deleteEngine )
delete localEngine;
48 return fire( defaultMean );
69 for (
G4int i=0; i<size; ++i)
70 vect[i] =
shoot(mean);
76 for (
G4int i=0; i<size; ++i)
77 vect[i] =
shoot(anEngine, mean);
82 for (
G4int i=0; i<size; ++i)
83 vect[i] =
fire( defaultMean );
89 for (
G4int i=0; i<size; ++i)
90 vect[i] =
fire( mean );
static CLHEP::HepRandomEngine * getTheEngine()
virtual ~G4MTRandExponential()
static void shootArray(const G4int size, G4double *vect, G4double mean=1.0)
void fireArray(const G4int size, G4double *vect)