63 static double shoot();
65 static inline double shoot(
double mean,
double stdDev );
67 static void shootArray (
const int size,
double* vect,
68 double mean=0.0,
double stdDev=1.0 );
76 double mean,
double stdDev );
79 double* vect,
double mean=0.0,
87 inline double fire(
double mean,
double stdDev );
89 void fireArray (
const int size,
double* vect);
90 void fireArray (
const int size,
double* vect,
91 double mean,
double stdDev );
94 virtual double operator()(
double mean,
double stdDev );
96 std::string
name()
const;
104 std::ostream &
put ( std::ostream & os )
const;
105 std::istream &
get ( std::istream & is );
113 static void setFlag(
bool val ) {set_st = val;}
115 bool getF()
const {
return set;}
117 void setF(
bool val ) {set = val;}
145 static double getVal() {
return nextGauss_st;}
147 static void setVal(
double nextVal ) {nextGauss_st = nextVal;}
163 static double nextGauss_st;
169#include "CLHEP/Random/RandGauss.icc"
static std::ostream & saveDistState(std::ostream &os)
static std::istream & restoreFullState(std::istream &is)
static void restoreEngineStatus(const char filename[]="Config.conf")
std::istream & get(std::istream &is)
std::ostream & put(std::ostream &os) const
RandGauss(HepRandomEngine *anEngine, double mean=0.0, double stdDev=1.0)
void fireArray(const int size, double *vect)
RandGauss(HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0)
double fire(double mean, double stdDev)
static void shootArray(const int size, double *vect, double mean=0.0, double stdDev=1.0)
HepRandomEngine & engine()
static std::ostream & saveFullState(std::ostream &os)
shared_ptr< HepRandomEngine > localEngine
static double shoot(double mean, double stdDev)
static std::string distributionName()
static void setVal(double nextVal)
static double shoot(HepRandomEngine *anEngine, double mean, double stdDev)
static void setFlag(bool val)
static std::istream & restoreDistState(std::istream &is)
virtual double operator()()
static void saveEngineStatus(const char filename[]="Config.conf")