109 static const G4double a = 20.0 ,
b = 230.0 ,
c = 440.0;
119 G4double p1Z = Z*(d1 + e1*Z + f1*Z*
Z), p2Z = Z*(d2 + e2*Z + f2*Z*Z),
120 p3Z = Z*(d3 + e3*Z + f3*Z*
Z), p4Z = Z*(d4 + e4*Z + f4*Z*Z);
123 if (Z < 1.5) { T0 = 40.0*
keV; }
126 xSection = p1Z*
G4Log(1.+2.*X)/X
127 + (p2Z + p3Z*X + p4Z*X*
X)/(1. + a*X +
b*X*X +
c*X*X*X);
130 if (GammaEnergy < T0) {
134 + (p2Z + p3Z*X + p4Z*X*
X)/(1. + a*X +
b*X*X +
c*X*X*X);
135 G4double c1 = -T0*(sigma-xSection)/(xSection*dT0);
137 if (Z > 1.5) { c2 = 0.375-0.0556*
G4Log(Z); }
139 xSection *=
G4Exp(-y*(c1+c2*y));
148 std::vector<G4DynamicParticle*>* fvect,
177 G4double alpha2 = alpha1 + 0.5*(1.- epsilon0sq);
187 if(nloop > nlooplim) {
return; }
192 if ( alpha1 > alpha2*rndm[0] ) {
193 epsilon =
G4Exp(-alpha1*rndm[1]);
197 epsilonsq = epsilon0sq + (1.- epsilon0sq)*rndm[1];
198 epsilon = sqrt(epsilonsq);
201 onecost = (1.-
epsilon)/(epsilon*E0_m);
202 sint2 = onecost*(2.-onecost);
203 greject = 1. - epsilon*sint2/(1.+ epsilonsq);
206 }
while (greject < rndm[2]);
212 if(sint2 < 0.0) { sint2 = 0.0; }
221 G4ThreeVector gamDirection1(sinTeta*cos(Phi), sinTeta*sin(Phi), cosTeta);
222 gamDirection1.
rotateUz(gamDirection0);
223 G4double gamEnergy1 = epsilon*gamEnergy0;
238 G4double eKinEnergy = gamEnergy0 - gamEnergy1;
241 G4ThreeVector eDirection = gamEnergy0*gamDirection0 - gamEnergy1*gamDirection1;
242 eDirection = eDirection.
unit();
246 fvect->push_back(dp);