30#define RandPoisson_h 1
61 std::ostream &
put ( std::ostream & os )
const;
62 std::istream &
get ( std::istream & is );
66 static long shoot(
double m=1.0 );
68 static void shootArray (
const int size,
long* vect,
double m=1.0 );
76 const int size,
long* vect,
double m=1.0 );
82 long fire(
double m );
84 void fireArray (
const int size,
long* vect );
85 void fireArray (
const int size,
long* vect,
double m);
90 std::string
name()
const;
110 status_st[0] = sq; status_st[1] = alxm; status_st[2] = g1;
118 double status[3], oldm;
121 static double status_st[3];
122 static double oldm_st;
123 static const double meanMax_st;
129#include "CLHEP/Random/RandPoisson.icc"
std::ostream & put(std::ostream &os) const
static std::string distributionName()
HepRandomEngine * getLocalEngine()
static double getOldMean()
static double getMaxMean()
static long shoot(double m=1.0)
static void setOldMean(double val)
static void setPStatus(double sq, double alxm, double g1)
static void shootArray(const int size, long *vect, double m=1.0)
void fireArray(const int size, long *vect)
static double * getPStatus()
std::istream & get(std::istream &is)
RandPoisson(HepRandomEngine *anEngine, double m=1.0)
HepRandomEngine & engine()
RandPoisson(HepRandomEngine &anEngine, double m=1.0)