Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
@@ -175,7 +175,7 @@ G4EMDissociationCrossSection::GetCrossSectionForProjectile (G4double AP,
//
// Initialise variables and calculate the energies for the GDR and GQR.
//
G4double AProot3 = std::pow(AP,1.0/3.0);
G4double AProot3 = G4Pow::GetInstance()->powA(AP,1.0/3.0);
G4double u = 3.0 * J / Qprime / AProot3;
G4double R0 = r0 * AProot3;
G4double E_GDR = hbarc / std::sqrt(0.7*amu_c2*R0*R0/8.0/J*
@@ -246,7 +246,7 @@ G4EMDissociationCrossSection::GetWilsonProbabilityForProtonDissociation(G4double
else
{
G4double p1 = (G4double) Z / (G4double) A;
G4double p2 = 1.95*std::exp(-0.075*Z);
G4double p2 = 1.95*G4Exp(-0.075*Z);
if (p1 < p2) p = p1;
else p = p2;
}