34 #define INCLXX_IN_GEANT4_MODE 1    62 #ifdef INCL_COUNT_RND_CALLS    74         INCL_ERROR(
"INCL random number generator already initialized." << 
'\n');
    76 #ifdef INCL_COUNT_RND_CALLS    94 #ifdef INCL_COUNT_RND_CALLS   102       while( (r=
shoot()) <= 0. ) 
   109       while( (r=
shoot()) >= 1. ) 
   125         return sigma*std::sqrt(-2*std::log(u))*std::cos(v);
   130         return sigma*std::sqrt(-2*std::log(u))*std::sin(v);
   137       const G4double stheta = std::sqrt(1.-ctheta*ctheta);
   140                          norm * stheta * std::cos(phi),
   141                          norm * stheta * std::sin(phi),
   161       const G4double y = corrCoeff * x + 
gauss(sigma*std::sqrt(factor)) + x0;
   162       return std::make_pair(x, y);
   184 #ifdef INCL_COUNT_RND_CALLS   185     unsigned long long getNumberOfCalls() {
   210 #ifdef INCLXX_IN_GEANT4_MODE   212 #else // INCLXX_IN_GEANT4_MODE   213       RNGType rng = theConfig->getRNGType();
   220 #endif // INCLXX_IN_GEANT4_MODE 
ThreeVector gaussVector(G4double sigma=1.)
Generate Gaussianly-distributed ThreeVectors. 
 
ThreeVector sphereVector(G4double rmax=1.)
 
std::shared_ptr< HepRandom > theGenerator
 
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. 
 
Extended Ranecu-type RNG class. 
 
SeedVector getSavedSeeds()
Get the saved status of the random-number generator. 
 
const G4double oneOverSqrtThree
 
void setGenerator(G4INCL::IRandomGenerator *aGenerator)
 
static const G4double factor
 
G4double gauss(G4double sigma=1.)
 
#define INCLXX_IN_GEANT4_MODE
 
Adapter const  & getAdapter()
 
G4int operator()(const G4int n) const
 
G4double pow13(G4double x)
 
std::pair< G4double, G4double > correlatedGaussian(const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.)
Generate pairs of correlated Gaussian random numbers. 
 
G4double gaussianCDF(const G4double x)
Cumulative distribution function for Gaussian. 
 
void setSeeds(const SeedVector &sv)