28#include "CLHEP/Random/defs.h"
29#include "CLHEP/Random/Random.h"
30#include "CLHEP/Utility/memory.h"
62 static double shoot(
double k,
double lambda );
64 static void shootArray (
const int size,
double* vect,
65 double k=1.0,
double lambda=1.0 );
73 double k,
double lambda );
76 double* vect,
double k=1.0,
84 double fire(
double k,
double lambda );
86 void fireArray (
const int size,
double* vect);
87 void fireArray (
const int size,
double* vect,
88 double k,
double lambda );
94 std::ostream &
put ( std::ostream & os )
const;
95 std::istream &
get ( std::istream & is );
97 std::string
name()
const;
109 std::shared_ptr<HepRandomEngine> localEngine;
111 double defaultLambda;
117#ifdef ENABLE_BACKWARDS_COMPATIBILITY
119using namespace CLHEP;
122#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)