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