Geant4  10.01.p02
G4INCLRandom.cc File Reference
#include "globals.hh"
#include "G4INCLRandom.hh"
#include "G4INCLGlobals.hh"
#include "G4INCLRanecu.hh"
#include "G4INCLRanecu3.hh"
#include "G4INCLGeant4Random.hh"
#include "G4INCLLogger.hh"
+ Include dependency graph for G4INCLRandom.cc:

Go to the source code of this file.

Namespaces

 G4INCL
 
 G4INCL::Random
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 

Functions

void G4INCL::Random::setGenerator (G4INCL::IRandomGenerator *aGenerator)
 Set the random number generator implementation to be used globally by INCL. More...
 
void G4INCL::Random::setSeeds (const SeedVector &sv)
 Set the seeds of the current generator. More...
 
SeedVector G4INCL::Random::getSeeds ()
 Get the seeds of the current generator. More...
 
G4double G4INCL::Random::shoot ()
 Generate flat distribution of random numbers. More...
 
G4double G4INCL::Random::shoot0 ()
 Return a random number in the ]0,1] interval. More...
 
G4double G4INCL::Random::shoot1 ()
 Return a random number in the [0,1[ interval. More...
 
G4double G4INCL::Random::gauss (G4double sigma=1.)
 Generate random numbers using gaussian distribution. More...
 
ThreeVector G4INCL::Random::normVector (G4double norm=1.)
 Generate isotropically-distributed ThreeVectors of given norm. More...
 
ThreeVector G4INCL::Random::sphereVector (G4double rmax=1.)
 Generate ThreeVectors that are uniformly distributed in a sphere of radius rmax. More...
 
ThreeVector G4INCL::Random::gaussVector (G4double sigma=1.)
 Generate Gaussianly-distributed ThreeVectors. More...
 
std::pair< G4double, G4doubleG4INCL::Random::correlatedGaussian (const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.)
 Generate pairs of correlated Gaussian random numbers. More...
 
std::pair< G4double, G4doubleG4INCL::Random::correlatedUniform (const G4double corrCoeff)
 Generate pairs of correlated uniform random numbers. More...
 
void G4INCL::Random::deleteGenerator ()
 Delete the generator. More...
 
G4bool G4INCL::Random::isInitialized ()
 Check if the generator is initialized. More...
 
void G4INCL::Random::saveSeeds ()
 Save the status of the random-number generator. More...
 
SeedVector G4INCL::Random::getSavedSeeds ()
 Get the saved status of the random-number generator. More...
 
void G4INCL::Random::initialize (Config const *const)
 Initialize generator according to a Config object. More...
 
Adapter const & G4INCL::Random::getAdapter ()
 

Macro Definition Documentation

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLRandom.cc.