Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -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.);
|
||||
|
||||
Reference in New Issue
Block a user