Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#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. | |
static void | deleteGenerator () |
static G4bool | isInitialized () |
Definition at line 58 of file G4INCLRandom.hh.
|
inlinestatic |
Delete the generator
Definition at line 152 of file G4INCLRandom.hh.
Referenced by G4INCL::INCL::~INCL().
Generate random numbers using gaussian distribution.
Definition at line 53 of file G4INCLRandom.cc.
Referenced by gaussVector().
|
inlinestatic |
Generate Gaussianly-distributed ThreeVectors.
Generate ThreeVectors that are distributed as a three-dimensional Gaussian of the given sigma.
Definition at line 144 of file G4INCLRandom.hh.
Referenced by G4INCL::DeJongSpin::shoot().
|
inlinestatic |
Get the seeds of the current generator.
Definition at line 92 of file G4INCLRandom.hh.
|
inlinestatic |
Check if the generator is initialized.
Definition at line 160 of file G4INCLRandom.hh.
Referenced by setGenerator().
|
static |
Generate isotropically-distributed ThreeVectors of given norm.
Definition at line 73 of file G4INCLRandom.cc.
Referenced by G4INCL::RecombinationChannel::getFinalState(), and sphereVector().
|
inlinestatic |
Set the random number generator implementation to be used globally by INCL.
Definition at line 72 of file G4INCLRandom.hh.
Referenced by G4INCL::INCL::INCL().
|
inlinestatic |
Set the seeds of the current generator.
Definition at line 84 of file G4INCLRandom.hh.
|
inlinestatic |
Generate flat distribution of random numbers.
Definition at line 99 of file G4INCLRandom.hh.
Referenced by G4INCL::DeltaDecayChannel::computeDecayTime(), G4INCL::IsotopicDistribution::drawRandomIsotope(), gauss(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::SurfaceAvatar::getChannel(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::PauliGlobal::isBlocked(), G4INCL::PauliStandard::isBlocked(), normVector(), shoot0(), and shoot1().
|
inlinestatic |
Return a random number in the ]0,1] interval
Definition at line 104 of file G4INCLRandom.hh.
Referenced by gauss(), and sphereVector().
|
inlinestatic |
Return a random number in the [0,1[ interval
Definition at line 114 of file G4INCLRandom.hh.
Referenced by G4INCL::shuffleComponentsHelper().
|
inlinestatic |
Generate ThreeVectors that are uniformly distributed in a sphere of radius rmax.
Definition at line 135 of file G4INCLRandom.hh.