Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiKaonZeroInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiKaonZeroInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiLambdaInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiLambdaInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiNeutronInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiNeutronInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiOmegaMinusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiOmegaMinusInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiProtonInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiProtonInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaMinusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiSigmaMinusInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaPlusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiSigmaPlusInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiSigmaZeroInelastic.cc,v 1.6 2001/08/01 17:09:53 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiSigmaZeroInelastic.cc,v 1.7 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiXiMinusInelastic.cc,v 1.7 2001/10/05 16:10:40 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiXiMinusInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEAntiXiZeroInelastic.cc,v 1.7 2001/10/05 16:10:40 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEAntiXiZeroInelastic.cc,v 1.8 2002/12/12 19:18:00 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -631,7 +631,8 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
G4int pionMinusCode = PionMinus.getCode();
G4String mesonType = PionPlus.getType();
G4String baryonType = Proton.getType();
G4String antiBaryonType= AntiProton.getType();
G4double targetMass = targetParticle.getMass();
G4int incidentCode = incidentParticle.getCode();
@@ -654,9 +655,9 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
// define annihilation channels.
G4bool annihilation = false;
if (incidentCode < 0 && incidentType == baryonType &&
pv[0].getType() != baryonType &&
pv[1].getType() != baryonType )
if (incidentCode < 0 && incidentType == antiBaryonType &&
pv[0].getType() != antiBaryonType &&
pv[1].getType() != antiBaryonType )
{
annihilation = true;
}
@@ -1103,7 +1104,7 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
if ( pv[i].getMass() < 0.4 ) j = 0;
if ( i <= 1 ) j += 3;
if (pv[i].getSide() <= -2) j = 6;
if (j == 6 && pv[i].getType() == baryonType) j = 7;
if (j == 6 && (pv[i].getType() == baryonType || pv[i].getType() == antiBaryonType)) j = 7;
pt = sqrt(pow(-log(1.-G4UniformRand())/bp[j],ptex[j]));
if(pt<0.05) pt = Amax(0.001, 0.3*G4UniformRand());
aspar = maspar[j];
@@ -1355,6 +1356,7 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
for( i=0; i < vecLen; i++ )
{
if( pv[i].getType() == baryonType )targ++;
if( pv[i].getType() == antiBaryonType )targ--;
if(verboseLevel > 1) pv[i].Print(i);
pv[i].Lor( pv[i], pvmx[1] );
if(verboseLevel > 1) pv[i].Print(i);
@@ -1376,8 +1378,10 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
{
i = 0;
if( ( (leadParticle.getType() == baryonType)
&& (pv[1].getType() == baryonType))
if( ( (leadParticle.getType() == baryonType ||
leadParticle.getType() == antiBaryonType)
&& (pv[1].getType() == baryonType ||
pv[1].getType() == antiBaryonType))
|| ( (leadParticle.getType() == mesonType)
&& (pv[1].getType() == mesonType)))
{
@@ -2056,7 +2060,7 @@ G4HEInelastic::TuningOfHighEnergyCascading( G4HEVector pv[],
pvmx[8].Add3(pvmx[8], pv[i] );
}
if (ledpar >= 0)
if(false) if (ledpar >= 0)
{
if(verboseLevel > 1)
{
@@ -2130,7 +2134,8 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
G4int pionMinusCode = PionMinus.getCode();
G4String mesonType = PionPlus.getType();
G4String baryonType = Proton.getType();
G4String antiBaryonType= AntiProton.getType();
G4double targetMass = targetParticle.getMass();
G4int incidentCode = incidentParticle.getCode();
@@ -2580,6 +2585,7 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
for( i=0; i < vecLen; i++ )
{
if( pv[i].getType() == baryonType )targ++;
if( pv[i].getType() == antiBaryonType )targ--;
pv[i].Lor( pv[i], pvmx[2] );
}
if (targ<1) targ = 1;
@@ -2607,8 +2613,10 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
{
i = 0;
if( ( (leadParticle.getType() == baryonType)
&& (pv[1].getType() == baryonType))
if( ( (leadParticle.getType() == baryonType ||
leadParticle.getType() == antiBaryonType)
&& (pv[1].getType() == baryonType ||
pv[1].getType() == antiBaryonType))
|| ( (leadParticle.getType() == mesonType)
&& (pv[1].getType() == mesonType)))
{
@@ -3016,7 +3024,8 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
G4int pionMinusCode = PionMinus.getCode();
G4String mesonType = PionPlus.getType();
G4String baryonType = Proton.getType();
G4String antiBaryonType= AntiProton.getType();
G4double targetMass = targetParticle.getMass();
G4int incidentCode = incidentParticle.getCode();
@@ -3037,9 +3046,9 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
// define annihilation channels.
G4bool annihilation = false;
if (incidentCode < 0 && incidentType == baryonType &&
pv[0].getType() != baryonType &&
pv[1].getType() != baryonType )
if (incidentCode < 0 && incidentType == antiBaryonType &&
pv[0].getType() != antiBaryonType &&
pv[1].getType() != antiBaryonType )
{
annihilation = true;
}
@@ -3364,7 +3373,8 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
{ // leave the loop.
if( (pv[i].getSide() == -2) || (i == 1) )
{
if ( pv[i].getType() == baryonType)
if ( pv[i].getType() == baryonType ||
pv[i].getType() == antiBaryonType)
{
if( ++npg < 19 )
{
@@ -3390,7 +3400,7 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
if ( pv[i].getMass() < 0.4 ) j = 0;
if ( i <= 1 ) j += 3;
if (pv[i].getSide() <= -2) j = 6;
if (j == 6 && pv[i].getType() == baryonType) j = 7;
if (j == 6 && (pv[i].getType() == baryonType || pv[i].getType()==antiBaryonType) ) j = 7;
pt = Amax(0.001, sqrt(pow(-log(1.-G4UniformRand())/bp[j],ptex[j])));
aspar = maspar[j];
phi = G4UniformRand()*M_2PI;
@@ -3675,11 +3685,12 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
for( i=0; i < vecLen; i++ )
{
if( pv[i].getType() == baryonType )targ++;
if( pv[i].getType() == antiBaryonType )targ++;
pv[i].Lor( pv[i], pvmx[1] );
}
targ = Imax( 1, targ );
G4bool dum;
G4bool dum(0);
if( lead )
{
for( i=0; i<vecLen; i++ )
@@ -3694,8 +3705,10 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
{
i = 0;
if( ( (leadParticle.getType() == baryonType)
&& (pv[1].getType() == baryonType))
if( ( (leadParticle.getType() == baryonType ||
leadParticle.getType() == antiBaryonType)
&& (pv[1].getType() == baryonType ||
pv[1].getType() == antiBaryonType))
|| ( (leadParticle.getType() == mesonType)
&& (pv[1].getType() == mesonType)))
{
@@ -3888,7 +3901,7 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
{
G4double sprob, cost, sint, pp, eka;
G4int spall, nbl;
G4int spall(0), nbl(0);
// sprob is the probability of self-absorption in heavy molecules
if( incidentKineticEnergy < 5.0 )
@@ -4086,6 +4099,7 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
G4int pionMinusCode = PionMinus.getCode();
G4String mesonType = PionPlus.getType();
G4String baryonType = Proton.getType();
G4String antiBaryonType= AntiProton.getType();
G4double targetMass = targetParticle.getMass();
@@ -4515,6 +4529,7 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
for( i=0; i < vecLen; i++ )
{
if( pv[i].getType() == baryonType )targ++;
if( pv[i].getType() == antiBaryonType )targ++;
pv[i].Lor( pv[i], pvmx[2] );
}
if (targ <1) targ =1;
@@ -4542,8 +4557,10 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
{
i = 0;
if( ( (leadParticle.getType() == baryonType)
&& (pv[1].getType() == baryonType))
if( ( (leadParticle.getType() == baryonType ||
leadParticle.getType() == antiBaryonType)
&& (pv[1].getType() == baryonType ||
pv[1].getType() == antiBaryonType))
|| ( (leadParticle.getType() == mesonType)
&& (pv[1].getType() == mesonType)))
{
@@ -4925,6 +4942,7 @@ G4HEInelastic::QuasiElasticScattering(G4bool &successful,
G4int protonCode = Proton.getCode();
G4String mesonType = PionPlus.getType();
G4String baryonType = Proton.getType();
G4String antiBaryonType= AntiProton.getType();
G4double targetMass = targetParticle.getMass();
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEKaonMinusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEKaonMinusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEKaonPlusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEKaonPlusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEKaonZeroInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEKaonZeroInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEKaonZeroLongInelastic.cc,v 1.6 2001/08/01 17:10:04 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEKaonZeroLongInelastic.cc,v 1.7 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEKaonZeroShortInelastic.cc,v 1.6 2001/08/01 17:10:05 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEKaonZeroShortInelastic.cc,v 1.7 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HELambdaInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HELambdaInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HENeutronInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HENeutronInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEOmegaMinusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEOmegaMinusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEPionMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEPionMinusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEPionPlusInelastic.cc,v 1.8 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEPionPlusInelastic.cc,v 1.9 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEPlot.cc,v 1.6 2001/08/01 17:10:09 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEPlot.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -370,7 +370,7 @@ void
G4HEPlot::GetFromFile(G4int aPlot, G4String aName)
{
FILE* fz;
G4int ip, nb;
long int ip, nb;
G4double xs,xb,x,y;
if((fz = fopen(aName, "r")) != NULL)
{
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEProtonInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEProtonInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HESigmaMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HESigmaMinusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HESigmaPlusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HESigmaPlusInelastic.cc,v 1.8 2002/12/12 19:18:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HESigmaZeroInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HESigmaZeroInelastic.cc,v 1.8 2002/12/12 19:18:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEVector.cc,v 1.11 2002/06/18 07:38:11 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEVector.cc,v 1.13 2002/12/12 19:18:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -929,7 +929,7 @@ G4HEVector::setDefinition(G4String name)
mass = 0.9382723;
charge = -1.;
code = -2212;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 0;
@@ -949,7 +949,7 @@ G4HEVector::setDefinition(G4String name)
mass = 0.93956563;
charge = 0.;
code = -2112;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 0;
@@ -969,7 +969,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.115684;
charge = 0.;
code = -3122;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 1;
@@ -1009,7 +1009,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.18937;
charge = -1.;
code = -3222;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 1;
@@ -1019,7 +1019,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.19255;
charge = 0.;
code = -3212;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 1;
@@ -1029,7 +1029,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.19744;
charge = 1.;
code = -3112;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 1;
@@ -1059,7 +1059,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.3149;
charge = 0.;
code = -3322;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 2;
@@ -1069,7 +1069,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.32132;
charge = 1.;
code = -3312;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 2;
@@ -1089,7 +1089,7 @@ G4HEVector::setDefinition(G4String name)
mass = 1.67245;
charge = 1.;
code = -3334;
particleType = "Baryon";
particleType = "AntiBaryon";
particleName = name;
baryon = -1;
strangeness = 3;
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEXiMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEXiMinusInelastic.cc,v 1.8 2002/12/12 19:18:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4HEXiZeroInelastic.cc,v 1.7 2001/10/05 16:10:43 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4HEXiZeroInelastic.cc,v 1.8 2002/12/12 19:18:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//