Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -21,15 +21,19 @@
// ********************************************************************
//
//
// $Id: G4eplusAnnihilation.hh,v 1.4.2.1 2001/06/28 19:12:36 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4eplusAnnihilation.hh,v 1.9 2001/10/01 15:00:28 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// 10-01-97, crossection table + meanfreepath table, M.Maire
// 17-03-97, merge 'in fly' and 'at rest', M.Maire
// 31-08-98, new methods SetBining() and PrintInfo()
// 31-08-98, new methods SetBining() and PrintInfo()
// 03-08-01, new methods Store/Retrieve PhysicsTable (mma)
// 06-08-01, BuildThePhysicsTable() called from constructor (mma)
// 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)
// 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&)
//
// class description
@@ -73,18 +77,26 @@ class G4eplusAnnihilation : public G4VRestDiscreteProcess
// Allows to define the binning of the PhysicsTables,
// before to build them.
void BuildPhysicsTable(const G4ParticleDefinition& PositronType);
void BuildPhysicsTable(const G4ParticleDefinition&);
// It builds the total CrossSectionPerAtom table, for e+,
// and for every element contained in the elementTable.
// It builds the MeanFreePath table, for e+,
// and for every material contained in the materialTable.
// This function overloads a virtual function of the base class.
// It is invoked by the G4ParticleWithCuts::SetCut() method.
G4bool StorePhysicsTable(G4ParticleDefinition* ,
const G4String& directory, G4bool);
// store CrossSection and MeanFreePath tables into an external file
// specified by 'directory' (must exist before invokation)
G4bool RetrievePhysicsTable(G4ParticleDefinition* ,
const G4String& directory, G4bool);
// retrieve CrossSection and MeanFreePath tables from an external file
// specified by 'directory'
void PrintInfoDefinition();
// Print few lines of informations about the process: validity range,
// origine ..etc..
// Invoked by BuildPhysicsTable().
// Invoked by BuildThePhysicsTable().
G4double GetMeanFreePath(const G4Track& aTrack,
G4double previousStepSize,
@@ -92,7 +104,7 @@ class G4eplusAnnihilation : public G4VRestDiscreteProcess
// It returns the MeanFreePath of the process for the current track :
// (energy, material)
// The previousStepSize and G4ForceCondition* are not used.
// This function overloads a virtual function of the base class.
// This function overloads a virtual function of the base class.
// It is invoked by the ProcessManager of the Particle.
G4double GetCrossSectionPerAtom(G4DynamicParticle* aDynamicPositron,
@@ -125,7 +137,7 @@ class G4eplusAnnihilation : public G4VRestDiscreteProcess
protected:
virtual G4double ComputeCrossSectionPerAtom(G4double PositKinEnergy,
G4double AtomicNumber);
G4double AtomicNumber);
virtual G4double ComputeMeanFreePath(G4double PositKinEnergy,
G4Material* aMaterial);
@@ -133,19 +145,22 @@ class G4eplusAnnihilation : public G4VRestDiscreteProcess
private:
// hide assignment operator as private
G4eplusAnnihilation& operator=(const G4eplusAnnihilation &right);
G4eplusAnnihilation& operator=(const G4eplusAnnihilation& right);
G4eplusAnnihilation(const G4eplusAnnihilation& );
private:
G4PhysicsTable* theCrossSectionTable; // table for crossection
G4PhysicsTable* theCrossSectionTable;
G4PhysicsTable* theMeanFreePathTable;
G4double LowestEnergyLimit ; // low energy limit of the crossection formula
G4double HighestEnergyLimit ; // high energy limit of the crossection formula
G4int NumbBinTable ; // number of bins in the crossection table
G4double LowestEnergyLimit; // low energy limit of the tables
G4double HighestEnergyLimit; // high energy limit of the tables
G4int NumbBinTable; // number of bins in the tables
G4double fminimalEnergy; // minimalEnergy of produced particles
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4eplusAnnihilation.icc"
#endif