20 #ifndef RandPoissonQ_h
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 m=1.0 );
78 static void shootArray (
const int size,
long* vect,
double m=1.0 );
86 const int size,
long* vect,
double m=1.0 );
92 long fire(
double m );
94 void fireArray (
const int size,
long* vect );
95 void fireArray (
const int size,
long* vect,
double m);
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
156 using namespace CLHEP;
159 #include "CLHEP/Random/RandPoissonQ.icc"
static const double MAXIMUM_POISSON_DEVIATE
static std::string distributionName()
std::ostream & put(std::ostream &os) const
static void shootArray(const int size, long *vect, double m=1.0)
void fireArray(const int size, long *vect)
RandPoissonQ(HepRandomEngine &anEngine, double b1=1.0)
static long shoot(double m=1.0)
static int tableBoundary()
HepRandomEngine & engine()