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

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

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

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 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 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 ()
 

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 Attributes

std::shared_ptr< HepRandomEnginelocalEngine
 
double status [3]
 
double oldm
 

Static Private Attributes

static CLHEP_THREAD_LOCAL double status_st [3]
 
static CLHEP_THREAD_LOCAL double oldm_st
 
static const double meanMax_st
 

Detailed Description

Author

Definition at line 42 of file RandPoisson.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 94 of file RandPoisson.h.

94 {return "RandPoisson";}
HepRandomEngine& CLHEP::RandPoisson::engine ( )
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

long CLHEP::RandPoisson::fire ( )
long CLHEP::RandPoisson::fire ( double  m)
void CLHEP::RandPoisson::fireArray ( const int  size,
long *  vect 
)
void CLHEP::RandPoisson::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::RandPoisson::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

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

Referenced by setPStatus().

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

Definition at line 104 of file RandPoisson.h.

References meanMax_st.

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

Definition at line 102 of file RandPoisson.h.

References oldm_st.

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

Definition at line 108 of file RandPoisson.h.

References 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::RandPoisson::name ( ) const
virtual
double CLHEP::RandPoisson::operator() ( )
virtual

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

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

Reimplemented from CLHEP::HepRandom.

Reimplemented in CLHEP::RandPoissonQ.

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)
inlinestaticprotected

Definition at line 106 of file RandPoisson.h.

References 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 
)
inlinestaticprotected

Definition at line 110 of file RandPoisson.h.

References getLocalEngine(), and 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
static long CLHEP::RandPoisson::shoot ( double  m = 1.0)
static
static long CLHEP::RandPoisson::shoot ( HepRandomEngine anEngine,
double  m = 1.0 
)
static
static void CLHEP::RandPoisson::shootArray ( const int  size,
long *  vect,
double  m = 1.0 
)
static
static void CLHEP::RandPoisson::shootArray ( HepRandomEngine anEngine,
const int  size,
long *  vect,
double  m = 1.0 
)
static
static void CLHEP::HepRandom::showEngineStatus ( )
staticinherited

Member Data Documentation

double CLHEP::RandPoisson::defaultMean
protected

Definition at line 100 of file RandPoisson.h.

std::shared_ptr<HepRandomEngine> CLHEP::RandPoisson::localEngine
private

Definition at line 118 of file RandPoisson.h.

double CLHEP::RandPoisson::meanMax
protected

Definition at line 99 of file RandPoisson.h.

const double CLHEP::RandPoisson::meanMax_st
staticprivate

Definition at line 124 of file RandPoisson.h.

Referenced by getMaxMean().

double CLHEP::RandPoisson::oldm
private

Definition at line 119 of file RandPoisson.h.

CLHEP_THREAD_LOCAL double CLHEP::RandPoisson::oldm_st
staticprivate

Definition at line 123 of file RandPoisson.h.

Referenced by getOldMean(), and setOldMean().

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 157 of file Random.h.

double CLHEP::RandPoisson::status[3]
private

Definition at line 119 of file RandPoisson.h.

CLHEP_THREAD_LOCAL double CLHEP::RandPoisson::status_st[3]
staticprivate

Definition at line 122 of file RandPoisson.h.

Referenced by getPStatus(), and setPStatus().


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