Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4HadronCrossSections.cc,v 1.7 2001/10/05 16:08:35 hpw Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: G4HadronCrossSections.cc,v 1.9 2002/06/18 10:07:16 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//
// G4 Hadron Physics class G4HadronCrossSections
@@ -1224,7 +1224,8 @@ G4HadronCrossSections::CalcScatteringCrossSections(
const G4Element* anElement)
{
G4double sigel, sigin, sigtot;
G4double xsecel, xsecin;
G4double xsecel, xsecin=0;
xsecel = 0;
G4double dx, dy, rc, rca, b;
G4double crel, crin;
G4double xspiel, xspiin;
@@ -1242,7 +1243,7 @@ G4HadronCrossSections::CalcScatteringCrossSections(
if (ipart >= 30 && ipart <= 32) {
G4double apart;
G4double apart=0;
if (ipart == 30) apart = pow(2., 1./3.);
else if (ipart == 31) apart = pow(3., 1./3.);
else if (ipart == 32) apart = pow(4., 1./3.);