23#ifndef RandExponential_h
24#define RandExponential_h 1
26#include "CLHEP/Random/defs.h"
27#include "CLHEP/Random/Random.h"
28#include "CLHEP/Utility/memory.h"
56 static double shoot();
58 static double shoot(
double mean );
60 static void shootArray (
const int size,
double* vect,
71 double* vect,
double mean=1.0 );
78 inline double fire(
double mean );
80 void fireArray (
const int size,
double* vect );
81 void fireArray (
const int size,
double* vect,
double mean );
88 std::ostream &
put ( std::ostream & os )
const;
89 std::istream &
get ( std::istream & is );
91 std::string
name()
const;
99 std::shared_ptr<HepRandomEngine> localEngine;
106#ifdef ENABLE_BACKWARDS_COMPATIBILITY
108using namespace CLHEP;
111#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()