Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -57,8 +57,8 @@ public:
private:
G4int _Z;
G4int _A;
G4int _nucleusZ;
G4int _nucleusA;
G4NuclearLevelManager _levelManager;
@@ -21,6 +21,9 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added creation time evaluation for products of evaporation
//
// -------------------------------------------------------------------
//
// Header file for G4ContinuumGammaTransition
@@ -40,23 +43,28 @@ public:
// Constructor
G4ContinuumGammaTransition(const G4NuclearLevelManager& levelManager,
G4int Z, G4int A, G4double excitation, G4int verbose);
G4int Z, G4int A, G4double excitation,
G4int verbose);
// Destructor
~G4ContinuumGammaTransition();
// Functions
virtual G4double GammaEnergy();
virtual G4double GetEnergyTo() const;
//-- virtual G4double GammaEnergy();
//-- virtual G4double GetEnergyTo() const;
virtual void SetEnergyFrom(const G4double energy);
virtual G4double GetGammaEnergy();
virtual G4double GetGammaCreationTime();
virtual void SelectGamma();
private:
G4double E1Pdf(G4double energy);
G4double GammaTime();
G4int _A;
G4int _Z;
G4int _nucleusA;
G4int _nucleusZ;
G4double _eMin;
G4double _eMax;
G4double _maxLevelE;
@@ -64,6 +72,7 @@ private:
G4double _excitation;
G4double _eGamma;
G4NuclearLevelManager _levelManager;
G4double _gammaCreationTime;
};
@@ -52,8 +52,8 @@ public:
virtual G4bool CanDoTransition() const;
private:
G4int _Z;
G4int _A;
G4int _nucleusZ;
G4int _nucleusA;
G4double _tolerance;
G4NuclearLevelManager _levelManager;
};
@@ -20,6 +20,9 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added creation time evaluation for products of evaporation
//
// -------------------------------------------------------------------
#ifndef G4DiscreteGammaTransition_hh
@@ -43,14 +46,18 @@ public:
public:
virtual G4double GammaEnergy();
virtual G4double GetEnergyTo() const;
//-- virtual G4double GammaEnergy();
//-- virtual G4double GetEnergyTo() const;
virtual void SetEnergyFrom(const G4double energy);
virtual G4double GetGammaEnergy();
virtual G4double GetGammaCreationTime();
virtual void SelectGamma();
private:
G4double _gammaEnergy;
G4NuclearLevel _level;
G4double _excitation;
G4double _gammaCreationTime;
};
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DummyMF.hh,v 1.1 1998/08/22 08:53:34 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4DummyMF.hh,v 1.1 1999/01/07 16:11:39 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (May 1998)
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitationHandler.hh,v 1.6 1998/12/12 12:34:57 larazb Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitationHandler.hh,v 1.2 1999/04/12 15:45:24 hpw Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (May 1998)
@@ -29,7 +29,8 @@
#include "G4VPhotonEvaporation.hh"
#include "G4Fragment.hh"
#include "G4DynamicParticle.hh"
#include "G4DynamicParticleVector.hh"
#include "G4ReactionProductVector.hh"
#include "G4ReactionProduct.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
// needed for default models
@@ -54,7 +55,7 @@ private:
public:
G4DynamicParticleVector * BreakItUp(const G4Fragment &theInitialState) const;
G4ReactionProductVector * BreakItUp(const G4Fragment &theInitialState) const;
void SetEvaporation(G4VEvaporation *const value);
@@ -71,7 +72,7 @@ public:
private:
G4DynamicParticleVector * Transform(G4FragmentVector * theFragmentVector) const;
G4ReactionProductVector * Transform(G4FragmentVector * theFragmentVector) const;
const G4VEvaporation * GetEvaporation() const;
@@ -69,6 +69,8 @@ private:
// Kappa = V/V_0 it is used in calculation of Coulomb energy
static const G4double Kappa;
// Nuclear radius r0 (is a model parameter)
static const G4double r0;
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4FissionBarrier.hh,v 1.1 1998/10/15 07:52:46 larazb Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4FissionBarrier.hh,v 1.1 1999/01/07 16:11:43 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Oct 1998)
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4MultiFragmentation.hh,v 1.1 1998/08/22 08:53:36 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4MultiFragmentation.hh,v 1.1 1999/01/07 16:11:44 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (May 1998)
@@ -20,6 +20,10 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added half-life, angular momentum, parity, emissioni type
// reading from experimental data.
//
// -------------------------------------------------------------------
#ifndef G4NUCLEARLEVEL_HH
@@ -34,7 +38,9 @@ class G4NuclearLevel
public:
G4NuclearLevel(const G4double energy, const G4DataVector& eGamma, const G4DataVector& wGamma);
G4NuclearLevel(const G4double energy, const G4double halfLife,
const G4double angularMomentum, const G4DataVector& eGamma,
const G4DataVector& wGamma, const G4DataVector& polarities);
G4NuclearLevel() {};
~G4NuclearLevel();
@@ -47,8 +53,14 @@ public:
const G4DataVector& GammaCumulativeProbabilities() const;
const G4DataVector& GammaPolarities() const;
G4double Energy() const;
G4double AngularMomentum() const;
G4double HalfLife() const;
G4int NumberOfGammas() const;
void PrintAll() const;
@@ -71,7 +83,10 @@ private:
G4DataVector _weights;
G4DataVector _prob;
G4DataVector _cumProb;
G4DataVector _polarities;
G4double _energy;
G4double _halfLife;
G4double _angularMomentum;
G4int _nGammas;
};
@@ -20,6 +20,10 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added half-life, angular momentum, parity, emissioni type
// reading from experimental data.
//
// -------------------------------------------------------------------
#ifndef G4NUCLEARLEVELMANAGER_HH
@@ -73,14 +77,16 @@ private:
void MakeLevels();
G4int _A;
G4int _Z;
G4int _nucleusA;
G4int _nucleusZ;
G4PtrLevelVector* _levels;
G4double _levelEnergy;
G4double _gammaEnergy;
G4double _probability;
G4double _polarity;
G4double _halfLife;
G4double _angularMomentum;
};
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VFissionBarrier.hh,v 1.2 1998/11/13 17:38:59 larazb Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4VFissionBarrier.hh,v 1.1 1999/01/07 16:11:48 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
// Hadronic Process: Nuclear De-excitations
// by V. Lara (Oct 1998)
@@ -20,6 +20,9 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added creation time evaluation for products of evaporation
//
// -------------------------------------------------------------------
#ifndef G4VGAMMADEEXCITATION_HH
@@ -61,7 +64,7 @@ protected:
void Initialize();
void UpdateNucleus(const G4Fragment* gamma);
void Update(const G4Fragment* gamma);
void Update();
G4VGammaTransition* _transition; // Owned pointer
G4int _verbose;
@@ -20,6 +20,9 @@
//
// Modifications:
//
// 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
// Added creation time evaluation for products of evaporation
//
// -------------------------------------------------------------------
#ifndef G4VGAMMATRANSITION_HH
@@ -35,9 +38,13 @@ public:
virtual ~G4VGammaTransition() {};
virtual G4double GammaEnergy() = 0;
virtual void SelectGamma() = 0;
virtual G4double GetGammaEnergy() = 0;
virtual G4double GetGammaCreationTime() = 0;
virtual G4double GetEnergyTo() const = 0;
//-- virtual G4double GammaEnergy() = 0;
//-- virtual G4double GetEnergyTo() const = 0;
virtual void SetEnergyFrom(const G4double energy) = 0;