60 static double shoot(
double k,
double lambda );
62 static void shootArray (
const int size,
double* vect,
63 double k=1.0,
double lambda=1.0 );
71 double k,
double lambda );
74 double* vect,
double k=1.0,
82 double fire(
double k,
double lambda );
84 void fireArray (
const int size,
double* vect);
85 void fireArray (
const int size,
double* vect,
86 double k,
double lambda );
92 std::ostream &
put ( std::ostream & os )
const;
93 std::istream &
get ( std::istream & is );
95 std::string
name()
const;
107 std::shared_ptr<HepRandomEngine> localEngine;
109 double defaultLambda;
115#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)