59 static inline double shoot();
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 );
89 inline double operator()(
double k,
double lambda );
93 std::ostream &
put ( std::ostream & os )
const;
94 std::istream &
get ( std::istream & is );
96 std::string
name()
const;
116 #include "CLHEP/Random/RandGamma.icc"
static std::string distributionName()
HepRandomEngine & engine()
void fireArray(const int size, double *vect)
std::ostream & put(std::ostream &os) const
static double genGamma(HepRandomEngine *anEngine, double k, double lambda)
std::shared_ptr< HepRandomEngine > localEngine
RandGamma(HepRandomEngine &anEngine, double k=1.0, double lambda=1.0)
static void shootArray(const int size, double *vect, double k=1.0, double lambda=1.0)