Geant4  10.02.p01
G4INCLRandom.hh File Reference
#include "globals.hh"
#include <iostream>
#include <cmath>
#include <utility>
#include "G4INCLIRandomGenerator.hh"
#include "G4INCLThreeVector.hh"
#include "G4INCLGlobals.hh"
#include "G4INCLConfig.hh"
+ Include dependency graph for G4INCLRandom.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4INCL::Random::Adapter
 

Namespaces

 G4INCL
 
 G4INCL::Random
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 
#define G4INCLRANDOM_HH_
 

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...
 
template<typename T >
G4INCL::Random::shootInteger (T n)
 Return a random integer in the [0,n[ 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 G4INCLRANDOM_HH_

Definition at line 46 of file G4INCLRandom.hh.

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLRandom.hh.