Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -117,6 +117,10 @@ SetupRNGEngine(const CLHEP::HepRandomEngine* aNewRNG) const
{
retRNG = new CLHEP::RanecuEngine;
}
if(dynamic_cast<const CLHEP::RanluxppEngine*>(aNewRNG))
{
retRNG = new CLHEP::RanluxppEngine;
}
if(dynamic_cast<const CLHEP::Ranlux64Engine*>(aNewRNG))
{
const CLHEP::Ranlux64Engine* theRNG =
@@ -152,7 +156,7 @@ SetupRNGEngine(const CLHEP::HepRandomEngine* aNewRNG) const
G4ExceptionDescription msg;
msg << " Unknown type of RNG Engine - " << G4endl
<< " Can cope only with HepJamesRandom, MixMaxRng, Ranecu, Ranlux64,"
<< " MTwistEngine, DualRand, Ranlux or Ranshi." << G4endl
<< " Ranlux++, MTwistEngine, DualRand, Ranlux or Ranshi." << G4endl
<< " Cannot clone this type of RNG engine, as required for this thread"
<< G4endl << " Aborting " << G4endl;
G4Exception("G4UserWorkerThreadInitialization::SetupRNGEngine()",