121 G4double GammaEnergySave = GammaEnergy;
122 if (GammaEnergy < GammaEnergyLimit) { GammaEnergy = GammaEnergyLimit; }
126 G4double F1 = a0 + a1*X + a2*
X2 + a3*X3 + a4*X4 + a5*X5,
127 F2 = b0 + b1*X + b2*
X2 + b3*X3 + b4*X4 + b5*X5,
128 F3 = c0 + c1*X + c2*
X2 + c3*X3 + c4*X4 + c5*X5;
130 xSection = (Z + 1.)*(F1*Z + F2*Z*Z + F3);
132 if (GammaEnergySave < GammaEnergyLimit) {
139 if (xSection < 0.) { xSection = 0.; }
170 if(epsil0 > 1.0) {
return; }
178 if (GammaEnergy < Egsmall) {
187 if (GammaEnergy > 50.*
MeV) { FZ += 8.*(anElement->
GetfCoulomb()); }
191 G4double screenmax = exp ((42.24 - FZ)/8.368) - 0.952 ;
192 G4double screenmin = min(4.*screenfac,screenmax);
195 G4double epsil1 = 0.5 - 0.5*sqrt(1. - screenmin/screenmax) ;
196 G4double epsilmin = max(epsil0,epsil1) , epsilrange = 0.5 - epsilmin;
206 G4double NormF1 = max(F10*epsilrange*epsilrange,0.);
212 screenvar = screenfac/(epsil*(1-epsil));
213 greject = (ScreenFunction1(screenvar) - FZ)/F10;
217 screenvar = screenfac/(epsil*(1-epsil));
218 greject = (ScreenFunction2(screenvar) - FZ)/F20;
229 G4double ElectTotEnergy, PositTotEnergy;
232 ElectTotEnergy = (1.-epsil)*GammaEnergy;
233 PositTotEnergy = epsil*GammaEnergy;
237 PositTotEnergy = (1.-epsil)*GammaEnergy;
238 ElectTotEnergy = epsil*GammaEnergy;
249 const G4double a1 = 0.625 , a2 = 3.*a1 ,
d = 27. ;
257 G4double dxEl= sin(TetEl)*cos(Phi),dyEl= sin(TetEl)*sin(Phi),dzEl=cos(TetEl);
258 G4double dxPo=-sin(TetPo)*cos(Phi),dyPo=-sin(TetPo)*sin(Phi),dzPo=cos(TetPo);
269 ElectDirection.
rotateUz(GammaDirection);
273 theElectron,ElectDirection,ElectKineEnergy);
280 PositDirection.
rotateUz(GammaDirection);
284 thePositron,PositDirection,PositKineEnergy);
287 fvect->push_back(aParticle1);
288 fvect->push_back(aParticle2);