Geant4  10.02.p03
G4MTRandExponential Class Reference

#include <G4MTRandExponential.hh>

Inheritance diagram for G4MTRandExponential:
Collaboration diagram for G4MTRandExponential:

Public Member Functions

 G4MTRandExponential (CLHEP::HepRandomEngine &anEngine, G4double mean=1.0)
 
 G4MTRandExponential (CLHEP::HepRandomEngine *anEngine, G4double mean=1.0)
 
virtual ~G4MTRandExponential ()
 
G4double fire ()
 
G4double fire (G4double mean)
 
void fireArray (const G4int size, G4double *vect)
 
void fireArray (const G4int size, G4double *vect, G4double mean)
 
G4double operator() ()
 
G4double operator() (G4double mean)
 
- 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 mean)
 
static void shootArray (const G4int size, G4double *vect, G4double mean=1.0)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine, G4double mean)
 
static void shootArray (CLHEP::HepRandomEngine *anEngine, const G4int size, G4double *vect, G4double mean=1.0)
 
- 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::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 ()
 

Private Attributes

CLHEP::HepRandomEnginelocalEngine
 
G4bool deleteEngine
 
G4double defaultMean
 

Detailed Description

Definition at line 40 of file G4MTRandExponential.hh.

Constructor & Destructor Documentation

◆ G4MTRandExponential() [1/2]

G4MTRandExponential::G4MTRandExponential ( CLHEP::HepRandomEngine anEngine,
G4double  mean = 1.0 
)
inline

◆ G4MTRandExponential() [2/2]

G4MTRandExponential::G4MTRandExponential ( CLHEP::HepRandomEngine anEngine,
G4double  mean = 1.0 
)
inline

◆ ~G4MTRandExponential()

virtual G4MTRandExponential::~G4MTRandExponential ( )
virtual

Member Function Documentation

◆ fire() [1/2]

G4double G4MTRandExponential::fire ( )
inline

◆ fire() [2/2]

G4double G4MTRandExponential::fire ( G4double  mean)
inline

◆ fireArray() [1/2]

void G4MTRandExponential::fireArray ( const G4int  size,
G4double vect 
)

◆ fireArray() [2/2]

void G4MTRandExponential::fireArray ( const G4int  size,
G4double vect,
G4double  mean 
)

◆ operator()() [1/2]

G4double G4MTRandExponential::operator() ( )
virtual

Reimplemented from G4MTHepRandom.

◆ operator()() [2/2]

G4double G4MTRandExponential::operator() ( G4double  mean)

◆ shoot() [1/4]

static G4double G4MTRandExponential::shoot ( )
static

◆ shoot() [2/4]

static G4double G4MTRandExponential::shoot ( G4double  mean)
static

◆ shoot() [3/4]

static G4double G4MTRandExponential::shoot ( CLHEP::HepRandomEngine anEngine)
inlinestatic

◆ shoot() [4/4]

static G4double G4MTRandExponential::shoot ( CLHEP::HepRandomEngine anEngine,
G4double  mean 
)
inlinestatic

◆ shootArray() [1/2]

static void G4MTRandExponential::shootArray ( const G4int  size,
G4double vect,
G4double  mean = 1.0 
)
static

◆ shootArray() [2/2]

static void G4MTRandExponential::shootArray ( CLHEP::HepRandomEngine anEngine,
const G4int  size,
G4double vect,
G4double  mean = 1.0 
)
static

Member Data Documentation

◆ defaultMean

G4double G4MTRandExponential::defaultMean
private

Definition at line 95 of file G4MTRandExponential.hh.

◆ deleteEngine

G4bool G4MTRandExponential::deleteEngine
private

Definition at line 94 of file G4MTRandExponential.hh.

◆ localEngine

CLHEP::HepRandomEngine* G4MTRandExponential::localEngine
private

Definition at line 93 of file G4MTRandExponential.hh.


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