Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
G4INCL::Random Class Reference

#include <G4INCLRandom.hh>

Static Public Member Functions

static void setGenerator (G4INCL::IRandomGenerator *aGenerator)
 
static void setSeeds (const SeedVector &sv)
 
static SeedVector getSeeds ()
 
static G4double shoot ()
 
static G4double shoot0 ()
 
static G4double shoot1 ()
 
static G4double gauss (G4double sigma=1.)
 
static ThreeVector normVector (G4double norm=1.)
 
static ThreeVector sphereVector (G4double rmax=1.)
 
static ThreeVector gaussVector (G4double sigma=1.)
 Generate Gaussianly-distributed ThreeVectors. More...
 
static void deleteGenerator ()
 
static G4bool isInitialized ()
 

Detailed Description

Definition at line 56 of file G4INCLRandom.hh.

Member Function Documentation

static void G4INCL::Random::deleteGenerator ( )
inlinestatic

Delete the generator

Definition at line 150 of file G4INCLRandom.hh.

Here is the caller graph for this function:

G4double G4INCL::Random::gauss ( G4double  sigma = 1.)
static

Generate random numbers using gaussian distribution.

Definition at line 51 of file G4INCLRandom.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

static ThreeVector G4INCL::Random::gaussVector ( G4double  sigma = 1.)
inlinestatic

Generate Gaussianly-distributed ThreeVectors.

Generate ThreeVectors that are distributed as a three-dimensional Gaussian of the given sigma.

Definition at line 142 of file G4INCLRandom.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

static SeedVector G4INCL::Random::getSeeds ( )
inlinestatic

Get the seeds of the current generator.

Definition at line 90 of file G4INCLRandom.hh.

Here is the call graph for this function:

static G4bool G4INCL::Random::isInitialized ( )
inlinestatic

Check if the generator is initialized.

Definition at line 158 of file G4INCLRandom.hh.

Here is the caller graph for this function:

ThreeVector G4INCL::Random::normVector ( G4double  norm = 1.)
static

Generate isotropically-distributed ThreeVectors of given norm.

Definition at line 71 of file G4INCLRandom.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

static void G4INCL::Random::setGenerator ( G4INCL::IRandomGenerator aGenerator)
inlinestatic

Set the random number generator implementation to be used globally by INCL.

See Also
G4INCL::IRandomGenerator

Definition at line 70 of file G4INCLRandom.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

static void G4INCL::Random::setSeeds ( const SeedVector sv)
inlinestatic

Set the seeds of the current generator.

Definition at line 82 of file G4INCLRandom.hh.

Here is the call graph for this function:

static G4double G4INCL::Random::shoot ( )
inlinestatic

Generate flat distribution of random numbers.

Definition at line 97 of file G4INCLRandom.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

static G4double G4INCL::Random::shoot0 ( )
inlinestatic

Return a random number in the ]0,1] interval

Definition at line 102 of file G4INCLRandom.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

static G4double G4INCL::Random::shoot1 ( )
inlinestatic

Return a random number in the [0,1[ interval

Definition at line 112 of file G4INCLRandom.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

static ThreeVector G4INCL::Random::sphereVector ( G4double  rmax = 1.)
inlinestatic

Generate ThreeVectors that are uniformly distributed in a sphere of radius rmax.

Definition at line 133 of file G4INCLRandom.hh.

Here is the call graph for this function:


The documentation for this class was generated from the following files: