135 G4double GammaEnergySave = GammaEnergy;
136 if (GammaEnergy < GammaEnergyLimit) { GammaEnergy = GammaEnergyLimit; }
140 G4double F1 = a0 + a1*X + a2*X2 + a3*X3 + a4*X4 + a5*X5,
141 F2 = b0 + b1*X + b2*X2 + b3*X3 + b4*X4 + b5*X5,
142 F3 = c0 + c1*X + c2*X2 + c3*X3 + c4*X4 + c5*X5;
144 xSection = (Z + 1.)*(F1*Z + F2*Z*Z + F3);
146 if (GammaEnergySave < GammaEnergyLimit) {
153 if (xSection < 0.) { xSection = 0.; }
184 if(epsil0 > 1.0) {
return; }
190 if (GammaEnergy < Egsmall) {
199 if (GammaEnergy > 50.*
MeV) { FZ += 8.*(anElement->
GetfCoulomb()); }
203 G4double screenmax = exp ((42.24 - FZ)/8.368) - 0.952 ;
207 G4double epsil1 = 0.5 - 0.5*sqrt(1. - screenmin/screenmax) ;
208 G4double epsilmin =
max(epsil0,epsil1) , epsilrange = 0.5 - epsilmin;
218 G4double NormF1 =
max(F10*epsilrange*epsilrange,0.);
224 screenvar = screenfac/(epsil*(1-epsil));
225 greject = (ScreenFunction1(screenvar) - FZ)/F10;
229 screenvar = screenfac/(epsil*(1-epsil));
230 greject = (ScreenFunction2(screenvar) - FZ)/F20;
241 G4double ElectTotEnergy, PositTotEnergy;
244 ElectTotEnergy = (1.-epsil)*GammaEnergy;
245 PositTotEnergy = epsil*GammaEnergy;
249 PositTotEnergy = (1.-epsil)*GammaEnergy;
250 ElectTotEnergy = epsil*GammaEnergy;
271 G4double dxEl= sin(TetEl)*cos(Phi),dyEl= sin(TetEl)*sin(Phi),dzEl=cos(TetEl);
272 G4double dxPo=-sin(TetPo)*cos(Phi),dyPo=-sin(TetPo)*sin(Phi),dzPo=cos(TetPo);
283 ElectDirection.
rotateUz(GammaDirection);
287 theElectron,ElectDirection,ElectKineEnergy);
294 PositDirection.
rotateUz(GammaDirection);
298 thePositron,PositDirection,PositKineEnergy);
301 fvect->push_back(aParticle1);
302 fvect->push_back(aParticle2);
static G4Pow * GetInstance()
G4double GetKineticEnergy() const
void InitialiseElementSelectors(const G4ParticleDefinition *, const G4DataVector &)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
G4double GetfCoulomb() const
virtual void InitialiseLocal(const G4ParticleDefinition *, G4VEmModel *masterModel)
const G4ThreeVector & GetMomentumDirection() const
Hep3Vector & rotateUz(const Hep3Vector &)
std::vector< G4EmElementSelector * > * GetElementSelectors()
G4BetheHeitlerModel(const G4ParticleDefinition *p=0, const G4String &nam="BetheHeitler")
G4double GetlogZ3() const
G4double G4Log(G4double x)
static G4Positron * Positron()
void SetElementSelectors(std::vector< G4EmElementSelector * > *)
virtual ~G4BetheHeitlerModel()
G4double A13(G4double A) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4IonisParamElm * GetIonisation() const
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cut=0., G4double emax=DBL_MAX)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
static G4Electron * Electron()
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void ProposeTrackStatus(G4TrackStatus status)
const G4Element * SelectRandomAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
G4ParticleChangeForGamma * GetParticleChangeForGamma()
const G4Material * GetMaterial() const