86 G4Random::getTheEngine();
130 G4Random::setTheEngine(retRNG);
136 msg <<
" Unknown type of RNG Engine - " <<
G4endl
137 <<
" Can cope only with HepJamesRandom, MixMaxRng, Ranecu, Ranlux64,"
138 <<
" MTwistEngine, DualRand, Ranlux or Ranshi." <<
G4endl
139 <<
" Cannot clone this type of RNG engine, as required for this thread"
141 G4Exception(
"G4UserWorkerInitializition::SetupRNGEngine()",
"Run0122",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
#define G4MUTEX_INITIALIZER
#define G4THREADJOIN(worker)
void G4THREADCREATE(_Worker *&worker, _Func func, _Args... args)
static void StartThread(G4WorkerThread *context)
virtual ~G4UserWorkerThreadInitialization()
virtual void JoinWorker(G4Thread *aThread)
virtual void SetupRNGEngine(const CLHEP::HepRandomEngine *aRNGEngine) const
G4UserWorkerThreadInitialization()
virtual G4Thread * CreateAndStartWorker(G4WorkerThread *workerThreadContext)
virtual G4WorkerRunManager * CreateWorkerRunManager() const