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;
std::shared_ptr< HepRandomEngine > localEngine
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)
static const double meanMax_st
void fireArray(const int size, long *vect)
static CLHEP_THREAD_LOCAL double oldm_st
static CLHEP_THREAD_LOCAL double status_st[3]
static double * getPStatus()
std::istream & get(std::istream &is)
RandPoisson(HepRandomEngine *anEngine, double a1=1.0)
HepRandomEngine & engine()
#define CLHEP_THREAD_LOCAL