61 static double shoot(
double k,
double lambda );
63 static void shootArray (
const int size,
double* vect,
64 double k=1.0,
double lambda=1.0 );
72 double k,
double lambda );
75 double* vect,
double k=1.0,
83 double fire(
double k,
double lambda );
85 void fireArray (
const int size,
double* vect);
86 void fireArray (
const int size,
double* vect,
87 double k,
double lambda );
93 std::ostream &
put ( std::ostream & os )
const;
94 std::istream &
get ( std::istream & is );
96 std::string
name()
const;
110 double defaultLambda;
116#include "CLHEP/Random/RandGamma.icc"
RandGamma(HepRandomEngine &anEngine, double k=1.0, double lambda=1.0)
static double shoot(HepRandomEngine *anEngine)
double operator()(double k, double lambda)
RandGamma(HepRandomEngine *anEngine, double k=1.0, double lambda=1.0)
HepRandomEngine & engine()
static void shootArray(const int size, double *vect, double k=1.0, double lambda=1.0)
static std::string distributionName()
std::ostream & put(std::ostream &os) const
void fireArray(const int size, double *vect)
std::istream & get(std::istream &is)