Geant4_10
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | List of all members
CLHEP::RandExpZiggurat Class Reference

#include <RandExpZiggurat.h>

Inheritance diagram for CLHEP::RandExpZiggurat:
Inheritance graph
[legend]
Collaboration diagram for CLHEP::RandExpZiggurat:
Collaboration graph
[legend]

Public Member Functions

 RandExpZiggurat (HepRandomEngine &anEngine, double mean=1.0)
 
 RandExpZiggurat (HepRandomEngine *anEngine, double mean=1.0)
 
virtual ~RandExpZiggurat ()
 
float fire ()
 
float fire (float mean)
 
void fireArray (const int size, float *vect)
 
void fireArray (const int size, double *vect)
 
void fireArray (const int size, float *vect, float mean)
 
void fireArray (const int size, double *vect, double mean)
 
virtual double operator() ()
 
float operator() (float mean)
 
std::ostream & put (std::ostream &os) const
 
std::istream & get (std::istream &is)
 
std::string name () const
 
HepRandomEngineengine ()
 
- Public Member Functions inherited from CLHEP::HepRandom
 HepRandom ()
 
 HepRandom (long seed)
 
 HepRandom (HepRandomEngine &algorithm)
 
 HepRandom (HepRandomEngine *algorithm)
 
virtual ~HepRandom ()
 
double flat ()
 
void flatArray (const int size, double *vect)
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 

Static Public Member Functions

static float shoot ()
 
static float shoot (float mean)
 
static void shootArray (const int size, float *vect, float mean=1.0)
 
static void shootArray (const int size, double *vect, double mean=1.0)
 
static float shoot (HepRandomEngine *anEngine)
 
static float shoot (HepRandomEngine *anEngine, float mean)
 
static void shootArray (HepRandomEngine *anEngine, const int size, float *vect, float mean=1.0)
 
static void shootArray (HepRandomEngine *anEngine, const int size, double *vect, double mean=1.0)
 
static std::string distributionName ()
 
static bool ziggurat_init ()
 
- Static Public Member Functions inherited from CLHEP::HepRandom
static void setTheSeed (long seed, int lux=3)
 
static long getTheSeed ()
 
static void setTheSeeds (const long *seeds, int aux=-1)
 
static const long * getTheSeeds ()
 
static void getTheTableSeeds (long *seeds, int index)
 
static HepRandomgetTheGenerator ()
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static 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 int createInstance ()
 
static std::string distributionName ()
 

Static Protected Member Functions

static unsigned long ziggurat_SHR3 (HepRandomEngine *anEngine)
 
static float ziggurat_UNI (HepRandomEngine *anEngine)
 
static float ziggurat_REXP (HepRandomEngine *anEngine)
 
static float ziggurat_efix (unsigned long jz, HepRandomEngine *anEngine)
 

Static Protected Attributes

static unsigned long kn [128]
 
static unsigned long ke [256]
 
static float wn [128]
 
static float fn [128]
 
static float we [256]
 
static float fe [256]
 
static bool ziggurat_is_init =RandExpZiggurat::ziggurat_init()
 
- Static Protected Attributes inherited from CLHEP::HepRandom
static const long seedTable [215][2]
 

Detailed Description

Author
ATLAS

Definition at line 34 of file RandExpZiggurat.h.

Constructor & Destructor Documentation

CLHEP::RandExpZiggurat::RandExpZiggurat ( HepRandomEngine anEngine,
double  mean = 1.0 
)
inline

Definition at line 156 of file RandExpZiggurat.h.

Here is the call graph for this function:

CLHEP::RandExpZiggurat::RandExpZiggurat ( HepRandomEngine anEngine,
double  mean = 1.0 
)
inline

Definition at line 161 of file RandExpZiggurat.h.

Here is the call graph for this function:

CLHEP::RandExpZiggurat::~RandExpZiggurat ( )
virtual

Definition at line 18 of file RandExpZiggurat.cc.

Member Function Documentation

static std::string CLHEP::RandExpZiggurat::distributionName ( )
inlinestatic

Definition at line 107 of file RandExpZiggurat.h.

HepRandomEngine & CLHEP::RandExpZiggurat::engine ( )
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 16 of file RandExpZiggurat.cc.

float CLHEP::RandExpZiggurat::fire ( )
inline

