Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GammaConversion.hh,v 1.4.4.1 2001/06/28 19:12:34 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4GammaConversion.hh,v 1.9 2001/10/01 15:00:28 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
// ------------ G4GammaConversion physics process ------
|
||||
//------------------ G4GammaConversion physics process -------------------------
|
||||
// by Michel Maire, 24 May 1996
|
||||
//
|
||||
// 11-06-96, Added GetRandomAtom() method and new data member
|
||||
@@ -34,8 +34,13 @@
|
||||
// 14-01-97, crossection table + meanfreepath table.
|
||||
// PartialSumSigma removed, M.Maire
|
||||
// 14-03-97, new physics scheme for geant4alpha, M.Maire
|
||||
// 13-08-98, new methods SetBining() PrintInfo()
|
||||
// ------------------------------------------------------------
|
||||
// 13-08-98, new methods SetBining() PrintInfo()
|
||||
// 03-08-01, new methods Store/Retrieve PhysicsTable (mma)
|
||||
// 06-08-01, BuildThePhysicsTable() called from constructor (mma)
|
||||
// 19-09-01, come back to previous ProcessName: "conv"
|
||||
// 20-09-01, DoIt: fminimalEnergy = 1*eV (mma)
|
||||
// 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&)
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// class description
|
||||
//
|
||||
@@ -79,18 +84,26 @@ class G4GammaConversion : public G4VDiscreteProcess
|
||||
// Allows to define the binning of the PhysicsTables,
|
||||
// before to build them.
|
||||
|
||||
void BuildPhysicsTable(const G4ParticleDefinition& GammaType);
|
||||
void BuildPhysicsTable(const G4ParticleDefinition&);
|
||||
// It builds the total CrossSectionPerAtom table, for Gamma,
|
||||
// and for every element contained in the elementTable.
|
||||
// It builds the MeanFreePath table, for Gamma,
|
||||
// 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,
|
||||
@@ -98,11 +111,11 @@ class G4GammaConversion : public G4VDiscreteProcess
|
||||
// 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 GetMicroscopicCrossSection(const G4DynamicParticle* aDynamicGamma,
|
||||
G4Element* anElement);
|
||||
G4double GetCrossSectionPerAtom(const G4DynamicParticle* aDynamicGamma,
|
||||
G4Element* anElement);
|
||||
// It returns the total CrossSectionPerAtom of the process,
|
||||
// for the current DynamicGamma (energy), in anElement.
|
||||
|
||||
@@ -115,8 +128,8 @@ class G4GammaConversion : public G4VDiscreteProcess
|
||||
|
||||
protected:
|
||||
|
||||
virtual G4double ComputeMicroscopicCrossSection(G4double GammaEnergy,
|
||||
G4double AtomicNumber);
|
||||
virtual G4double ComputeCrossSectionPerAtom(G4double GammaEnergy,
|
||||
G4double AtomicNumber);
|
||||
|
||||
virtual G4double ComputeMeanFreePath (G4double GammaEnergy,
|
||||
G4Material* aMaterial);
|
||||
@@ -141,13 +154,17 @@ class G4GammaConversion : public G4VDiscreteProcess
|
||||
G4PhysicsTable* theCrossSectionTable; // table for crossection
|
||||
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 MeanFreePath; // actual Mean Free Path (current medium)
|
||||
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
|
||||
|
||||
G4double MeanFreePath; // actual MeanFreePath (current medium)
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4GammaConversion.icc"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user