Geant4
10.00.p03
|
#include "globals.hh"
#include <iostream>
#include <cmath>
#include <utility>
#include "G4INCLIRandomGenerator.hh"
#include "G4INCLThreeVector.hh"
#include "G4INCLGlobals.hh"
#include "G4INCLLogger.hh"
Go to the source code of this file.
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 > | |
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, G4double > | G4INCL::Random::correlatedGaussian (const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.) |
Generate pairs of correlated Gaussian random numbers. More... | |
std::pair< G4double, G4double > | G4INCL::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... | |
#define G4INCLRANDOM_HH_ |
Definition at line 45 of file G4INCLRandom.hh.
#define INCLXX_IN_GEANT4_MODE 1 |
Definition at line 33 of file G4INCLRandom.hh.