Definition at line 83 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

float CLHEP::RandExpZiggurat::fire ( float  mean)
inline

Definition at line 84 of file RandExpZiggurat.h.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
float *  vect 
)

Definition at line 52 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
double *  vect 
)

Definition at line 57 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
float *  vect,
float  mean 
)

Definition at line 62 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::fireArray ( const int  size,
double *  vect,
double  mean 
)

Definition at line 67 of file RandExpZiggurat.cc.

Here is the call graph for this function:

std::istream & CLHEP::RandExpZiggurat::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 90 of file RandExpZiggurat.cc.

Here is the call graph for this function:

std::string CLHEP::RandExpZiggurat::name ( ) const
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 14 of file RandExpZiggurat.cc.

Here is the caller graph for this function:

double CLHEP::RandExpZiggurat::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 27 of file RandExpZiggurat.cc.

Here is the call graph for this function:

float CLHEP::RandExpZiggurat::operator() ( float  mean)
inline

Definition at line 97 of file RandExpZiggurat.h.

Here is the call graph for this function:

std::ostream & CLHEP::RandExpZiggurat::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::HepRandom.

Definition at line 72 of file RandExpZiggurat.cc.

Here is the call graph for this function:

static float CLHEP::RandExpZiggurat::shoot ( )
inlinestatic

Definition at line 54 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

static float CLHEP::RandExpZiggurat::shoot ( float  mean)
inlinestatic

Definition at line 55 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

static float CLHEP::RandExpZiggurat::shoot ( HepRandomEngine anEngine)
inlinestatic

Definition at line 68 of file RandExpZiggurat.h.

Here is the call graph for this function:

static float CLHEP::RandExpZiggurat::shoot ( HepRandomEngine anEngine,
float  mean 
)
inlinestatic

Definition at line 69 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

void CLHEP::RandExpZiggurat::shootArray ( const int  size,
float *  vect,
float  mean = 1.0 
)
static

Definition at line 32 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::shootArray ( const int  size,
double *  vect,
double  mean = 1.0 
)
static

Definition at line 37 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::shootArray ( HepRandomEngine anEngine,
const int  size,
float *  vect,
float  mean = 1.0 
)
static

Definition at line 42 of file RandExpZiggurat.cc.

Here is the call graph for this function:

void CLHEP::RandExpZiggurat::shootArray ( HepRandomEngine anEngine,
const int  size,
double *  vect,
double  mean = 1.0 
)
static

Definition at line 47 of file RandExpZiggurat.cc.

Here is the call graph for this function:

float CLHEP::RandExpZiggurat::ziggurat_efix ( unsigned long  jz,
HepRandomEngine anEngine 
)
staticprotected

Definition at line 111 of file RandExpZiggurat.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CLHEP::RandExpZiggurat::ziggurat_init ( )
static

Definition at line 129 of file RandExpZiggurat.cc.

Here is the caller graph for this function:

static float CLHEP::RandExpZiggurat::ziggurat_REXP ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 135 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned long CLHEP::RandExpZiggurat::ziggurat_SHR3 ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 133 of file RandExpZiggurat.h.

Here is the caller graph for this function:

static float CLHEP::RandExpZiggurat::ziggurat_UNI ( HepRandomEngine anEngine)
inlinestaticprotected

Definition at line 134 of file RandExpZiggurat.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

float CLHEP::RandExpZiggurat::fe
staticprotected

Definition at line 129 of file RandExpZiggurat.h.

float CLHEP::RandExpZiggurat::fn
staticprotected

Definition at line 129 of file RandExpZiggurat.h.

unsigned long CLHEP::RandExpZiggurat::ke
staticprotected

Definition at line 128 of file RandExpZiggurat.h.

unsigned long CLHEP::RandExpZiggurat::kn
staticprotected

Definition at line 128 of file RandExpZiggurat.h.

float CLHEP::RandExpZiggurat::we
staticprotected

Definition at line 129 of file RandExpZiggurat.h.

float CLHEP::RandExpZiggurat::wn
staticprotected

Definition at line 129 of file RandExpZiggurat.h.

bool CLHEP::RandExpZiggurat::ziggurat_is_init =RandExpZiggurat::ziggurat_init()
staticprotected

Definition at line 131 of file RandExpZiggurat.h.


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