Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4CrossSectionDataStore.cc,v 1.1.10.1 1999/12/07 20:51:28 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// GEANT4 physics class: G4CrossSectionDataStore
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HadronCaptureDataSet.cc,v 1.1.10.1 1999/12/07 20:51:29 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4 Physics class: HadronCaptureDataSet for cross sections
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4HadronCrossSections.cc,v 1.1.10.1 1999/12/07 20:51:29 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4HadronCrossSections.cc,v 1.1.10.1.2.2 1999/12/10 15:42:01 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4 Hadron Physics class G4HadronCrossSections
@@ -1218,8 +1218,8 @@ G4HadronCrossSections::CalcScatteringCrossSections(
G4double z = anElement->GetZ();
if (verboseLevel > 1) {
G4cout << "G4HadronCrossSections: a=" << a << endl;
G4cout << "G4HadronCrossSections: z=" << z << endl;
G4cout << "G4HadronCrossSections: a=" << a << G4endl;
G4cout << "G4HadronCrossSections: z=" << z << G4endl;
}
// Ions...
@@ -1266,7 +1266,7 @@ G4HadronCrossSections::CalcScatteringCrossSections(
je1 = midBin;
} while (je2 - je1 > 1);
G4double ekx = max(ek, 1.e-9);
G4double ekx = G4std::max(ek, 1.e-9);
G4double delab = elab[je2] - elab[je1];
// G4int ja2 = NCNLW;
@@ -1355,8 +1355,8 @@ G4HadronCrossSections::CalcScatteringCrossSections(
b = csin[ipart1][je1] - rc*plab[je1];
sigin = rc*p + b;
if (verboseLevel > 1) {
G4cout << "sigel " << sigel << endl;
G4cout << "sigin " << sigin << endl;
G4cout << "sigel " << sigel << G4endl;
G4cout << "sigin " << sigin << G4endl;
}
G4double alph = alpha[ipart1];
if (ipart < 14) {
@@ -1440,8 +1440,8 @@ G4HadronCrossSections::CalcScatteringCrossSections(
b = cspiin[i - 1][je1] - rc*plab[je1];
xspiin = rc*p + b;
if (verboseLevel > 1) {
G4cout << "xspiel " << xspiel << endl;
G4cout << "xspiin " << xspiin << endl;
G4cout << "xspiel " << xspiel << G4endl;
G4cout << "xspiin " << xspiin << G4endl;
}
if (sigel >= 0.001)
crel = xspiel/(0.36*sigel*pow(G4double(csa[i]),1.17));
@@ -1482,7 +1482,7 @@ G4HadronCrossSections::GetCaptureCrossSection(
G4double ek = aParticle->GetKineticEnergy()/GeV;
if (ek > 0.0327) return 0.;
G4double ekx = max(ek, 1.e-9);
G4double ekx = G4std::max(ek, 1.e-9);
G4double z = anElement->GetZ();
G4int izno = z + 0.01;
if (izno > 100) izno = 100; // Not in GHESIG
@@ -1536,7 +1536,7 @@ G4HadronCrossSections::GetFissionCrossSection(
G4double z43ba;
if (j == 4) {
z43ba = pow(z, 4./3.)/a;
z43ba = max(-67. + 38.7*z43ba, 0.);
z43ba = G4std::max(-67. + 38.7*z43ba, 0.);
}
else {
z43ba = 1.;
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HadronElasticDataSet.cc,v 1.1.10.1 1999/12/07 20:51:29 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4 Physics class: HadronElasticDataSet for cross sections
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HadronFissionDataSet.cc,v 1.1.10.1 1999/12/07 20:51:29 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4 Physics class: HadronFissionDataSet for cross sections
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HadronInelasticDataSet.cc,v 1.1.10.1 1999/12/07 20:51:30 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4 Physics class: HadronInelasticDataSet for cross sections
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VCrossSectionDataSet.cc,v 1.1.10.1 1999/12/07 20:51:30 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// GEANT4 physics abstract class: G4VCrossSectionDataSet