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::istream & restoreFullState(std::istream &is)
static void saveEngineStatus(const char filename[]="Config.conf")
static std::istream & restoreDistState(std::istream &is)
HepRandomEngine & engine()
static std::ostream & saveDistState(std::ostream &os)
void fireArray(const int size, double *vect)
RandGauss(HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0)
shared_ptr< HepRandomEngine > localEngine
static void shootArray(const int size, double *vect, double mean=0.0, double stdDev=1.0)
static std::string distributionName()
virtual double operator()()
static void setFlag(bool val)
static void restoreEngineStatus(const char filename[]="Config.conf")
static void setVal(double nextVal)
static std::ostream & saveFullState(std::ostream &os)
std::ostream & put(std::ostream &os) const