Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions
G4MTHepRandom Class Reference

#include <G4MTHepRandom.hh>

Inheritance diagram for G4MTHepRandom:
G4MTRandExponential G4MTRandFlat G4MTRandGamma G4MTRandGauss G4MTRandGeneral G4MTRandBit G4MTRandGaussQ

Public Member Functions

 G4MTHepRandom ()
 
 G4MTHepRandom (G4long seed)
 
 G4MTHepRandom (CLHEP::HepRandomEngine &algorithm)
 
 G4MTHepRandom (CLHEP::HepRandomEngine *algorithm)
 
virtual ~G4MTHepRandom ()
 
G4double flat ()
 
void flatArray (const G4int size, G4double *vect)
 
G4double flat (CLHEP::HepRandomEngine *theNewEngine)
 
void flatArray (CLHEP::HepRandomEngine *theNewEngine, const G4int size, G4double *vect)
 
virtual G4double operator() ()
 
virtual std::ostream & put (std::ostream &os) const
 
virtual std::istream & get (std::istream &is)
 

Static Public Member Functions

static void setTheSeed (G4long seed, G4int lux=3)
 
static G4long getTheSeed ()
 
static void setTheSeeds (const G4long *seeds, G4int aux=-1)
 
static const G4longgetTheSeeds ()
 
static void getTheTableSeeds (G4long *seeds, G4int index)
 
static G4MTHepRandomgetTheGenerator ()
 
static void setTheEngine (CLHEP::HepRandomEngine *theNewEngine)
 
static CLHEP::HepRandomEnginegetTheEngine ()
 
static void saveEngineStatus (const char filename[]="Config.conf")
 
static void restoreEngineStatus (const char filename[]="Config.conf")
 
static std::ostream & saveFullState (std::ostream &os)
 
static std::istream & restoreFullState (std::istream &is)
 
static std::ostream & saveDistState (std::ostream &os)
 
static std::istream & restoreDistState (std::istream &is)
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static void showEngineStatus ()
 
static G4int createInstance ()
 
static G4int createInstanceOnce ()
 

Detailed Description

Definition at line 49 of file G4MTHepRandom.hh.

Constructor & Destructor Documentation

G4MTHepRandom::G4MTHepRandom ( )
G4MTHepRandom::G4MTHepRandom ( G4long  seed)
G4MTHepRandom::G4MTHepRandom ( CLHEP::HepRandomEngine algorithm)
G4MTHepRandom::G4MTHepRandom ( CLHEP::HepRandomEngine algorithm)
virtual G4MTHepRandom::~G4MTHepRandom ( )
virtual

Member Function Documentation

static G4int G4MTHepRandom::createInstance ( )
static
static G4int G4MTHepRandom::createInstanceOnce ( )
static
G4double G4MTHepRandom::flat ( )
G4double G4MTHepRandom::flat ( CLHEP::HepRandomEngine theNewEngine)
inline
void G4MTHepRandom::flatArray ( const G4int  size,
G4double vect 
)
void G4MTHepRandom::flatArray ( CLHEP::HepRandomEngine theNewEngine,
const G4int  size,
G4double vect 
)
inline
virtual std::istream& G4MTHepRandom::get ( std::istream &  is)
virtual
static CLHEP::HepRandomEngine* G4MTHepRandom::getTheEngine ( )
static
static G4MTHepRandom* G4MTHepRandom::getTheGenerator ( )
static
static G4long G4MTHepRandom::getTheSeed ( )
static
static const G4long* G4MTHepRandom::getTheSeeds ( )
static
static void G4MTHepRandom::getTheTableSeeds ( G4long seeds,
G4int  index 
)
static
virtual G4double G4MTHepRandom::operator() ( )
virtual
virtual std::ostream& G4MTHepRandom::put ( std::ostream &  os) const
virtual
static std::istream& G4MTHepRandom::restoreDistState ( std::istream &  is)
inlinestatic

Definition at line 132 of file G4MTHepRandom.hh.

132 {return is;}
static void G4MTHepRandom::restoreEngineStatus ( const char  filename[] = "Config.conf")
static
static std::istream& G4MTHepRandom::restoreFullState ( std::istream &  is)
static
static std::istream& G4MTHepRandom::restoreStaticRandomStates ( std::istream &  is)
static
static std::ostream& G4MTHepRandom::saveDistState ( std::ostream &  os)
inlinestatic

Definition at line 129 of file G4MTHepRandom.hh.

129 {return os;}
static void G4MTHepRandom::saveEngineStatus ( const char  filename[] = "Config.conf")
static
static std::ostream& G4MTHepRandom::saveFullState ( std::ostream &  os)
static
static std::ostream& G4MTHepRandom::saveStaticRandomStates ( std::ostream &  os)
static
static void G4MTHepRandom::setTheEngine ( CLHEP::HepRandomEngine theNewEngine)
static
static void G4MTHepRandom::setTheSeed ( G4long  seed,
G4int  lux = 3 
)
static
static void G4MTHepRandom::setTheSeeds ( const G4long seeds,
G4int  aux = -1 
)
static
static void G4MTHepRandom::showEngineStatus ( )
static

The documentation for this class was generated from the following file: