43 #ifndef G4RANDOMTOOLS_HH
44 #define G4RANDOMTOOLS_HH
46 #include <CLHEP/Units/PhysicalConstants.h>
60 const G4int max_trials = 1024;
66 ndotv = normal * vect;
91 return cosphi * vec1 + sinphi * vec2;
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector G4RandomDirection()
static constexpr double twopi
static double normal(HepRandomEngine *eptr)