58 static const G4double emin = 1*CLHEP::eV;
59 static const G4double emax = 100*CLHEP::MeV;
73 G4double tau = energy/electron_mass_c2;
75 G4double beta = std::sqrt(tau*(tau + 2.0))/gamma;
80 G4double a1 = 0.5*beta*gamma*tau*(gamma-2.0);
94 tsam = 2.0*ac * (2.0*rand + a2*std::sqrt(rand)) / (a2*a2 - 4.0*rand);
95 gtr = (2.0 - tsam) * (a1 + 1.0/(ac+tsam));
99 costheta = 1.0 - tsam;
101 G4double sint = std::sqrt(tsam*(2.0 - tsam));
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const