Import Geant4 6.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:41:53 +02:00
parent 4aea781e80
commit 96686e0c8f
6560 changed files with 153347 additions and 238155 deletions
@@ -37,6 +37,7 @@
#include "G4Nucleus.hh"
#include "Randomize.hh"
#include "G4HadronicException.hh"
G4Nucleus::G4Nucleus()
{
@@ -146,7 +147,10 @@ G4ReactionProduct G4Nucleus::GetThermalNucleus(G4double targetMass, G4double tem
G4int myZ = G4int(Z + 0.5);
G4int myA = G4int(A + 0.5);
if( myA<1 || myZ<0 || myZ>myA )
G4Exception("G4Nucleus::SetParameters called with non-physical parameters");
{
throw G4HadronicException(__FILE__, __LINE__,
"G4Nucleus::SetParameters called with non-physical parameters");
}
aEff = A; // atomic weight
zEff = Z; // atomic number
}