Import Geant4 9.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:37:50 +02:00
parent a8e9364cea
commit 96c8bcd0af
6923 changed files with 198390 additions and 41849 deletions
@@ -25,7 +25,7 @@
//
//
// $Id: G4LowEIonFragmentation.hh,v 1.3 2006/06/29 20:58:04 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by H.P. Wellisch
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundAlpha.hh,v 1.3 2006/06/29 20:58:06 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundAlpha.hh,v 1.6 2007/10/01 10:41:59 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -78,6 +78,18 @@ public:
}
private:
// added Rj method according to literature and JMQ
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
G4double denominator = NumberParticles*(NumberParticles-1)*(NumberParticles-2)*(NumberParticles-3);
if(denominator !=0) rj = 6.0*static_cast<G4double>(NumberCharged*(NumberCharged-1)*(NumberParticles-NumberCharged)*(NumberParticles-NumberCharged-1))/static_cast<G4double>(denominator); //JMQ 23/8/07
return rj;
}
virtual G4double GetAlpha()
{
G4double C = 0.0;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundDeuteron.hh,v 1.3 2006/06/29 20:58:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundDeuteron.hh,v 1.7 2007/10/01 10:41:59 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -78,6 +78,20 @@ public:
}
private:
// added Rj method according to literature and JMQ - formula from Jose Quesada
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
G4double denominator = NumberParticles*(NumberParticles-1);
if(denominator != 0) rj = 2.0*static_cast<G4double>(NumberCharged*(NumberParticles-NumberCharged))/static_cast<G4double>(denominator); //JMQ re-corrected 23/8/07
// return static_cast<G4double>(NumberCharged*(NumberCharged-1))/static_cast<G4double>(NumberParticles*(NumberParticles-1));
return rj;
}
virtual G4double GetAlpha()
{
G4double C = 0.0;
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4PreCompoundEmission.hh,v 1.3 2006/06/29 20:58:10 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// Hadronic Process: Nuclear Preequilibrium
// by V. Lara
@@ -25,7 +25,7 @@
//
//
// $Id: G4PreCompoundFragmentVector.hh,v 1.3 2006/06/29 20:58:18 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// Hadronic Process: Nuclear Preequilibrium
// by V. Lara
@@ -25,7 +25,7 @@
//
//
// $Id: G4PreCompoundFragmentVector.icc,v 1.3 2006/06/29 20:58:20 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// Hadronic Process: Nuclear Preequilibrium
// by V. Lara
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundHe3.hh,v 1.3 2006/06/29 20:58:22 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundHe3.hh,v 1.6 2007/10/01 10:42:00 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -78,6 +78,19 @@ public:
}
private:
// added Rj method according to literature and JMQ
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
G4double denominator = NumberParticles*(NumberParticles-1)*(NumberParticles-2);
if(denominator != 0) rj = 3.0*static_cast<G4double>(NumberCharged*(NumberCharged-1)*(NumberParticles-NumberCharged))/static_cast<G4double>(denominator); //JMQ 23/8/07
return rj;
}
virtual G4double GetAlpha()
{
G4double C = 0.0;
@@ -82,6 +82,7 @@ protected:
virtual G4double GetAlpha() = 0;
virtual G4double GetBeta() = 0;
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) = 0;
virtual G4double FactorialFactor(const G4double N, const G4double P) = 0;
virtual G4double CoalescenceFactor(const G4double A) = 0;
@@ -25,7 +25,7 @@
//
//
// $Id: G4PreCompoundModel.hh,v 1.3 2006/06/29 20:58:26 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundNeutron.hh,v 1.4 2006/06/29 20:58:28 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundNeutron.hh,v 1.7 2007/10/01 10:42:00 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -80,6 +80,16 @@ public:
}
private:
// added Rj method according to literature and JMQ - formula from Jose Quesada
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
if(NumberParticles != 0) rj = static_cast<G4double>(NumberParticles - NumberCharged)/static_cast<G4double>(NumberParticles);
return rj;
}
virtual G4double GetAlpha()
{
return 0.76+2.2/std::pow(GetRestA(),1.0/3.0);
@@ -75,6 +75,8 @@ public:
protected:
// added Rj method according to literature and JMQ
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) = 0;
virtual G4double GetAlpha() = 0;
virtual G4double GetBeta() = 0;
virtual G4bool IsItPossible(const G4Fragment&) = 0;
@@ -25,7 +25,7 @@
//
//
// $Id: G4PreCompoundParameters.hh,v 1.3 2006/06/29 20:58:32 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundProton.hh,v 1.3 2006/06/29 20:58:34 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundProton.hh,v 1.7 2007/10/01 10:42:00 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -80,6 +80,16 @@ public:
}
private:
// added Rj method according to literature and JMQ - formula from Jose Quesada
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
if(NumberParticles != 0) rj = static_cast<G4double>(NumberCharged)/static_cast<G4double>(NumberParticles);
return rj;
}
virtual G4double GetAlpha()
{
G4double aZ = static_cast<G4double>(GetRestZ());
@@ -25,7 +25,7 @@
//
//
// $Id: G4PreCompoundTransitions.hh,v 1.3 2006/06/29 20:58:36 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4PreCompoundTriton.hh,v 1.3 2006/06/29 20:58:38 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4PreCompoundTriton.hh,v 1.6 2007/10/01 10:42:00 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -78,6 +78,17 @@ public:
}
private:
// added Rj method according to literature and JMQ
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged)
{
G4double rj = 1.0;
G4double denominator = NumberParticles*(NumberParticles-1)*(NumberParticles-2);
if(denominator != 0) rj = 3.0*static_cast<G4double>(NumberCharged*(NumberParticles-NumberCharged)*(NumberParticles-NumberCharged-1))/static_cast<G4double>(denominator); //JMQ 23/8/07
return rj;
}
virtual G4double GetAlpha()
{
G4double C = 0.0;
@@ -25,7 +25,7 @@
//
//
// $Id: G4VPreCompoundFragment.hh,v 1.4 2006/08/20 01:07:28 dennis Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -25,7 +25,7 @@
//
//
// $Id: G4VPreCompoundFragment.icc,v 1.4 2006/08/20 01:07:40 dennis Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundIon.hh,v 1.3 2006/06/29 20:58:46 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4VPreCompoundIon.hh,v 1.5 2007/08/23 16:29:01 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -83,6 +83,7 @@ protected:
virtual G4double GetAlpha() = 0;
virtual G4double GetBeta() = 0;
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) = 0;
virtual G4double FactorialFactor(const G4double N, const G4double P) = 0;
virtual G4double CoalescenceFactor(const G4double A) = 0;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundNucleon.hh,v 1.3 2006/06/29 20:58:48 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4VPreCompoundNucleon.hh,v 1.4 2007/07/23 09:56:40 ahoward Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// by V. Lara
@@ -75,6 +75,9 @@ public:
protected:
// added Rj method according to literature and JMQ
virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) = 0;
virtual G4double GetAlpha() = 0;
virtual G4double GetBeta() = 0;
virtual G4bool IsItPossible(const G4Fragment&) = 0;