30 #define RandPoisson_h 1
62 std::ostream &
put ( std::ostream & os )
const;
63 std::istream &
get ( std::istream & is );
67 static long shoot(
double m=1.0 );
69 static void shootArray (
const int size,
long* vect,
double m=1.0 );
77 const int size,
long* vect,
double m=1.0 );
83 long fire(
double m );
85 void fireArray (
const int size,
long* vect );
86 void fireArray (
const int size,
long* vect,
double m);
91 std::string
name()
const;
111 status_st[0] = sq; status_st[1] = alxm; status_st[2] = g1;
118 std::shared_ptr<HepRandomEngine> localEngine;
119 double status[3], oldm;
124 static const double meanMax_st;
130 #include "CLHEP/Random/RandPoisson.icc"
static constexpr double m
static double * getPStatus()
static void setOldMean(double val)
static long shoot(double m=1.0)
void fireArray(const int size, long *vect)
static void setPStatus(double sq, double alxm, double g1)
static std::string distributionName()
HepRandomEngine * getLocalEngine()
std::ostream & put(std::ostream &os) const
HepRandomEngine & engine()
static void shootArray(const int size, long *vect, double m=1.0)
static double getMaxMean()
#define CLHEP_THREAD_LOCAL
static double getOldMean()
RandPoisson(HepRandomEngine &anEngine, double a1=1.0)