Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCLRandom.hh File Reference
#include "globals.hh"
#include <iostream>
#include <cmath>
#include <utility>
#include <limits>
#include "G4INCLIRandomGenerator.hh"
#include "G4INCLThreeVector.hh"
#include "G4INCLGlobals.hh"
#include "G4INCLConfig.hh"
#include "Randomize.hh"

Go to the source code of this file.

Classes

class  G4INCL::Random::Adapter
 

Namespaces

namespace  G4INCL
 
namespace  G4INCL::Random
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 
#define G4INCLRANDOM_HH_
 

Functions

void G4INCL::Random::setGenerator (G4INCL::IRandomGenerator *aGenerator)
 
void G4INCL::Random::setSeeds (const SeedVector &sv)
 
SeedVector G4INCL::Random::getSeeds ()
 
G4double G4INCL::Random::shoot ()
 
G4double G4INCL::Random::shoot0 ()
 
G4double G4INCL::Random::shoot1 ()
 
template<typename T >
G4INCL::Random::shootInteger (T n)
 
G4double G4INCL::Random::gauss (G4double sigma=1.)
 
G4double G4INCL::Random::gaussWithMemory (G4double sigma=1.)
 
ThreeVector G4INCL::Random::normVector (G4double norm=1.)
 
ThreeVector G4INCL::Random::sphereVector (G4double rmax=1.)
 
ThreeVector G4INCL::Random::gaussVector (G4double sigma=1.)
 Generate Gaussianly-distributed ThreeVectors.
 
std::pair< G4double, G4doubleG4INCL::Random::correlatedGaussian (const G4double corrCoeff, const G4double x0=0., const G4double sigma=1.)
 Generate pairs of correlated Gaussian random numbers.
 
std::pair< G4double, G4doubleG4INCL::Random::correlatedUniform (const G4double corrCoeff)
 Generate pairs of correlated uniform random numbers.
 
void G4INCL::Random::deleteGenerator ()
 
G4bool G4INCL::Random::isInitialized ()
 
void G4INCL::Random::saveSeeds ()
 Save the status of the random-number generator.
 
SeedVector G4INCL::Random::getSavedSeeds ()
 Get the saved status of the random-number generator.
 
void G4INCL::Random::initialize (Config const *const)
 Initialize generator according to a Config object.
 
Adapter const & G4INCL::Random::getAdapter ()
 

Macro Definition Documentation

◆ G4INCLRANDOM_HH_

#define G4INCLRANDOM_HH_

Definition at line 46 of file G4INCLRandom.hh.

◆ INCLXX_IN_GEANT4_MODE

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLRandom.hh.