Geant4  10.00.p03
G4MTRandFlat Class Reference

#include <G4MTRandFlat.hh>

+ Inheritance diagram for G4MTRandFlat:
+ Collaboration diagram for G4MTRandFlat:

Public Member Functions

 G4MTRandFlat (CLHEP::HepRandomEngine &anEngine)
 
 G4MTRandFlat (CLHEP::HepRandomEngine &anEngine, G4double width)
 
 G4MTRandFlat (CLHEP::HepRandomEngine &anEngine, G4double a, G4double b)
 
 G4MTRandFlat (CLHEP::HepRandomEngine *anEngine)
 
 G4MTRandFlat (CLHEP::HepRandomEngine *anEngine, G4double width)
 
 G4MTRandFlat (CLHEP::HepRandomEngine *anEngine, G4double a, G4double b)
 
virtual ~G4MTRandFlat ()
 
G4double fire ()
 
G4double fire (G4double width)
 
G4double fire (G4double a, G4double b)
 
G4long fireInt (G4long n)
 
G4long fireInt (G4long m, G4long n)
 
G4int fireBit ()
 
void fireArray (const G4int size, G4double *vect)
 
void fireArray (const G4int size, G4double *vect, G4double lx, G4double dx)
 
G4double operator() ()
 
G4double operator() (G4double width)
 
G4double operator() (G4double a, G4double b)
 
- Public Member Functions inherited from G4MTHepRandom
 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 std::ostream & put (std::ostream &os) const
 
virtual std::istream & get (std::istream &is)
 

Static Public Member Functions

static G4double shoot ()
 
static G4double shoot (G4double width)
 
static G4double shoot (G4double a, G4double b)
 
static G4long shootInt (G4long n)
 
static G4long shootInt (G4long m, G4long n)
 
static G4int shootBit ()
 
static void shootArray (const G4int size, G4double *vect)
 
static void shootArray (const G4int size, G4double *vect, G4double lx, G4double dx)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine, G4double width)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine, G4double a, G4double b)
 
static G4long shootInt (CLHEP::HepRandomEngine *anEngine, G4long n)
 
static G4long shootInt (CLHEP::HepRandomEngine *anEngine, G4long m, G4long n)
 
static G4int shootBit (CLHEP::HepRandomEngine *)
 
static void shootArray (CLHEP::HepRandomEngine *anEngine, const G4int size, G4double *vect)
 
static void shootArray (CLHEP::HepRandomEngine *anEngine, const G4int size, G4double *vect, G4double lx, G4double dx)
 
- Static Public Member Functions inherited from G4MTHepRandom
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 Member Functions

void fireBits ()
 

Static Private Member Functions

static void shootBits ()
 
static void shootBits (CLHEP::HepRandomEngine *)
 

Private Attributes

unsigned long randomInt
 
unsigned long firstUnusedBit
 
CLHEP::HepRandomEngine * localEngine
 
G4bool deleteEngine
 
G4double defaultA
 
G4double defaultB
 

Static Private Attributes

static const unsigned long MSB
 
static const G4int MSBBits
 
static G4ThreadLocal unsigned long staticRandomInt
 
static G4ThreadLocal unsigned long staticFirstUnusedBit
 

Detailed Description

Definition at line 40 of file G4MTRandFlat.hh.

Constructor & Destructor Documentation

G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine &  anEngine)
inline
G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine &  anEngine,
G4double  width 
)
inline
G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine &  anEngine,
G4double  a,
G4double  b 
)
inline
G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine *  anEngine)
inline
G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine *  anEngine,
G4double  width 
)
inline
G4MTRandFlat::G4MTRandFlat ( CLHEP::HepRandomEngine *  anEngine,
G4double  a,
G4double  b 
)
inline
virtual G4MTRandFlat::~G4MTRandFlat ( )
virtual

Member Function Documentation

