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;
105 #include "CLHEP/Random/RandExponential.icc"
static void shootArray(const int size, double *vect, double mean=1.0)
HepRandomEngine & engine()
std::ostream & put(std::ostream &os) const
RandExponential(HepRandomEngine &anEngine, double mean=1.0)
void fireArray(const int size, double *vect)
std::shared_ptr< HepRandomEngine > localEngine
virtual ~RandExponential()
static std::string distributionName()