Import Geant4 4.1.0 source tree
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4HadronCaptureDataSet.cc,v 1.4 2001/08/01 17:03:14 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// G4 Physics class: HadronCaptureDataSet for cross sections
|
||||
|
||||
@@ -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.);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4HadronElasticDataSet.cc,v 1.4 2001/08/01 17:03:16 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// G4 Physics class: HadronElasticDataSet for cross sections
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4HadronFissionDataSet.cc,v 1.4 2001/08/01 17:03:16 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// G4 Physics class: HadronFissionDataSet for cross sections
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4HadronInelasticDataSet.cc,v 1.4 2001/08/01 17:03:17 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// G4 Physics class: HadronInelasticDataSet for cross sections
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -45,7 +45,7 @@ GetCrossSection(const G4DynamicParticle* aPart,
|
||||
// needs target mass
|
||||
G4double targetMass = G4ParticleTable::GetParticleTable()
|
||||
->GetIonTable()
|
||||
->GetIonMass(nTargetProtons, targetAtomicNumber);
|
||||
->GetIonMass(static_cast<G4int>(nTargetProtons), static_cast<G4int>(targetAtomicNumber));
|
||||
G4LorentzVector pTarget(0,0,0,targetMass);
|
||||
G4LorentzVector pProjectile(aPart->Get4Momentum());
|
||||
pTarget = pTarget+pProjectile;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VCrossSectionDataSet.cc,v 1.4 2001/08/01 17:03:18 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// GEANT4 physics abstract class: G4VCrossSectionDataSet
|
||||
|
||||
Reference in New Issue
Block a user