Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -122,7 +122,7 @@ inline
// calculate momentum of daughter particles in two-body decay
if (e-p1-p2 < 0 )
{
throw G4HadronicException(__FILE__, __LINE__, "G4GeneralPhaseSpaceDecay::Pmx energy in cms > mass1+mass2");
throw G4HadronicException(__FILE__, __LINE__, "G4GeneralPhaseSpaceDecay::Pmx energy in cms < mass1+mass2");
}
G4double ppp = (e+p1+p2)*(e+p1-p2)*(e-p1+p2)*(e-p1-p2)/(4.0*e*e);
if (ppp>0) return std::sqrt(ppp);
@@ -37,6 +37,9 @@
#include "globals.hh"
class G4Pow;
class G4ParticleDefinition;
class G4NuclearRadii
{
public:
@@ -53,6 +56,9 @@ public:
// algorithm from Glauber-Gribov nucluear-nuclear model (V.Grichine)
static G4double RadiusNNGG(G4int Z, G4int A);
// algorithm of Edward Simpsons & Dousatsu Sakata
static G4double RadiusECS(G4int Z, G4int A);
// algorithm from Glauber-Gribov hadron-nuclear model (V.Grichine)
static G4double RadiusHNGG(G4int A);
@@ -66,6 +72,22 @@ public:
// de-excitation module
static G4double RadiusCB(G4int Z, G4int A);
// algorithm from computation of Coulomb barrier
static G4double ParticleRadius(const G4ParticleDefinition*);
// algorithm for hadron-nucleon x-section
static G4double CoulombFactor(
const G4ParticleDefinition* theParticle,
const G4ParticleDefinition* nucleon,
G4double ekin);
// algorithm for hadron-nucleus x-section
static G4double CoulombFactor(
G4int Z, G4int A,
const G4ParticleDefinition* theParticle,
G4double ekin);
static G4Pow* fG4pow;
static const G4double r0[93];
};