Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4hPairProductionModel Class Reference

#include <G4hPairProductionModel.hh>

+ Inheritance diagram for G4hPairProductionModel:

Public Member Functions

 G4hPairProductionModel (const G4ParticleDefinition *p=0, const G4String &nam="hPairProd")
 
virtual ~G4hPairProductionModel ()
 
- Public Member Functions inherited from G4MuPairProductionModel
 G4MuPairProductionModel (const G4ParticleDefinition *p=0, const G4String &nam="muPairProd")
 
virtual ~G4MuPairProductionModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy, G4double maxEnergy)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
void SetLowestKineticEnergy (G4double e)
 
void SetParticle (const G4ParticleDefinition *)
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)=0
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double tmax=DBL_MAX)=0
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ChargeSquareRatio (const G4Track &)
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void StartTracking (G4Track *)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
virtual G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
G4double ComputeDEDX (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
G4double CrossSection (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeMeanFreePath (const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, const G4Element *, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectIsotopeNumber (const G4Element *)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=0)
 
void SetCrossSectionTable (G4PhysicsTable *)
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
void SetAngularDistribution (G4VEmAngularDistribution *)
 
G4double HighEnergyLimit () const
 
G4double LowEnergyLimit () const
 
G4double HighEnergyActivationLimit () const
 
G4double LowEnergyActivationLimit () const
 
G4double PolarAngleLimit () const
 
G4double SecondaryThreshold () const
 
G4bool LPMFlag () const
 
G4bool DeexcitationFlag () const
 
G4bool ForceBuildTableFlag () const
 
void SetHighEnergyLimit (G4double)
 
void SetLowEnergyLimit (G4double)
 
void SetActivationHighEnergyLimit (G4double)
 
void SetActivationLowEnergyLimit (G4double)
 
G4bool IsActive (G4double kinEnergy)
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void ForceBuildTable (G4bool val)
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 

Protected Member Functions

virtual G4double ComputeDMicroscopicCrossSection (G4double tkin, G4double Z, G4double pairEnergy)
 
- Protected Member Functions inherited from G4MuPairProductionModel
G4double ComputMuPairLoss (G4double Z, G4double tkin, G4double cut, G4double tmax)
 
G4double ComputeMicroscopicCrossSection (G4double tkin, G4double Z, G4double cut)
 
virtual G4double ComputeDMicroscopicCrossSection (G4double tkin, G4double Z, G4double pairEnergy)
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
void SetCurrentElement (G4double Z)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Additional Inherited Members

- Protected Attributes inherited from G4MuPairProductionModel
const G4ParticleDefinitionparticle
 
G4NistManagernist
 
G4double factorForCross
 
G4double sqrte
 
G4double particleMass
 
G4double currentZ
 
G4double z13
 
G4double z23
 
G4double lnZ
 
- Protected Attributes inherited from G4VEmModel
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
- Static Protected Attributes inherited from G4MuPairProductionModel
static G4double xgi [8]
 
static G4double wgi [8]
 

Detailed Description

Definition at line 56 of file G4hPairProductionModel.hh.

Constructor & Destructor Documentation

◆ G4hPairProductionModel()

G4hPairProductionModel::G4hPairProductionModel ( const G4ParticleDefinition p = 0,
const G4String nam = "hPairProd" 
)

◆ ~G4hPairProductionModel()

G4hPairProductionModel::~G4hPairProductionModel ( )
virtual

Definition at line 63 of file G4hPairProductionModel.cc.

64{}

Member Function Documentation

◆ ComputeDMicroscopicCrossSection()

G4double G4hPairProductionModel::ComputeDMicroscopicCrossSection ( G4double  tkin,
G4double  Z,
G4double  pairEnergy 
)
protectedvirtual

Reimplemented from G4MuPairProductionModel.

Definition at line 68 of file G4hPairProductionModel.cc.

73{
74 G4double bbbtf= 183. ;
75 G4double bbbh = 202.4 ;
76 G4double g1tf = 1.95e-5 ;
77 G4double g2tf = 5.3e-5 ;
78 G4double g1h = 4.4e-5 ;
79 G4double g2h = 4.8e-5 ;
80
81 G4double totalEnergy = tkin + particleMass;
82 G4double residEnergy = totalEnergy - pairEnergy;
83 G4double massratio = particleMass/electron_mass_c2 ;
84 G4double massratio2 = massratio*massratio ;
85 G4double cross = 0.;
86
88
89 G4double c3 = 0.75*sqrte*particleMass;
90 if (residEnergy <= c3*z13) return cross;
91
92 G4double c7 = 4.*electron_mass_c2;
94 G4double alf = c7/pairEnergy;
95 G4double a3 = 1. - alf;
96 if (a3 <= 0.) return cross;
97
98 // zeta calculation
99 G4double bbb,g1,g2;
100 if( Z < 1.5 ) { bbb = bbbh ; g1 = g1h ; g2 = g2h ; }
101 else { bbb = bbbtf; g1 = g1tf; g2 = g2tf; }
102
103 G4double zeta = 0;
104 G4double zeta1 = 0.073*log(totalEnergy/(particleMass+g1*z23*totalEnergy))-0.26;
105 if ( zeta1 > 0.)
106 {
107 G4double zeta2 = 0.058*log(totalEnergy/(particleMass+g2*z13*totalEnergy))-0.14;
108 zeta = zeta1/zeta2 ;
109 }
110
111 G4double z2 = Z*(Z+zeta);
112 G4double screen0 = 2.*electron_mass_c2*sqrte*bbb/(z13*pairEnergy);
113 G4double a0 = totalEnergy*residEnergy;
114 G4double a1 = pairEnergy*pairEnergy/a0;
115 G4double bet = 0.5*a1;
116 G4double xi0 = 0.25*massratio2*a1;
117 G4double del = c8/a0;
118
119 G4double rta3 = sqrt(a3);
120 G4double tmnexp = alf/(1. + rta3) + del*rta3;
121 if(tmnexp >= 1.0) return cross;
122
123 G4double tmn = log(tmnexp);
124 G4double sum = 0.;
125
126 // Gaussian integration in ln(1-ro) ( with 8 points)
127 for (G4int i=0; i<8; i++)
128 {
129 G4double a4 = exp(tmn*xgi[i]); // a4 = (1.-asymmetry)
130 G4double a5 = a4*(2.-a4) ;
131 G4double a6 = 1.-a5 ;
132 G4double a7 = 1.+a6 ;
133 G4double a9 = 3.+a6 ;
134 G4double xi = xi0*a5 ;
135 G4double xii = 1./xi ;
136 G4double xi1 = 1.+xi ;
137 G4double screen = screen0*xi1/a5 ;
138 G4double yeu = 5.-a6+4.*bet*a7 ;
139 G4double yed = 2.*(1.+3.*bet)*log(3.+xii)-a6-a1*(2.-a6) ;
140 G4double ye1 = 1.+yeu/yed ;
141 G4double ale=log(bbb/z13*sqrt(xi1*ye1)/(1.+screen*ye1)) ;
142 G4double cre = 0.5*log(1.+2.25*z23*xi1*ye1/massratio2) ;
143 G4double be;
144
145 if (xi <= 1.e3) be = ((2.+a6)*(1.+bet)+xi*a9)*log(1.+xii)+(a5-bet)/xi1-a9;
146 else be = (3.-a6+a1*a7)/(2.*xi);
147
148 G4double fe = (ale-cre)*be;
149 if ( fe < 0.) fe = 0. ;
150
151 G4double ymu = 4.+a6 +3.*bet*a7 ;
152 G4double ymd = a7*(1.5+a1)*log(3.+xi)+1.-1.5*a6 ;
153 G4double ym1 = 1.+ymu/ymd ;
154 G4double alm_crm = log(bbb*massratio/(1.5*z23*(1.+screen*ym1)));
155 G4double a10,bm;
156 if ( xi >= 1.e-3)
157 {
158 a10 = (1.+a1)*a5 ;
159 bm = (a7*(1.+1.5*bet)-a10*xii)*log(xi1)+xi*(a5-bet)/xi1+a10;
160 } else {
161 bm = (5.-a6+bet*a9)*(xi/2.);
162 }
163
164 G4double fm = alm_crm*bm;
165 if ( fm < 0.) fm = 0. ;
166
167 sum += wgi[i]*a4*(fe+fm/massratio2);
168 }
169
170 cross = -tmn*sum*factorForCross*z2*residEnergy/(totalEnergy*pairEnergy);
171
172 return cross;
173}
G4fissionEvent * fe
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66

The documentation for this class was generated from the following files: