21#define RandPoissonQ_h 1
23#include "CLHEP/Random/defs.h"
24#include "CLHEP/Random/Random.h"
25#include "CLHEP/Random/RandPoisson.h"
53 std::ostream &
put ( std::ostream & os )
const;
54 std::istream &
get ( std::istream & is );
76 static long shoot(
double mean=1.0 );
78 static void shootArray (
const int size,
long* vect,
double mean=1.0 );
86 const int size,
long* vect,
double mean=1.0 );
92 long fire(
double mean );
94 void fireArray (
const int size,
long* vect );
95 void fireArray (
const int size,
long* vect,
double mean);
100 std::string
name()
const;
117 void setupForDefaultMu();
123 double A0,
double A1,
double A2,
double sig );
144 static const double FIRST_MU;
145 static const double LAST_MU;
146 static const double S;
147 static const int BELOW;
148 static const int ENTRIES;
154#ifdef ENABLE_BACKWARDS_COMPATIBILITY
156using namespace CLHEP;
159#include "CLHEP/Random/RandPoissonQ.icc"
static void shootArray(const int size, long *vect, double mean=1.0)
RandPoissonQ(HepRandomEngine &anEngine, double b1=1.0)
std::ostream & put(std::ostream &os) const
void fireArray(const int size, long *vect)
RandPoissonQ(HepRandomEngine *anEngine, double b1=1.0)
static int tableBoundary()
static std::string distributionName()
std::istream & get(std::istream &is)
HepRandomEngine & engine()
static const double MAXIMUM_POISSON_DEVIATE
static long shoot(double mean=1.0)
static void shootArray(HepRandomEngine *anEngine, const int size, long *vect, double mean=1.0)