40#include "CLHEP/Random/defs.h"
41#include "CLHEP/Random/RandomEngine.h"
69 void flatArray (
const int size,
double* vect);
72 void setSeed(
long seed,
int dum=0);
75 void setSeeds(
const long * seeds,
int dum=0);
79 void saveStatus(
const char filename[] =
"Rand.conf" )
const;
95 operator unsigned int();
97 virtual std::ostream &
put (std::ostream & os)
const;
98 virtual std::istream &
get (std::istream & is);
100 virtual std::istream &
getState ( std::istream & is );
102 std::string
name()
const;
105 std::vector<unsigned long>
put ()
const;
106 bool get (
const std::vector<unsigned long> & v);
107 bool getState (
const std::vector<unsigned long> & v);
120 static int numEngines;
121 static const int maxIndex;
127#ifdef ENABLE_BACKWARDS_COMPATIBILITY
129using namespace CLHEP;
static std::string engineName()
virtual std::istream & get(std::istream &is)
void flatArray(const int size, double *vect)
virtual std::istream & getState(std::istream &is)
void saveStatus(const char filename[]="Rand.conf") const
void setSeed(long seed, int dum=0)
static std::string beginTag()
std::vector< unsigned long > put() const
void restoreStatus(const char filename[]="Rand.conf")
static const unsigned int VECTOR_STATE_SIZE
void setSeeds(const long *seeds, int dum=0)