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;
108 std::shared_ptr<HepRandomEngine> localEngine;
110 double defaultLambda;
116 #include "CLHEP/Random/RandGamma.icc"
HepRandomEngine & engine()
void fireArray(const int size, double *vect)
std::ostream & put(std::ostream &os) const
RandGamma(HepRandomEngine &anEngine, double k=1.0, double lambda=1.0)
static std::string distributionName()
static void shootArray(const int size, double *vect, double k=1.0, double lambda=1.0)