|
Geant4
10.03.p03
|
Classes | |
| class | Adapter |
| class | SeedVector |
Functions | |
| void | setGenerator (G4INCL::IRandomGenerator *aGenerator) |
| void | setSeeds (const SeedVector &sv) |
| SeedVector | getSeeds () |
| G4double | shoot () |
| G4double | shoot0 () |
| G4double | shoot1 () |
| template<typename T > | |
| T | shootInteger (T n) |
| G4double | gauss (G4double sigma=1.) |
| ThreeVector | normVector (G4double norm=1.) |
| ThreeVector | sphereVector (G4double rmax=1.) |
| ThreeVector | gaussVector (G4double sigma=1.) |
| Generate Gaussianly-distributed ThreeVectors. More... | |
| std::pair< G4double, G4double > | correlatedGaussian (const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.) |
| Generate pairs of correlated Gaussian random numbers. More... | |
| std::pair< G4double, G4double > | correlatedUniform (const G4double corrCoeff) |
| Generate pairs of correlated uniform random numbers. More... | |
| void | deleteGenerator () |
| G4bool | isInitialized () |
| void | saveSeeds () |
| Save the status of the random-number generator. More... | |
| SeedVector | getSavedSeeds () |
| Get the saved status of the random-number generator. More... | |
| void | initialize (Config const *const) |
| Initialize generator according to a Config object. More... | |
| Adapter const & | getAdapter () |
| std::ostream & | operator<< (std::ostream &out, SeedVector const &sv) |
| std::pair< G4double, G4double > G4INCL::Random::correlatedGaussian | ( | const G4double | corrCoeff, |
| const G4double | x0 = 0., |
||
| const G4double | sigma = 1. |
||
| ) |
Generate pairs of correlated Gaussian random numbers.
Definition at line 155 of file G4INCLRandom.cc.


Generate pairs of correlated uniform random numbers.
Definition at line 165 of file G4INCLRandom.cc.

| void G4INCL::Random::deleteGenerator | ( | ) |
Delete the generator
Definition at line 170 of file G4INCLRandom.cc.

Generate random numbers using gaussian distribution.
Definition at line 114 of file G4INCLRandom.cc.


| ThreeVector G4INCL::Random::gaussVector | ( | G4double | sigma = 1. | ) |
Generate Gaussianly-distributed ThreeVectors.
Generate ThreeVectors that are distributed as a three-dimensional Gaussian of the given sigma.
Definition at line 150 of file G4INCLRandom.cc.


| Adapter const & G4INCL::Random::getAdapter | ( | ) |
Definition at line 227 of file G4INCLRandom.cc.
| SeedVector G4INCL::Random::getSavedSeeds | ( | ) |
Get the saved status of the random-number generator.
Definition at line 198 of file G4INCLRandom.cc.
| SeedVector G4INCL::Random::getSeeds | ( | ) |
Get the seeds of the current generator.
Definition at line 89 of file G4INCLRandom.cc.

| void G4INCL::Random::initialize | ( | Config const * const | ) |
Initialize generator according to a Config object.
Definition at line 205 of file G4INCLRandom.cc.


| G4bool G4INCL::Random::isInitialized | ( | ) |
Check if the generator is initialized.
Definition at line 179 of file G4INCLRandom.cc.

| ThreeVector G4INCL::Random::normVector | ( | G4double | norm = 1. | ) |
Generate isotropically-distributed ThreeVectors of given norm.
Definition at line 134 of file G4INCLRandom.cc.


| std::ostream& G4INCL::Random::operator<< | ( | std::ostream & | out, |
| SeedVector const & | sv | ||
| ) |
Definition at line 50 of file G4INCLRandomSeedVector.cc.
| void G4INCL::Random::saveSeeds | ( | ) |
| void G4INCL::Random::setGenerator | ( | G4INCL::IRandomGenerator * | aGenerator | ) |
Set the random number generator implementation to be used globally by INCL.
Definition at line 72 of file G4INCLRandom.cc.


| void G4INCL::Random::setSeeds | ( | const SeedVector & | sv | ) |
| G4double G4INCL::Random::shoot | ( | ) |
Generate flat distribution of random numbers.
Definition at line 93 of file G4INCLRandom.cc.

| G4double G4INCL::Random::shoot0 | ( | ) |
Return a random number in the ]0,1] interval
Definition at line 100 of file G4INCLRandom.cc.


| G4double G4INCL::Random::shoot1 | ( | ) |
Return a random number in the [0,1[ interval
Definition at line 107 of file G4INCLRandom.cc.


| T G4INCL::Random::shootInteger | ( | T | n | ) |
Return a random integer in the [0,n[ interval
Definition at line 96 of file G4INCLRandom.hh.


| ThreeVector G4INCL::Random::sphereVector | ( | G4double | rmax = 1. | ) |
Generate ThreeVectors that are uniformly distributed in a sphere of radius rmax.
Definition at line 146 of file G4INCLRandom.cc.
