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