Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -21,23 +21,22 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.hh,v 1.8.4.2 2001/06/28 20:19:44 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4MuPairProduction.hh,v 1.12 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// History: first implementation, based on object model of
|
||||
// 2nd December 1995, G.Cosmo
|
||||
// -------- G4MuPairProduction physics process ---------
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
// ************************************************************
|
||||
// 10/02/00 modifications , new e.m. structure, L.Urban
|
||||
//
|
||||
//------------------------------------------------------------------------------
|
||||
// 10-02-00 modifications , new e.m. structure, L.Urban
|
||||
// 10-08-01 new methods Store/Retrieve PhysicsTable (mma)
|
||||
// 29-10-01 all static functions no more inlined (mma)
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#ifndef G4MuPairproduction_h
|
||||
#define G4MuPairproduction_h 1
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "globals.hh"
|
||||
#include "Randomize.hh"
|
||||
@@ -47,7 +46,9 @@
|
||||
#include "G4OrderedTable.hh"
|
||||
#include "G4PhysicsTable.hh"
|
||||
#include "G4PhysicsLogVector.hh"
|
||||
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
|
||||
{
|
||||
@@ -69,16 +70,26 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
|
||||
G4double GetMeanFreePath( const G4Track& track,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition ) ;
|
||||
G4ForceCondition* condition );
|
||||
|
||||
G4VParticleChange *PostStepDoIt(const G4Track& track,
|
||||
const G4Step& Step ) ;
|
||||
const G4Step& Step );
|
||||
|
||||
G4double GetDMicroscopicCrossSection(
|
||||
const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
G4double AtomicNumber,
|
||||
G4double PairEnergy);
|
||||
|
||||
G4bool StorePhysicsTable(G4ParticleDefinition* ,
|
||||
const G4String& directory, G4bool);
|
||||
// store eLoss and MeanFreePath tables into an external file
|
||||
// specified by 'directory' (must exist before invokation)
|
||||
|
||||
G4bool RetrievePhysicsTable(G4ParticleDefinition* ,
|
||||
const G4String& directory, G4bool);
|
||||
// retrieve eLoss and MeanFreePath tables from an external file
|
||||
// specified by 'directory'
|
||||
|
||||
protected:
|
||||
|
||||
@@ -125,15 +136,15 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
|
||||
private:
|
||||
|
||||
G4PhysicsTable* theMeanFreePathTable ;
|
||||
G4PhysicsTable* theMeanFreePathTable;
|
||||
|
||||
G4OrderedTable PartialSumSigma;
|
||||
|
||||
static G4double LowerBoundLambda ; // bining for lambda table
|
||||
static G4double UpperBoundLambda ;
|
||||
static G4int NbinLambda ;
|
||||
G4double LowestKineticEnergy,HighestKineticEnergy ;
|
||||
G4int TotBin ;
|
||||
static G4double LowerBoundLambda; // bining for lambda table
|
||||
static G4double UpperBoundLambda;
|
||||
static G4int NbinLambda;
|
||||
G4double LowestKineticEnergy,HighestKineticEnergy;
|
||||
G4int TotBin;
|
||||
|
||||
const G4double* ElectronCutInKineticEnergy;
|
||||
const G4double* PositronCutInKineticEnergy;
|
||||
@@ -141,23 +152,25 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
G4double ElectronCutInKineticEnergyNow;
|
||||
G4double PositronCutInKineticEnergyNow;
|
||||
|
||||
// tables for sampling ..............
|
||||
static G4int nzdat,ntdat,NBIN ;
|
||||
static G4double zdat[5],tdat[8] ;
|
||||
static G4double ya[1001],proba[5][8][1001] ;
|
||||
static G4double MinPairEnergy ;
|
||||
// tables for sampling
|
||||
static G4int nzdat,ntdat,NBIN;
|
||||
static G4double zdat[5],tdat[8];
|
||||
static G4double ya[1001],proba[5][8][1001];
|
||||
static G4double MinPairEnergy;
|
||||
|
||||
public:
|
||||
|
||||
static void SetLowerBoundLambda(G4double val) {LowerBoundLambda = val;};
|
||||
static void SetUpperBoundLambda(G4double val) {UpperBoundLambda = val;};
|
||||
static void SetNbinLambda(G4int n) {NbinLambda = n;};
|
||||
static G4double GetLowerBoundLambda() { return LowerBoundLambda;};
|
||||
static G4double GetUpperBoundLambda() { return UpperBoundLambda;};
|
||||
static G4int GetNbinLambda() {return NbinLambda;};
|
||||
static void SetLowerBoundLambda(G4double val);
|
||||
static void SetUpperBoundLambda(G4double val);
|
||||
static void SetNbinLambda(G4int n);
|
||||
static G4double GetLowerBoundLambda();
|
||||
static G4double GetUpperBoundLambda();
|
||||
static G4int GetNbinLambda();
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4MuPairProduction.icc"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user