Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CLHEP::RandPoissonQ Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/externals/clhep/include/CLHEP/Random/RandPoissonQ.h"

Inheritance diagram for CLHEP::RandPoissonQ:
CLHEP::RandPoisson CLHEP::HepRandom

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 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 ()
 
double flat ()
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (const int size, double *vect)
 
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 int tableBoundary ()
 
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 Public Attributes

static const double MAXIMUM_POISSON_DEVIATE
 

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
 

Static Protected Attributes

static const long seedTable [215][2]
 

Private Member Functions

void setupForDefaultMu ()
 

Static Private Member Functions

static long poissonDeviateSmall (HepRandomEngine *e, double mean)
 
static long poissonDeviateQuick (HepRandomEngine *e, double mean)
 
static long poissonDeviateQuick (HepRandomEngine *e, double A0, double A1, double A2, double sig)
 

Private Attributes

double a0
 
double a1
 
double a2
 
double sigma
 

Static Private Attributes

static const double FIRST_MU
 
static const double LAST_MU
 
static const double S
 
static const int BELOW
 
static const int ENTRIES
 

Detailed Description

Author

Definition at line 32 of file RandPoissonQ.h.

Constructor & Destructor Documentation

CLHEP::RandPoissonQ::RandPoissonQ ( HepRandomEngine anEngine,
double  b1 = 1.0 
)
inline
CLHEP::RandPoissonQ::RandPoissonQ ( HepRandomEngine anEngine,
double  b1 = 1.0 
)
inline
virtual CLHEP::RandPoissonQ::~RandPoissonQ ( )
virtual

Member Function Documentation

static int CLHEP::HepRandom::createInstance ( )
staticinherited
static std::string CLHEP::RandPoissonQ::distributionName ( )
inlinestatic

Definition at line 102 of file RandPoissonQ.h.

102 {return "RandPoissonQ";}
HepRandomEngine& CLHEP::RandPoissonQ::engine ( )
virtual

Reimplemented from CLHEP::RandPoisson.

long CLHEP::RandPoissonQ::fire ( )
long CLHEP::RandPoissonQ::fire ( double  m)
void CLHEP::RandPoissonQ::fireArray ( const int  size,
long *  vect 
)
void CLHEP::RandPoissonQ::fireArray ( const int  size,
long *  vect,
double  m 
)
double CLHEP::HepRandom::flat ( )
inherited
double CLHEP::HepRandom::flat ( HepRandomEngine theNewEngine)
inlineinherited
void CLHEP::HepRandom::flatArray ( const int  size,
double *  vect 
)
inherited
void CLHEP::HepRandom::flatArray ( HepRandomEngine theNewEngine,
const int  size,
double *  vect 
)
inlineinherited
std::istream& CLHEP::RandPoissonQ::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::RandPoisson.

HepRandomEngine* CLHEP::RandPoisson::getLocalEngine ( )
inlineprotectedinherited
static double CLHEP::RandPoisson::getMaxMean ( )
inlinestaticprotectedinherited

Definition at line 104 of file RandPoisson.h.

References CLHEP::RandPoisson::meanMax_st.

104 {return meanMax_st;}
static const double meanMax_st
Definition: RandPoisson.h:124
static double CLHEP::RandPoisson::getOldMean ( )
inlinestaticprotectedinherited

Definition at line 102 of file RandPoisson.h.

References CLHEP::RandPoisson::oldm_st.

102 {return oldm_st;}
static CLHEP_THREAD_LOCAL double oldm_st
Definition: RandPoisson.h:123
static double* CLHEP::RandPoisson::getPStatus ( )
inlinestaticprotectedinherited

Definition at line 108 of file RandPoisson.h.

References CLHEP::RandPoisson::status_st.

108 {return status_st;}
static CLHEP_THREAD_LOCAL double status_st[3]
Definition: RandPoisson.h:122
static HepRandomEngine* CLHEP::HepRandom::getTheEngine ( )
staticinherited
static HepRandom* CLHEP::HepRandom::getTheGenerator ( )
staticinherited
static long CLHEP::HepRandom::getTheSeed ( )
staticinherited
static const long* CLHEP::HepRandom::getTheSeeds ( )
staticinherited
static void CLHEP::HepRandom::getTheTableSeeds ( long *  seeds,
int  index 
)
staticinherited
std::string CLHEP::RandPoissonQ::name ( ) const
virtual
double CLHEP::RandPoissonQ::operator() ( )
virtual

Reimplemented from CLHEP::RandPoisson.

