CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <RandPoissonQ.h>
Public Member Functions | |
RandPoissonQ (HepRandomEngine &anEngine, double b1=1.0) | |
RandPoissonQ (HepRandomEngine *anEngine, double b1=1.0) | |
virtual | ~RandPoissonQ () |
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 () |
Public Member Functions inherited from CLHEP::RandPoisson | |
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 () |
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) |
virtual double | operator() () |
virtual std::string | name () const |
virtual HepRandomEngine & | engine () |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
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 int | tableBoundary () |
Static Public Member Functions inherited from CLHEP::RandPoisson | |
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 Public Member Functions inherited from CLHEP::HepRandom | |
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 () |
Static Public Attributes | |
static const double | MAXIMUM_POISSON_DEVIATE = 2.0E9 |
Additional Inherited Members | |
Protected Member Functions inherited from CLHEP::RandPoisson | |
HepRandomEngine * | getLocalEngine () |
Static Protected Member Functions inherited from CLHEP::RandPoisson | |
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 inherited from CLHEP::RandPoisson | |
double | meanMax |
double | defaultMean |
Static Protected Attributes inherited from CLHEP::HepRandom | |
static const long | seedTable [215][2] |
Definition at line 33 of file RandPoissonQ.h.
|
inline |
|
inline |
|
virtual |
Definition at line 84 of file RandPoissonQ.cc.
|
inlinestatic |
Definition at line 103 of file RandPoissonQ.h.
|
virtual |
long CLHEP::RandPoissonQ::fire | ( | ) |
Definition at line 137 of file RandPoissonQ.cc.
Referenced by fireArray(), main(), operator()(), and testRandPoissonQ().
long CLHEP::RandPoissonQ::fire | ( | double | mean | ) |
Definition at line 133 of file RandPoissonQ.cc.
void CLHEP::RandPoissonQ::fireArray | ( | const int | size, |
long * | vect | ||
) |
Definition at line 189 of file RandPoissonQ.cc.
void CLHEP::RandPoissonQ::fireArray | ( | const int | size, |
long * | vect, | ||
double | mean | ||
) |
Definition at line 184 of file RandPoissonQ.cc.
|
virtual |
Reimplemented from CLHEP::RandPoisson.
Definition at line 576 of file RandPoissonQ.cc.
|
virtual |
Reimplemented from CLHEP::RandPoisson.
Definition at line 53 of file RandPoissonQ.cc.
|
virtual |
Reimplemented from CLHEP::RandPoisson.
Definition at line 125 of file RandPoissonQ.cc.
Definition at line 129 of file RandPoissonQ.cc.
|
virtual |
Reimplemented from CLHEP::RandPoisson.
Definition at line 549 of file RandPoissonQ.cc.
|
static |
Definition at line 121 of file RandPoissonQ.cc.
Referenced by captureStatics(), CLHEP::RandPoissonT::fire(), fire(), main(), randomizeStatics(), shoot(), CLHEP::RandPoissonT::shoot(), and shootArray().
|
static |
Definition at line 145 of file RandPoissonQ.cc.
|
static |
Definition at line 176 of file RandPoissonQ.cc.
|
static |
|
inlinestatic |
Referenced by CLHEP::RandPoissonT::fire(), and CLHEP::RandPoissonT::shoot().
|
static |
Definition at line 110 of file RandPoissonQ.h.