34 #define INCLXX_IN_GEANT4_MODE 1
45 #ifndef G4INCLRANDOM_HH_
46 #define G4INCLRANDOM_HH_
97 return static_cast<T
>(
shoot1() *
n);
139 #ifdef INCL_COUNT_RND_CALLS
140 unsigned long long getNumberOfCalls();
151 #ifdef INCLXX_IN_GEANT4_MODE
ThreeVector gaussVector(G4double sigma=1.)
Generate Gaussianly-distributed ThreeVectors.
ThreeVector sphereVector(G4double rmax=1.)
void initialize(Config const *const)
Initialize generator according to a Config object.
ThreeVector normVector(G4double norm=1.)
void saveSeeds()
Save the status of the random-number generator.
std::pair< G4double, G4double > correlatedUniform(const G4double corrCoeff)
Generate pairs of correlated uniform random numbers.
SeedVector getSavedSeeds()
Get the saved status of the random-number generator.
void setGenerator(G4INCL::IRandomGenerator *aGenerator)
Adapter const & getAdapter()
G4double gauss(G4double sigma=1.)
G4int operator()(const G4int n) const
std::pair< G4double, G4double > correlatedGaussian(const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.)
Generate pairs of correlated Gaussian random numbers.
void setSeeds(const SeedVector &sv)