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

#include <RandPoisson.h>

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

Public Member Functions

 RandPoisson (HepRandomEngine &anEngine, double m=1.0)
 
 RandPoisson (HepRandomEngine *anEngine, double m=1.0)
 
virtual ~RandPoisson ()
 
std::ostream & put (std::ostream &os) const
 
std::istream & get (std::istream &is)
 
long fire ()
 
long fire (double m)
 
void fireArray (const int size, long *vect)
 
void fireArray (const int size, long *vect, double m)
 
double operator() ()
 
double operator() (double m)
 
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 long shoot (double m=1.0)
 
static void shootArray (const int size, long *vect, double m=1.0)
 
static long shoot (HepRandomEngine *anEngine, double m=1.0)
 
static void shootArray (HepRandomEngine *anEngine, const int size, long *vect, double m=1.0)
 
static std::string distributionName ()
 
- 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 ()
 

Protected Member Functions

HepRandomEnginegetLocalEngine ()
 

Static Protected Member Functions

static double getOldMean ()
 
static double getMaxMean ()
 
static void setOldMean (double val)
 
static double * getPStatus ()
 
static void setPStatus (double sq, double alxm, double g1)
 

Protected Attributes

double meanMax
 
double defaultMean
 

Additional Inherited Members

- Static Protected Attributes inherited from CLHEP::HepRandom
static const long seedTable [215][2]
 

Detailed Description

Author

Definition at line 41 of file RandPoisson.h.

Constructor & Destructor Documentation

CLHEP::RandPoisson::RandPoisson ( HepRandomEngine anEngine,
double  m = 1.0 
)
inline
CLHEP::RandPoisson::RandPoisson ( HepRandomEngine anEngine,
double  m = 1.0 
)
inline
CLHEP::RandPoisson::~RandPoisson ( )
virtual

Definition at line 43 of file RandPoisson.cc.

Member Function Documentation

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

Definition at line 93 of file RandPoisson.h.

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 36 of file RandPoisson.cc.

Here is the caller graph for this function:

long CLHEP::RandPoisson::fire ( )

Definition at line 213 of file RandPoisson.cc.

Here is the caller graph for this function:

long CLHEP::RandPoisson::fire ( double  m)

Definition at line 217 of file RandPoisson.cc.

Here is the call graph for this function:

void CLHEP::RandPoisson::fireArray ( const int  size,
long *  vect 
)

Definition at line 269 of file RandPoisson.cc.

Here is the call graph for this function:

void CLHEP::RandPoisson::fireArray ( const int  size,
long *  vect,
double  m 
)

Definition at line 275 of file RandPoisson.cc.

Here is the call graph for this function:

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 302 of file RandPoisson.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

HepRandomEngine* CLHEP::RandPoisson::getLocalEngine ( )
inlineprotected

Here is the caller graph for this function:

static double CLHEP::RandPoisson::getMaxMean ( )
inlinestaticprotected

Definition at line 103 of file RandPoisson.h.

Here is the caller graph for this function:

static double CLHEP::RandPoisson::getOldMean ( )
inlinestaticprotected

Definition at line 101 of file RandPoisson.h.

Here is the caller graph for this function:

static double* CLHEP::RandPoisson::getPStatus ( )
inlinestaticprotected

Definition at line 107 of file RandPoisson.h.

Here is the caller graph for this function:

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 35 of file RandPoisson.cc.

Here is the caller graph for this function:

double CLHEP::RandPoisson::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 46 of file RandPoisson.cc.

Here is the call graph for this function:

double CLHEP::RandPoisson::operator() ( double  m)

Definition at line 50 of file RandPoisson.cc.

Here is the call graph for this function:

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

Definition at line 281 of file RandPoisson.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

static void CLHEP::RandPoisson::setOldMean ( double  val)
inlinestaticprotected

Definition at line 105 of file RandPoisson.h.

Here is the caller graph for this function:

static void CLHEP::RandPoisson::setPStatus ( double  sq,
double  alxm,
double  g1 
)
inlinestaticprotected

Definition at line 109 of file RandPoisson.h.

Here is the caller graph for this function:

long CLHEP::RandPoisson::shoot ( double  m = 1.0)
static

Definition at line 91 of file RandPoisson.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

long CLHEP::RandPoisson::shoot ( HepRandomEngine anEngine,
double  m = 1.0 
)
static

Definition at line 152 of file RandPoisson.cc.

Here is the call graph for this function:

void CLHEP::RandPoisson::shootArray ( const int  size,
long *  vect,
double  m = 1.0 
)
static

Definition at line 146 of file RandPoisson.cc.

Here is the call graph for this function:

void CLHEP::RandPoisson::shootArray ( HepRandomEngine anEngine,
const int  size,
long *  vect,
double  m = 1.0 
)
static

Definition at line 206 of file RandPoisson.cc.

Here is the call graph for this function:

Member Data Documentation

double CLHEP::RandPoisson::defaultMean
protected

Definition at line 99 of file RandPoisson.h.

double CLHEP::RandPoisson::meanMax
protected

Definition at line 98 of file RandPoisson.h.


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