23 #ifndef RandExponential_h
24 #define RandExponential_h 1
55 static double shoot();
57 static double shoot(
double mean );
59 static void shootArray (
const int size,
double* vect,
70 double* vect,
double mean=1.0 );
77 inline double fire(
double mean );
79 void fireArray (
const int size,
double* vect );
80 void fireArray (
const int size,
double* vect,
double mean );
87 std::ostream &
put ( std::ostream & os )
const;
88 std::istream &
get ( std::istream & is );
90 std::string
name()
const;
98 std::shared_ptr<HepRandomEngine> localEngine;
105 #include "CLHEP/Random/RandExponential.icc"
HepRandomEngine & engine()
RandExponential(HepRandomEngine &anEngine, double mean=1.0)
static std::string distributionName()
static void shootArray(const int size, double *vect, double mean=1.0)
void fireArray(const int size, double *vect)
std::ostream & put(std::ostream &os) const
virtual ~RandExponential()