35#define RanluxEngine_h 1
37#include "CLHEP/Random/defs.h"
38#include "CLHEP/Random/RandomEngine.h"
72 void flatArray (
const int size,
double* vect);
75 void setSeed(
long seed,
int lxr=3);
78 void setSeeds(
const long * seeds,
int lxr=3);
82 void saveStatus(
const char filename[] =
"Ranlux.conf" )
const;
97 operator unsigned int();
99 virtual std::ostream &
put (std::ostream & os)
const;
100 virtual std::istream &
get (std::istream & is);
102 virtual std::istream &
getState ( std::istream & is );
104 std::string
name()
const;
107 std::vector<unsigned long>
put ()
const;
108 bool get (
const std::vector<unsigned long> & v);
109 bool getState (
const std::vector<unsigned long> & v);
116 float float_seed_table[24];
120 static const int int_modulus = 0x1000000;
125#ifdef ENABLE_BACKWARDS_COMPATIBILITY
127using namespace CLHEP;
static const unsigned int VECTOR_STATE_SIZE
void flatArray(const int size, double *vect)
void setSeeds(const long *seeds, int lxr=3)
virtual std::istream & getState(std::istream &is)
void saveStatus(const char filename[]="Ranlux.conf") const
std::vector< unsigned long > put() const
static std::string beginTag()
virtual std::istream & get(std::istream &is)
void restoreStatus(const char filename[]="Ranlux.conf")
static std::string engineName()
void setSeed(long seed, int lxr=3)