#include <G4UserTaskThreadInitialization.hh>
◆ G4UserTaskThreadInitialization()
G4UserTaskThreadInitialization::G4UserTaskThreadInitialization |
( |
| ) |
|
|
default |
◆ ~G4UserTaskThreadInitialization()
G4UserTaskThreadInitialization::~G4UserTaskThreadInitialization |
( |
| ) |
|
|
overridedefault |
◆ CreateAndStartWorker()
◆ CreateWorkerRunManager()
◆ JoinWorker()
void G4UserTaskThreadInitialization::JoinWorker |
( |
G4Thread * | aThread | ) |
|
|
overridevirtual |
◆ SetupRNGEngine()
Reimplemented from G4UserWorkerThreadInitialization.
Definition at line 69 of file G4UserTaskThreadInitialization.cc.
70{
72
73
74 G4Random::getTheEngine();
75
77
78
95
96 if (retRNG != nullptr)
97 G4Random::setTheEngine(retRNG);
98 else {
99
101 msg <<
" Unknown type of RNG Engine - " <<
G4endl
102 << " Can cope only with HepJamesRandom, MixMaxRng, Ranecu, Ranlux64,"
103 <<
" Ranlux++, MTwistEngine, DualRand, Ranlux or Ranshi." <<
G4endl
104 <<
" Cannot clone this type of RNG engine, as required for this thread" <<
G4endl
105 <<
" Aborting... " <<
G4endl;
107 }
108}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
The documentation for this class was generated from the following files: