CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Random/RandPoisson.h>
Public Member Functions | |
RandPoisson (HepRandomEngine &anEngine, double a1=1.0) | |
RandPoisson (HepRandomEngine *anEngine, double a1=1.0) | |
virtual | ~RandPoisson () |
std::ostream & | put (std::ostream &os) const |
std::istream & | get (std::istream &is) |
long | fire () |
long | fire (double mean) |
void | fireArray (const int size, long *vect) |
void | fireArray (const int size, long *vect, double mean) |
double | operator() () |
double | operator() (double mean) |
std::string | name () const |
HepRandomEngine & | engine () |
![]() | |
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 mean=1.0) |
static void | shootArray (const int size, long *vect, double mean=1.0) |
static long | shoot (HepRandomEngine *anEngine, double mean=1.0) |
static void | shootArray (HepRandomEngine *anEngine, const int size, long *vect, double mean=1.0) |
static std::string | distributionName () |
![]() | |
static void | setTheSeed (long seed, int lxr=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 HepRandom * | getTheGenerator () |
static void | setTheEngine (HepRandomEngine *theNewEngine) |
static 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 int | createInstance () |
static std::string | distributionName () |
Protected Member Functions | |
HepRandomEngine * | getLocalEngine () |
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 const long | seedTable [215][2] |
Definition at line 43 of file RandPoisson.h.
|
inline |
Definition at line 17 of file RandPoisson.icc.
References defaultMean, CLHEP::HepRandom::HepRandom(), and meanMax.
Referenced by CLHEP::RandPoissonQ::RandPoissonQ(), and CLHEP::RandPoissonQ::RandPoissonQ().
|
inline |
Definition at line 23 of file RandPoisson.icc.
References defaultMean, CLHEP::HepRandom::HepRandom(), and meanMax.
|
virtual |
|
inlinestatic |
Definition at line 95 of file RandPoisson.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandPoissonQ, and CLHEP::RandPoissonT.
long CLHEP::RandPoisson::fire | ( | ) |
long CLHEP::RandPoisson::fire | ( | double | mean | ) |
void CLHEP::RandPoisson::fireArray | ( | const int | size, |
long * | vect ) |
void CLHEP::RandPoisson::fireArray | ( | const int | size, |
long * | vect, | ||
double | mean ) |
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandPoissonQ, and CLHEP::RandPoissonT.
|
inlineprotected |
Definition at line 29 of file RandPoisson.icc.
References CLHEP::HepRandomEngine::get().
|
inlinestaticprotected |
Definition at line 105 of file RandPoisson.h.
|
inlinestaticprotected |
Definition at line 103 of file RandPoisson.h.
|
inlinestaticprotected |
Definition at line 109 of file RandPoisson.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandPoissonQ, and CLHEP::RandPoissonT.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandPoissonQ, and CLHEP::RandPoissonT.
double CLHEP::RandPoisson::operator() | ( | double | mean | ) |
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandPoissonQ, and CLHEP::RandPoissonT.
|
inlinestaticprotected |
Definition at line 107 of file RandPoisson.h.
|
inlinestaticprotected |
Definition at line 111 of file RandPoisson.h.
|
static |
|
static |
|
static |
|
static |
|
protected |
Definition at line 101 of file RandPoisson.h.
Referenced by RandPoisson(), and RandPoisson().
|
protected |
Definition at line 100 of file RandPoisson.h.
Referenced by RandPoisson(), and RandPoisson().