Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+5
View File
@@ -14,6 +14,11 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
10 February 2016 Alberto Ribon (hadr-util-V10-02-00)
--------------------------------------------------------
- G4Nucleus : increased the max number of loops allowed in the method
GetBiasedThermalNucleus.
02 November 2015 Alberto Ribon (hadr-util-V10-01-02)
--------------------------------------------------------
- G4Nucleus : checking of 'while' loops.
@@ -121,7 +121,7 @@ GetBiasedThermalNucleus(G4double aMass, G4ThreeVector aVelocity, G4double temp)
norm *= 5.;
norm += velMag;
norm /= velMag;
const G4int maxNumberOfLoops = 10000;
const G4int maxNumberOfLoops = 1000000;
G4int loopCounter = -1;
while ( (value/norm<random) && ++loopCounter < maxNumberOfLoops ) /* Loop checking, 02.11.2015, A.Ribon */
{