69 static inline double shoot(
double width );
71 static inline double shoot(
double a,
double b );
73 static inline long shootInt(
long n );
75 static inline long shootInt(
long a1,
long n );
82 double lx,
double dx );
100 const int size,
double* vect );
103 const int size,
double* vect,
104 double lx,
double dx );
109 inline double fire();
111 inline double fire(
double width );
113 inline double fire(
double a,
double b );
117 inline long fireInt(
long a1,
long n );
124 double lx,
double dx);
132 std::ostream &
put ( std::ostream & os )
const;
133 std::istream &
get ( std::istream & is );
178 inline void fireBits();
179 static inline void shootBits();
192 static const unsigned long MSB;
193 static const int MSBBits;
196 unsigned long randomInt;
197 unsigned long firstUnusedBit;
201 std::shared_ptr<HepRandomEngine> localEngine;
210#ifdef ENABLE_BACKWARDS_COMPATIBILITY
212using namespace CLHEP;
static void shootArray(const int size, double *vect)
std::ostream & put(std::ostream &os) const
static std::ostream & saveFullState(std::ostream &os)
RandFlat(HepRandomEngine &anEngine)
static std::ostream & saveDistState(std::ostream &os)
double operator()(double width)
static void shootArray(HepRandomEngine *anEngine, const int size, double *vect, double lx, double dx)
void fireArray(const int size, double *vect)
static std::istream & restoreFullState(std::istream &is)
static void shootArray(const int size, double *vect, double lx, double dx)
double operator()(double a, double b)
static void restoreEngineStatus(const char filename[]="Config.conf")
static std::string distributionName()
static void saveEngineStatus(const char filename[]="Config.conf")
static long shootInt(long n)
void fireArray(const int size, double *vect, double lx, double dx)
static std::istream & restoreDistState(std::istream &is)
std::istream & get(std::istream &is)
HepRandomEngine & engine()
#define CLHEP_THREAD_LOCAL