G4double G4MTRandFlat::fire ( )
inline
G4double G4MTRandFlat::fire ( G4double  width)
inline
G4double G4MTRandFlat::fire ( G4double  a,
G4double  b 
)
inline
void G4MTRandFlat::fireArray ( const G4int  size,
G4double vect 
)
void G4MTRandFlat::fireArray ( const G4int  size,
G4double vect,
G4double  lx,
G4double  dx 
)
G4int G4MTRandFlat::fireBit ( )
inline
void G4MTRandFlat::fireBits ( )
inlineprivate
G4long G4MTRandFlat::fireInt ( G4long  n)
inline
G4long G4MTRandFlat::fireInt ( G4long  m,
G4long  n 
)
inline
G4double G4MTRandFlat::operator() ( )
virtual

Reimplemented from G4MTHepRandom.

G4double G4MTRandFlat::operator() ( G4double  width)
G4double G4MTRandFlat::operator() ( G4double  a,
G4double  b 
)
static G4double G4MTRandFlat::shoot ( )
static
static G4double G4MTRandFlat::shoot ( G4double  width)
inlinestatic
static G4double G4MTRandFlat::shoot ( G4double  a,
G4double  b 
)
inlinestatic
static G4double G4MTRandFlat::shoot ( CLHEP::HepRandomEngine *  anEngine)
inlinestatic
static G4double G4MTRandFlat::shoot ( CLHEP::HepRandomEngine *  anEngine,
G4double  width 
)
inlinestatic
static G4double G4MTRandFlat::shoot ( CLHEP::HepRandomEngine *  anEngine,
G4double  a,
G4double  b 
)
inlinestatic
static void G4MTRandFlat::shootArray ( const G4int  size,
G4double vect 
)
static
static void G4MTRandFlat::shootArray ( const G4int  size,
G4double vect,
G4double  lx,
G4double  dx 
)
static
static void G4MTRandFlat::shootArray ( CLHEP::HepRandomEngine *  anEngine,
const G4int  size,
G4double vect 
)
inlinestatic
static void G4MTRandFlat::shootArray ( CLHEP::HepRandomEngine *  anEngine,
const G4int  size,
G4double vect,
G4double  lx,
G4double  dx 
)
static
static G4int G4MTRandFlat::shootBit ( )
inlinestatic
static G4int G4MTRandFlat::shootBit ( CLHEP::HepRandomEngine *  )
inlinestatic
static void G4MTRandFlat::shootBits ( )
inlinestaticprivate
static void G4MTRandFlat::shootBits ( CLHEP::HepRandomEngine *  )
inlinestaticprivate
static G4long G4MTRandFlat::shootInt ( G4long  n)
inlinestatic
static G4long G4MTRandFlat::shootInt ( G4long  m,
G4long  n 
)
inlinestatic
static G4long G4MTRandFlat::shootInt ( CLHEP::HepRandomEngine *  anEngine,
G4long  n 
)
inlinestatic
static G4long G4MTRandFlat::shootInt ( CLHEP::HepRandomEngine *  anEngine,
G4long  m,
G4long  n 
)
inlinestatic

Member Data Documentation

G4double G4MTRandFlat::defaultA
private

Definition at line 159 of file G4MTRandFlat.hh.

G4double G4MTRandFlat::defaultB
private

Definition at line 160 of file G4MTRandFlat.hh.

G4bool G4MTRandFlat::deleteEngine
private

Definition at line 158 of file G4MTRandFlat.hh.

unsigned long G4MTRandFlat::firstUnusedBit
private

Definition at line 153 of file G4MTRandFlat.hh.

CLHEP::HepRandomEngine* G4MTRandFlat::localEngine
private

Definition at line 157 of file G4MTRandFlat.hh.

const unsigned long G4MTRandFlat::MSB
staticprivate

Definition at line 148 of file G4MTRandFlat.hh.

const G4int G4MTRandFlat::MSBBits
staticprivate

Definition at line 149 of file G4MTRandFlat.hh.

unsigned long G4MTRandFlat::randomInt
private

Definition at line 152 of file G4MTRandFlat.hh.

G4ThreadLocal unsigned long G4MTRandFlat::staticFirstUnusedBit
staticprivate

Definition at line 155 of file G4MTRandFlat.hh.

G4ThreadLocal unsigned long G4MTRandFlat::staticRandomInt
staticprivate

Definition at line 154 of file G4MTRandFlat.hh.


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