33 #define INCLXX_IN_GEANT4_MODE 1
54 static G4bool generated =
false;
62 return sigma*std::sqrt(-2*std::log(u))*std::cos(v);
67 return sigma*std::sqrt(-2*std::log(u))*std::sin(v);
74 const G4double stheta = std::sqrt(1.-ctheta*ctheta);
77 norm * stheta * std::cos(phi),
78 norm * stheta * std::sin(phi),