Import Geant4 5.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.hh,v 1.12 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// $Id: G4MuPairProduction.hh,v 1.13 2003/01/17 18:54:40 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
@@ -30,32 +30,34 @@
|
||||
// 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)
|
||||
// 16-01-03 Migrade to cut per region (V.Ivanchenko)
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#ifndef G4MuPairproduction_h
|
||||
#define G4MuPairproduction_h 1
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4ios.hh"
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "globals.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "G4VMuEnergyLoss.hh"
|
||||
#include "G4Track.hh"
|
||||
#include "G4Step.hh"
|
||||
#include "G4OrderedTable.hh"
|
||||
#include "G4OrderedTable.hh"
|
||||
#include "G4PhysicsTable.hh"
|
||||
#include "G4PhysicsLogVector.hh"
|
||||
#include "G4MaterialCutsCouple.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
|
||||
class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
|
||||
{
|
||||
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
G4MuPairProduction(const G4String& processName = "MuPairProd");
|
||||
|
||||
|
||||
~G4MuPairProduction();
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
@@ -71,53 +73,53 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
G4double GetMeanFreePath( const G4Track& track,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition );
|
||||
|
||||
|
||||
G4VParticleChange *PostStepDoIt(const G4Track& track,
|
||||
const G4Step& Step );
|
||||
const G4Step& Step );
|
||||
|
||||
G4double GetDMicroscopicCrossSection(
|
||||
const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
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* ,
|
||||
|
||||
G4bool RetrievePhysicsTable(G4ParticleDefinition* ,
|
||||
const G4String& directory, G4bool);
|
||||
// retrieve eLoss and MeanFreePath tables from an external file
|
||||
// specified by 'directory'
|
||||
// specified by 'directory'
|
||||
|
||||
protected:
|
||||
|
||||
G4double ComputeMeanFreePath(const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
const G4Material* aMaterial);
|
||||
G4double KineticEnergy,
|
||||
const G4MaterialCutsCouple* couple);
|
||||
|
||||
void ComputePartialSumSigma(const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
const G4Material* aMaterial);
|
||||
G4double KineticEnergy,
|
||||
const G4MaterialCutsCouple* couple);
|
||||
|
||||
virtual G4double ComputeMicroscopicCrossSection(
|
||||
const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
G4double KineticEnergy,
|
||||
G4double AtomicNumber,
|
||||
G4double ElectronEnergyCut,
|
||||
G4double PositronEnergyCut);
|
||||
|
||||
G4double ComputeDDMicroscopicCrossSection(
|
||||
const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
G4double KineticEnergy,
|
||||
G4double AtomicNumber,
|
||||
G4double PairEnergy,
|
||||
G4double asymmetry);
|
||||
|
||||
G4double ComputeDMicroscopicCrossSection(
|
||||
const G4ParticleDefinition* ParticleType,
|
||||
G4double KineticEnergy,
|
||||
G4double KineticEnergy,
|
||||
G4double AtomicNumber,
|
||||
G4double PairEnergy);
|
||||
|
||||
@@ -130,15 +132,19 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
G4double Z,G4double T,G4double ElectronCut,
|
||||
G4double PositronCut);
|
||||
|
||||
G4Element* SelectRandomAtom(G4Material* aMaterial) const;
|
||||
G4Element* SelectRandomAtom(const G4MaterialCutsCouple* couple) const;
|
||||
|
||||
void MakeSamplingTables( const G4ParticleDefinition* ParticleType );
|
||||
|
||||
protected:
|
||||
|
||||
virtual G4double SecondaryEnergyThreshold(size_t index);
|
||||
|
||||
private:
|
||||
|
||||
G4PhysicsTable* theMeanFreePathTable;
|
||||
G4PhysicsTable* theMeanFreePathTable;
|
||||
|
||||
G4OrderedTable PartialSumSigma;
|
||||
G4OrderedTable PartialSumSigma;
|
||||
|
||||
static G4double LowerBoundLambda; // bining for lambda table
|
||||
static G4double UpperBoundLambda;
|
||||
@@ -146,13 +152,10 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
G4double LowestKineticEnergy,HighestKineticEnergy;
|
||||
G4int TotBin;
|
||||
|
||||
const G4double* ElectronCutInKineticEnergy;
|
||||
const G4double* PositronCutInKineticEnergy;
|
||||
const G4std::vector<G4double>* electronEnergyCuts;
|
||||
const G4std::vector<G4double>* positronEnergyCuts;
|
||||
|
||||
G4double ElectronCutInKineticEnergyNow;
|
||||
G4double PositronCutInKineticEnergyNow;
|
||||
|
||||
// tables for sampling
|
||||
// tables for sampling
|
||||
static G4int nzdat,ntdat,NBIN;
|
||||
static G4double zdat[5],tdat[8];
|
||||
static G4double ya[1001],proba[5][8][1001];
|
||||
@@ -170,7 +173,7 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
|
||||
#include "G4MuPairProduction.icc"
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user