double CLHEP::RandPoissonQ::operator() ( double  m)
static long CLHEP::RandPoissonQ::poissonDeviateQuick ( HepRandomEngine e,
double  mean 
)
staticprivate
static long CLHEP::RandPoissonQ::poissonDeviateQuick ( HepRandomEngine e,
double  A0,
double  A1,
double  A2,
double  sig 
)
staticprivate
static long CLHEP::RandPoissonQ::poissonDeviateSmall ( HepRandomEngine e,
double  mean 
)
staticprivate
std::ostream& CLHEP::RandPoissonQ::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::RandPoisson.

static std::istream& CLHEP::HepRandom::restoreDistState ( std::istream &  is)
inlinestaticinherited
static void CLHEP::HepRandom::restoreEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::istream& CLHEP::HepRandom::restoreFullState ( std::istream &  is)
staticinherited
static std::istream& CLHEP::HepRandom::restoreStaticRandomStates ( std::istream &  is)
staticinherited
static std::ostream& CLHEP::HepRandom::saveDistState ( std::ostream &  os)
inlinestaticinherited

Definition at line 134 of file Random.h.

134 {return os;}
static void CLHEP::HepRandom::saveEngineStatus ( const char  filename[] = "Config.conf")
staticinherited
static std::ostream& CLHEP::HepRandom::saveFullState ( std::ostream &  os)
staticinherited
static std::ostream& CLHEP::HepRandom::saveStaticRandomStates ( std::ostream &  os)
staticinherited
static void CLHEP::RandPoisson::setOldMean ( double  val)
inlinestaticprotectedinherited

Definition at line 106 of file RandPoisson.h.

References CLHEP::RandPoisson::oldm_st, and febshutoff_auto::val.

106 {oldm_st = val;}
static CLHEP_THREAD_LOCAL double oldm_st
Definition: RandPoisson.h:123
static void CLHEP::RandPoisson::setPStatus ( double  sq,
double  alxm,
double  g1 
)
inlinestaticprotectedinherited

Definition at line 110 of file RandPoisson.h.

References CLHEP::RandPoisson::getLocalEngine(), and CLHEP::RandPoisson::status_st.

110  {
111  status_st[0] = sq; status_st[1] = alxm; status_st[2] = g1;
112  }
static CLHEP_THREAD_LOCAL double status_st[3]
Definition: RandPoisson.h:122
static void CLHEP::HepRandom::setTheEngine ( HepRandomEngine theNewEngine)
staticinherited
static void CLHEP::HepRandom::setTheSeed ( long  seed,
int  lux = 3 
)
staticinherited
static void CLHEP::HepRandom::setTheSeeds ( const long *  seeds,
int  aux = -1 
)
staticinherited
void CLHEP::RandPoissonQ::setupForDefaultMu ( )
private
static long CLHEP::RandPoissonQ::shoot ( double  m = 1.0)
static
static long CLHEP::RandPoissonQ::shoot ( HepRandomEngine anEngine,
double  m = 1.0 
)
static
static void CLHEP::RandPoissonQ::shootArray ( const int  size,
long *  vect,
double  m = 1.0 
)
static
static void CLHEP::RandPoissonQ::shootArray ( HepRandomEngine anEngine,
const int  size,
long *  vect,
double  m = 1.0 
)
static
static void CLHEP::HepRandom::showEngineStatus ( )
staticinherited
static int CLHEP::RandPoissonQ::tableBoundary ( )
inlinestatic

Member Data Documentation

double CLHEP::RandPoissonQ::a0
private

Definition at line 128 of file RandPoissonQ.h.

double CLHEP::RandPoissonQ::a1
private

Definition at line 129 of file RandPoissonQ.h.

double CLHEP::RandPoissonQ::a2
private

Definition at line 130 of file RandPoissonQ.h.

const int CLHEP::RandPoissonQ::BELOW
staticprivate

Definition at line 146 of file RandPoissonQ.h.

double CLHEP::RandPoisson::defaultMean
protectedinherited

Definition at line 100 of file RandPoisson.h.

const int CLHEP::RandPoissonQ::ENTRIES
staticprivate

Definition at line 147 of file RandPoissonQ.h.

const double CLHEP::RandPoissonQ::FIRST_MU
staticprivate

Definition at line 143 of file RandPoissonQ.h.

const double CLHEP::RandPoissonQ::LAST_MU
staticprivate

Definition at line 144 of file RandPoissonQ.h.

const double CLHEP::RandPoissonQ::MAXIMUM_POISSON_DEVIATE
static

Definition at line 109 of file RandPoissonQ.h.

double CLHEP::RandPoisson::meanMax
protectedinherited

Definition at line 99 of file RandPoisson.h.

const double CLHEP::RandPoissonQ::S
staticprivate

Definition at line 145 of file RandPoissonQ.h.

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 157 of file Random.h.

double CLHEP::RandPoissonQ::sigma
private

Definition at line 131 of file RandPoissonQ.h.


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