Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -68,7 +68,7 @@ class G4DiffElasticHadrNucleus: public //G4HadronValues
if(N < 100) for(G4int M = 1; M<=N; M++) Res = Res*M;
if(N >= 100) Res = 2.50662827*exp(-N-1.0)*pow(N+1.0,N+0.5)*
if(N >= 100) Res = 2.50662827*std::exp(-N-1.0)*std::pow(N+1.0,N+0.5)*
(1+1/12/(N+1)+1/288/(N+1)/(N+1)-
139/51840/(N+1)/(N+1)/(N+1)-
571/2488320/(N+1)/(N+1)/(N+1)/(N+1));
@@ -146,7 +146,7 @@
if(N < 100) for(G4int M = 1; M<=N; M++) Res = Res*M;
else Res = 2.50662827*exp(-N-1.0)*pow(N+1.0,N+0.5)*
else Res = 2.50662827*std::exp(-N-1.0)*std::pow(N+1.0,N+0.5)*
(1+1/12/(N+1)+1/288/(N+1)/(N+1)-
139/51840/(N+1)/(N+1)/(N+1)-
571/2488320/(N+1)/(N+1)/(N+1)/(N+1));
@@ -27,7 +27,7 @@
// Table of Cumulative np Scattering Probabilities
// To be used for generation as a function of cos(theta cm)
// To be used for generation as a function of std::cos(theta cm)
// NOTE: Assumes angle range to be generated is 0-180 degrees
// This allows tracking of
// well-defined GEANT4 particles and generation of secondary
@@ -26,7 +26,7 @@
// F.W. Jones, L.G. Greeniaus, H.P. Wellisch
// Table of Cumulative nn or pp Scattering Probabilities
// To be used for generation as a function of cos(theta cm)
// To be used for generation as a function of std::cos(theta cm)
// Coulomb effects are SUPPRESSED
// -- including pp Coulomb-nuclear interference
// NOTE: Assumes angle range to be generated is 0-180 degrees
@@ -663,7 +663,7 @@
// Table of Cumulative pp Scattering Probabilities
// To be used for generation as a function of cos(theta cm)
// To be used for generation as a function of std::cos(theta cm)
// Coulomb effects are NOT suppressed
// -- including pp Coulomb-nuclear interference
// NOTE: Assumes angle range to be generated is 0-180 degrees