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"
33 class RandPoissonQ :
public RandPoisson {
37 inline RandPoissonQ ( HepRandomEngine& anEngine,
double b1=1.0 );
38 inline RandPoissonQ ( HepRandomEngine* anEngine,
double b1=1.0 );
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 );
83 static long shoot( HepRandomEngine* anEngine,
double m=1.0 );
85 static void shootArray ( HepRandomEngine* anEngine,
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;
101 HepRandomEngine &
engine();
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"