ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
+ Include dependency graph for G4INCLRandom.hh:
+ This graph shows which files directly or indirectly include this file:

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 >
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

#define G4INCLRANDOM_HH_

Definition at line 46 of file G4INCLRandom.hh.

View newest version in sPHENIX GitHub at line 46 of file G4INCLRandom.hh

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLRandom.hh.

View newest version in sPHENIX GitHub at line 34 of file G4INCLRandom.hh