22#ifndef RandExponential_h
23#define RandExponential_h 1
54 static double shoot();
56 static double shoot(
double mean );
58 static void shootArray (
const int size,
double* vect,
69 double* vect,
double mean=1.0 );
76 inline double fire(
double mean );
78 void fireArray (
const int size,
double* vect );
79 void fireArray (
const int size,
double* vect,
double mean );
86 std::ostream &
put ( std::ostream & os )
const;
87 std::istream &
get ( std::istream & is );
89 std::string
name()
const;
97 std::shared_ptr<HepRandomEngine> localEngine;
104#include "CLHEP/Random/RandExponential.icc"
std::ostream & put(std::ostream &os) const
static double shoot(HepRandomEngine *anEngine)
RandExponential(HepRandomEngine &anEngine, double mean=1.0)
static void shootArray(const int size, double *vect, double mean=1.0)
std::istream & get(std::istream &is)
RandExponential(HepRandomEngine *anEngine, double mean=1.0)
void fireArray(const int size, double *vect)
static std::string distributionName()
static double shoot(HepRandomEngine *anEngine, double mean)
virtual ~RandExponential()
HepRandomEngine & engine()