Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:53 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiKaonZeroInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -220,8 +220,8 @@ G4HEAntiKaonZeroInelastic::FirstIntInCasAntiKaonZero( G4bool &inElastic,
|
||||
G4int antiKaonZeroCode = AntiKaonZero.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:54 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiLambdaInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -215,12 +215,12 @@ G4HEAntiLambdaInelastic::FirstIntInCasAntiLambda( G4bool &inElastic,
|
||||
static const G4int numMulAn = 400;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:54 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiNeutronInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -219,8 +219,8 @@ void
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:54 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiOmegaMinusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -211,12 +211,12 @@ G4HEAntiOmegaMinusInelastic::FirstIntInCasAntiOmegaMinus( G4bool &inElastic,
|
||||
static const G4int numMulAn = 400;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:54 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiProtonInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -219,8 +219,8 @@ G4HEAntiProtonInelastic::FirstIntInCasAntiProton( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:55 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiSigmaMinusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -218,8 +218,8 @@ G4HEAntiSigmaMinusInelastic::FirstIntInCasAntiSigmaMinus( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:55 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiSigmaPlusInelastic.cc,v 1.7 2001/10/05 16:10:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double atomicWeight = targetNucleus.GetN();
|
||||
const G4double atomicNumber = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -215,12 +215,12 @@ G4HEAntiSigmaPlusInelastic::FirstIntInCasAntiSigmaPlus( G4bool &inElastic,
|
||||
static const G4int numMulAn = 400;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:55 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiSigmaZeroInelastic.cc,v 1.6 2001/08/01 17:09:53 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:55 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiXiMinusInelastic.cc,v 1.7 2001/10/05 16:10:40 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -214,12 +214,12 @@ G4HEAntiXiMinusInelastic::FirstIntInCasAntiXiMinus( G4bool &inElastic,
|
||||
static const G4int numMulAn = 400;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:55 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEAntiXiZeroInelastic.cc,v 1.7 2001/10/05 16:10:40 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -215,12 +215,12 @@ G4HEAntiXiZeroInelastic::FirstIntInCasAntiXiZero( G4bool &inElastic,
|
||||
static const G4int numMulAn = 400;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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. *
|
||||
@@ -366,7 +366,6 @@ G4HEInelastic::StrangeParticlePairProduction(
|
||||
G4int antilambdaCode = AntiLambda.getCode();
|
||||
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
@@ -633,14 +632,11 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
|
||||
G4String mesonType = PionPlus.getType();
|
||||
G4String baryonType = Proton.getType();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4double targetCharge = targetParticle.getCharge();
|
||||
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentKineticEnergy = incidentParticle.getKineticEnergy();
|
||||
G4String incidentType = incidentParticle.getType();
|
||||
@@ -649,7 +645,7 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
|
||||
|
||||
// some local variables
|
||||
|
||||
G4int i, j, k, l;
|
||||
G4int i, j, l;
|
||||
|
||||
if (verboseLevel > 1) G4cout << " G4HEInelastic::HighEnergyCascading " << G4endl;
|
||||
successful = false;
|
||||
@@ -766,7 +762,7 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
|
||||
|
||||
G4double centerOfMassEnergy = sqrt( sqr(incidentMass)+sqr(targetMass)
|
||||
+2.0*targetMass*incidentEnergy );
|
||||
G4double availableEnergy = centerOfMassEnergy - ( targetMass + incidentMass );
|
||||
// G4double availableEnergy = centerOfMassEnergy - ( targetMass + incidentMass );
|
||||
|
||||
G4double tavai1 = centerOfMassEnergy/2.0 - incidentMass;
|
||||
G4double tavai2 = centerOfMassEnergy/2.0 - targetMass;
|
||||
@@ -1589,7 +1585,7 @@ G4HEInelastic::HighEnergyCascading(G4bool &successful,
|
||||
if( atomicWeight > 1.5 && G4UniformRand() > sprob )
|
||||
{
|
||||
|
||||
G4double ekw, tex, cost, sint, pp, eka, etb;
|
||||
G4double cost, sint, pp, eka;
|
||||
G4int spall, nbl;
|
||||
// first add protons and neutrons
|
||||
|
||||
@@ -1798,7 +1794,6 @@ G4HEInelastic::TuningOfHighEnergyCascading( G4HEVector pv[],
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4int pionPlusCode = PionPlus.getCode();
|
||||
G4int pionMinusCode = PionMinus.getCode();
|
||||
@@ -2128,28 +2123,18 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
|
||||
G4int protonCode = Proton.getCode();
|
||||
G4double protonMass = Proton.getMass();
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
G4double neutronMass = Neutron.getMass();
|
||||
G4double kaonPlusMass = KaonPlus.getMass();
|
||||
G4int kaonPlusCode = KaonPlus.getCode();
|
||||
G4int kaonMinusCode = KaonMinus.getCode();
|
||||
G4int kaonZeroSCode = KaonZeroShort.getCode();
|
||||
G4int kaonZeroLCode = KaonZeroLong.getCode();
|
||||
G4int kaonZeroCode = KaonZero.getCode();
|
||||
G4int antiKaonZeroCode = AntiKaonZero.getCode();
|
||||
G4int pionPlusCode = PionPlus.getCode();
|
||||
G4int pionZeroCode = PionZero.getCode();
|
||||
G4int pionMinusCode = PionMinus.getCode();
|
||||
G4String mesonType = PionPlus.getType();
|
||||
G4String baryonType = Proton.getType();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4double targetCharge = targetParticle.getCharge();
|
||||
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentKineticEnergy = incidentParticle.getKineticEnergy();
|
||||
G4String incidentType = incidentParticle.getType();
|
||||
@@ -2158,7 +2143,7 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
|
||||
|
||||
// some local variables
|
||||
|
||||
G4int i, j, k, l;
|
||||
G4int i, j;
|
||||
|
||||
if(verboseLevel > 1) G4cout << " G4HEInelastic::HighEnergyClusterProduction " << G4endl;
|
||||
|
||||
@@ -2267,7 +2252,6 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
|
||||
xpnhmf *= xhmf/rpnhmf;
|
||||
}
|
||||
npnhmf = Poisson( xpnhmf );
|
||||
G4int ntarg = nshhmf + npnhmf;
|
||||
|
||||
while (npnhmf > 0)
|
||||
{
|
||||
@@ -2826,7 +2810,7 @@ G4HEInelastic::HighEnergyClusterProduction(G4bool &successful,
|
||||
if( atomicWeight > 1.5 && G4UniformRand() > sprob)
|
||||
{
|
||||
|
||||
G4double ekw, tex, cost, sint, ekin2, ran, pp, eka;
|
||||
G4double cost, sint, ekin2, ran, pp, eka;
|
||||
G4int spall, nbl;
|
||||
// first add protons and neutrons
|
||||
|
||||
@@ -3019,7 +3003,6 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
G4int protonCode = Proton.getCode();
|
||||
G4double protonMass = Proton.getMass();
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
G4double neutronMass = Neutron.getMass();
|
||||
G4double kaonPlusMass = KaonPlus.getMass();
|
||||
G4int kaonPlusCode = KaonPlus.getCode();
|
||||
G4int kaonMinusCode = KaonMinus.getCode();
|
||||
@@ -3033,14 +3016,11 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
G4String mesonType = PionPlus.getType();
|
||||
G4String baryonType = Proton.getType();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4double targetCharge = targetParticle.getCharge();
|
||||
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentKineticEnergy = incidentParticle.getKineticEnergy();
|
||||
G4String incidentType = incidentParticle.getType();
|
||||
@@ -3049,7 +3029,7 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
|
||||
// some local variables
|
||||
|
||||
G4int i, j, k, l;
|
||||
G4int i, j, l;
|
||||
|
||||
if(verboseLevel > 1) G4cout << " G4HEInelastic::MediumEnergyCascading " << G4endl;
|
||||
|
||||
@@ -3164,7 +3144,7 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
|
||||
G4double centerOfMassEnergy = sqrt( sqr(incidentMass)+sqr(targetMass)
|
||||
+2.0*targetMass*incidentEnergy );
|
||||
G4double availableEnergy = centerOfMassEnergy - ( targetMass + incidentMass );
|
||||
// G4double availableEnergy = centerOfMassEnergy - ( targetMass + incidentMass );
|
||||
|
||||
G4double tavai1 = centerOfMassEnergy/2.0 - incidentMass;
|
||||
G4double tavai2 = centerOfMassEnergy/2.0 - targetMass;
|
||||
@@ -3662,7 +3642,6 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
|
||||
|
||||
G4HEVector* tempV = new G4HEVector[18];
|
||||
G4double totalMass = 0.0;
|
||||
npg = 0;
|
||||
for( i=0; i < vecLen; i++ )
|
||||
{
|
||||
@@ -3906,7 +3885,7 @@ G4HEInelastic::MediumEnergyCascading(G4bool &successful,
|
||||
if( atomicWeight > 1.5 )
|
||||
{
|
||||
|
||||
G4double ekw, tex, sprob, cost, sint, pp, eka, etb;
|
||||
G4double sprob, cost, sint, pp, eka;
|
||||
G4int spall, nbl;
|
||||
// sprob is the probability of self-absorption in heavy molecules
|
||||
|
||||
@@ -4099,28 +4078,18 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
|
||||
G4int protonCode = Proton.getCode();
|
||||
G4double protonMass = Proton.getMass();
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
G4double neutronMass = Neutron.getMass();
|
||||
G4double kaonPlusMass = KaonPlus.getMass();
|
||||
G4int kaonPlusCode = KaonPlus.getCode();
|
||||
G4int kaonMinusCode = KaonMinus.getCode();
|
||||
G4int kaonZeroSCode = KaonZeroShort.getCode();
|
||||
G4int kaonZeroLCode = KaonZeroLong.getCode();
|
||||
G4int kaonZeroCode = KaonZero.getCode();
|
||||
G4int antiKaonZeroCode = AntiKaonZero.getCode();
|
||||
G4int pionPlusCode = PionPlus.getCode();
|
||||
G4int pionZeroCode = PionZero.getCode();
|
||||
G4int pionMinusCode = PionMinus.getCode();
|
||||
G4String mesonType = PionPlus.getType();
|
||||
G4String baryonType = Proton.getType();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4double targetCharge = targetParticle.getCharge();
|
||||
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentKineticEnergy = incidentParticle.getKineticEnergy();
|
||||
G4String incidentType = incidentParticle.getType();
|
||||
@@ -4129,7 +4098,7 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
|
||||
|
||||
// some local variables
|
||||
|
||||
G4int i, j, k, l;
|
||||
G4int i, j;
|
||||
|
||||
if(verboseLevel > 1) G4cout << " G4HEInelastic::MediumEnergyClusterProduction " << G4endl;
|
||||
|
||||
@@ -4763,7 +4732,7 @@ G4HEInelastic::MediumEnergyClusterProduction(G4bool &successful,
|
||||
if( atomicWeight > 1.5 )
|
||||
{
|
||||
|
||||
G4double ekw, tex, sprob, cost, sint, ekin2, ran, pp, eka;
|
||||
G4double sprob, cost, sint, ekin2, ran, pp, eka;
|
||||
G4int spall, nbl;
|
||||
// sprob is the probability of self-absorption in heavy molecules
|
||||
|
||||
@@ -4952,30 +4921,13 @@ G4HEInelastic::QuasiElasticScattering(G4bool &successful,
|
||||
// All quantities on the G4HEVector Array pv are in GeV- units.
|
||||
|
||||
G4int protonCode = Proton.getCode();
|
||||
G4double protonMass = Proton.getMass();
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
G4double neutronMass = Neutron.getMass();
|
||||
G4double kaonPlusMass = KaonPlus.getMass();
|
||||
G4int kaonPlusCode = KaonPlus.getCode();
|
||||
G4int kaonMinusCode = KaonMinus.getCode();
|
||||
G4int kaonZeroSCode = KaonZeroShort.getCode();
|
||||
G4int kaonZeroLCode = KaonZeroLong.getCode();
|
||||
G4int kaonZeroCode = KaonZero.getCode();
|
||||
G4int antiKaonZeroCode = AntiKaonZero.getCode();
|
||||
G4int pionPlusCode = PionPlus.getCode();
|
||||
G4int pionZeroCode = PionZero.getCode();
|
||||
G4int pionMinusCode = PionMinus.getCode();
|
||||
G4String mesonType = PionPlus.getType();
|
||||
G4String baryonType = Proton.getType();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double targetMass = targetParticle.getMass();
|
||||
G4double targetCharge = targetParticle.getCharge();
|
||||
|
||||
G4int incidentCode = incidentParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
G4double incidentCharge = incidentParticle.getCharge();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentKineticEnergy = incidentParticle.getKineticEnergy();
|
||||
G4String incidentType = incidentParticle.getType();
|
||||
@@ -5086,7 +5038,7 @@ G4HEInelastic::QuasiElasticScattering(G4bool &successful,
|
||||
if( atomicWeight > 1.5 )
|
||||
{
|
||||
|
||||
G4double ekw, tex, sprob, cost, sint, ekin2, ran, pp, eka;
|
||||
G4double sprob, cost, sint, ekin2, ran, pp, eka;
|
||||
G4double ekin, cfa, ekin1, phi, pvMass, pvEnergy;
|
||||
G4int spall, nbl;
|
||||
// sprob is the probability of self-absorption in heavy molecules
|
||||
@@ -5302,7 +5254,7 @@ G4HEInelastic::ElasticScattering(G4bool &successful,
|
||||
}
|
||||
G4double eps = 0.001;
|
||||
G4int ind1 = 10;
|
||||
G4double t, val;
|
||||
G4double t;
|
||||
G4int ier1;
|
||||
ier1 = rtmi(&t, t1, t2, eps, ind1, aa, bb, cc, dd, rr);
|
||||
if (verboseLevel > 1)
|
||||
@@ -5709,9 +5661,9 @@ G4HEInelastic::NBodyPhaseSpace(G4int npart, G4HEVector pv[],
|
||||
G4double rm1 = pvcms.getMass() - rm;
|
||||
rm -= pv[2].getMass();
|
||||
wps = (npart-3)*pow(rm1/sqr(M_2PI), npart-4)/(4*M_PI*pvcms.getMass());
|
||||
for (i=3; i=npart-1;i++) wps /= i-2;
|
||||
for (i=3; (i=npart-1);i++) wps /= i-2; // @@@@@@@@@@ bug @@@@@@@@@
|
||||
G4double xxx = rm1/sqr(M_2PI);
|
||||
for (i=1; i=npart-4; i++) wps /= xxx/i;
|
||||
for (i=1; (i=npart-4); i++) wps /= xxx/i; // @@@@@@@@@@ bug @@@@@@@@@
|
||||
wps /= (4*M_PI*pvcms.getMass());
|
||||
G4double p2,cost,sint,phi;
|
||||
j = 1;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEKaonMinusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -224,8 +224,8 @@ void
|
||||
G4int antiKaonZeroCode = AntiKaonZero.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEKaonPlusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -223,8 +223,8 @@ G4HEKaonPlusInelastic::FirstIntInCasKaonPlus( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEKaonZeroInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -221,8 +221,8 @@ G4HEKaonZeroInelastic::FirstIntInCasKaonZero( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEKaonZeroLongInelastic.cc,v 1.6 2001/08/01 17:10:04 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEKaonZeroShortInelastic.cc,v 1.6 2001/08/01 17:10:05 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HELambdaInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -217,12 +217,12 @@ G4HELambdaInelastic::FirstIntInCasLambda( G4bool &inElastic,
|
||||
static const G4int numMul = 1200;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HENeutronInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -221,8 +221,8 @@ G4HENeutronInelastic::FirstIntInCasNeutron( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEOmegaMinusInelastic.cc,v 1.7 2001/10/05 16:10:41 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -217,12 +217,12 @@ G4HEOmegaMinusInelastic::FirstIntInCasOmegaMinus( G4bool &inElastic,
|
||||
static const G4int numMul = 1200;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEPionMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -216,12 +216,12 @@ G4HEPionMinusInelastic::FirstIntInCasPionMinus( G4bool &inElastic,
|
||||
static const G4int numMul = 1200;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.5.2.1 2001/06/28 19:13:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEPionPlusInelastic.cc,v 1.8 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -223,8 +223,8 @@ G4HEPionPlusInelastic::FirstIntInCasPionPlus( G4bool &inElastic,
|
||||
G4double pionMass = PionPlus.getMass();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEPlot.cc,v 1.6 2001/08/01 17:10:09 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEProtonInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -226,8 +226,8 @@ G4HEProtonInelastic::FirstIntInCasProton( G4bool &inElastic,
|
||||
G4double pionMass = PionPlus.getMass();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HESigmaMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -221,8 +221,8 @@ G4HESigmaMinusInelastic::FirstIntInCasSigmaMinus( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HESigmaPlusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -217,12 +217,12 @@ G4HESigmaPlusInelastic::FirstIntInCasSigmaPlus( G4bool &inElastic,
|
||||
static const G4int numMul = 1200;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HESigmaZeroInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -48,7 +48,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
|
||||
G4HELambdaInelastic theLambdaInelastic;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.7.2.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEVector.cc,v 1.10 2001/10/04 20:00:34 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:13:59 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEXiMinusInelastic.cc,v 1.7 2001/10/05 16:10:42 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -221,8 +221,8 @@ G4HEXiMinusInelastic::FirstIntInCasXiMinus( G4bool &inElastic,
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.4.4.1 2001/06/28 19:14:00 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4HEXiZeroInelastic.cc,v 1.7 2001/10/05 16:10:43 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
|
||||
G4HEVector * pv = new G4HEVector[MAXPART];
|
||||
theParticleChange.Initialize( aTrack );
|
||||
const G4DynamicParticle *aParticle = aTrack.GetDynamicParticle();
|
||||
G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
// G4DynamicParticle *originalTarget = targetNucleus.ReturnTargetParticle();
|
||||
const G4double A = targetNucleus.GetN();
|
||||
const G4double Z = targetNucleus.GetZ();
|
||||
G4HEVector incidentParticle(aParticle);
|
||||
@@ -217,12 +217,12 @@ G4HEXiZeroInelastic::FirstIntInCasXiZero( G4bool &inElastic,
|
||||
static const G4int numMul = 1200;
|
||||
static const G4int numSec = 60;
|
||||
|
||||
G4int neutronCode = Neutron.getCode();
|
||||
// G4int neutronCode = Neutron.getCode();
|
||||
G4int protonCode = Proton.getCode();
|
||||
|
||||
G4int targetCode = targetParticle.getCode();
|
||||
G4double incidentMass = incidentParticle.getMass();
|
||||
G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
// G4double incidentMass = incidentParticle.getMass();
|
||||
// G4double incidentEnergy = incidentParticle.getEnergy();
|
||||
G4double incidentTotalMomentum = incidentParticle.getTotalMomentum();
|
||||
|
||||
static G4bool first = true;
|
||||
|
||||
Reference in New Issue
Block a user