27#include "CLHEP/Random/defs.h"
28#include "CLHEP/Random/RandPoissonT.h"
29#include "CLHEP/Random/RandPoissonQ.h"
30#include "CLHEP/Random/DoubConv.h"
62 return shoot ( e, xm );
99 for (i=0; i<size; ++i)
105 for (i=0; i<size; ++i) {
112 for (i=0; i<size; ++i) {
119 long pr=os.precision(20);
120 os <<
" " <<
name() <<
"\n";
129 if (inName !=
name()) {
130 is.clear(std::ios::badbit | is.rdstate());
131 std::cerr <<
"Mismatch when expecting to read state of a "
132 <<
name() <<
" distribution\n"
133 <<
"Name found was " << inName
134 <<
"\nistream is left in the badbit state\n";
static HepRandomEngine * getTheEngine()
static int tableBoundary()
static long shoot(double mean=1.0)
RandPoissonT(HepRandomEngine &anEngine, double mean=1.0)
std::istream & get(std::istream &is)
void fireArray(const int size, long *vect)
std::ostream & put(std::ostream &os) const
static long shoot(double mean=1.0)
HepRandomEngine & engine()
static void shootArray(const int size, long *vect, double mean=1.0)
std::ostream & put(std::ostream &os) const
HepRandomEngine * getLocalEngine()
static long shoot(double mean=1.0)
std::istream & get(std::istream &is)
HepRandomEngine & engine()