#include <G4UserWorkerThreadInitialization.hh>
G4UserWorkerThreadInitialization::G4UserWorkerThreadInitialization |
( |
| ) |
|
G4UserWorkerThreadInitialization::~G4UserWorkerThreadInitialization |
( |
| ) |
|
|
virtual |
void G4UserWorkerThreadInitialization::JoinWorker |
( |
G4Thread * |
aThread | ) |
|
|
virtual |
Definition at line 85 of file G4UserWorkerThreadInitialization.cc.
90 G4Random::getTheEngine();
95 if ( dynamic_cast<const CLHEP::HepJamesRandom*>(aNewRNG) ) {
98 if ( dynamic_cast<const CLHEP::MixMaxRng*>(aNewRNG) ) {
101 if ( dynamic_cast<const CLHEP::RanecuEngine*>(aNewRNG) ) {
104 if ( dynamic_cast<const CLHEP::Ranlux64Engine*>(aNewRNG) ) {
107 if ( dynamic_cast<const CLHEP::MTwistEngine*>(aNewRNG) ) {
110 if ( dynamic_cast<const CLHEP::DualRand*>(aNewRNG) ) {
113 if ( dynamic_cast<const CLHEP::RanluxEngine*>(aNewRNG) ) {
116 if ( dynamic_cast<const CLHEP::RanshiEngine*>(aNewRNG) ) {
121 G4Random::setTheEngine( retRNG );
125 msg<<
" Unknown type of RNG Engine - " <<
G4endl
126 <<
" Can cope only with HepJamesRandom, MixMaxRng, Ranecu, Ranlux64, MTwistEngine, DualRand, Ranlux or Ranshi."
128 <<
" Cannot clone this type of RNG engine, as required for this thread" <<
G4endl
129 <<
" Aborting " <<
G4endl;
130 G4Exception(
"G4UserWorkerInitializition::SetupRNGEngine()",
std::ostringstream G4ExceptionDescription
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
The documentation for this class was generated from the following files: