Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
@@ -8,8 +8,14 @@
{
G4double atomicNumber = anEle->GetN();
G4double nOfProtons = anEle->GetZ();
return GetCrossSection(aPart->GetKineticEnergy(), atomicNumber, nOfProtons);
}
G4double G4ProtonInelasticCrossSection::
GetCrossSection(G4double kineticEnergy, G4double atomicNumber, G4double nOfProtons)
{
G4double nOfNeutrons = atomicNumber-nOfProtons;
G4double kineticEnergy = aPart->GetKineticEnergy()/GeV;
kineticEnergy /=GeV;
G4double a = atomicNumber;
const G4double nuleonRadius=1.36E-15;
const G4double pi=3.14159265;