Geant4  10.00.p03
G4MTHepRandom Class Reference

#include <G4MTHepRandom.hh>

+ Inheritance diagram for G4MTHepRandom:
+ Collaboration diagram for G4MTHepRandom:

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::HepRandomEngine * getTheEngine ()
 
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 ()
 

Private Attributes

G4bool deleteEngine
 

Static Private Attributes

static G4ThreadLocal
CLHEP::HepRandomEngine * 
theEngine
 
static G4ThreadLocal
G4MTHepRandom
theGenerator
 
static G4ThreadLocal G4int isActive
 

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.

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.

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

Member Data Documentation

G4bool G4MTHepRandom::deleteEngine
private

Definition at line 161 of file G4MTHepRandom.hh.

G4ThreadLocal G4int G4MTHepRandom::isActive
staticprivate

Definition at line 158 of file G4MTHepRandom.hh.

G4ThreadLocal CLHEP::HepRandomEngine* G4MTHepRandom::theEngine
staticprivate

Definition at line 152 of file G4MTHepRandom.hh.

G4ThreadLocal G4MTHepRandom* G4MTHepRandom::theGenerator
staticprivate

Definition at line 155 of file G4MTHepRandom.hh.


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