105 if(isInitialised) {
return; }
107 isInitialised =
true;
128 G4double cross = pi_rcl2*((gamma2+4*gam+1.)*log(gam+bg) - (gam+3.)*bg)
173 if(PositKinEnergy == 0.0) {
175 G4double sint = sqrt((1. - cost)*(1. + cost));
193 G4double sqgrate = sqrt(tau/tau2)*0.5;
199 G4double epsilqot = epsilmax/epsilmin;
208 greject = 1. - epsil + (2.*gam*epsil-1.)/(epsil*tau2*tau2);
215 G4double cost = (epsil*tau2-1.)/(epsil*sqg2m1);
216 if(std::abs(cost) > 1.0) {
217 G4cout <<
"### G4eeToTwoGammaModel WARNING cost= " << cost
218 <<
" positron Ekin(MeV)= " << PositKinEnergy
219 <<
" gamma epsil= " << epsil
221 if(cost > 1.0) cost = 1.0;
224 G4double sint = sqrt((1.+cost)*(1.-cost));
232 G4double Phot1Energy = epsil*TotalAvailableEnergy;
234 G4ThreeVector Phot1Direction(sint*cos(phi), sint*sin(phi), cost);
235 Phot1Direction.
rotateUz(PositDirection);
242 G4double Phot2Energy =(1.-epsil)*TotalAvailableEnergy;
262 vdp->push_back(aGamma1);
263 vdp->push_back(aGamma2);