34 #ifndef RanluxEngine_h
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 lux=3);
78 void setSeeds(
const long * seeds,
int lux=3);
82 void saveStatus(
const char filename[] =
"Ranlux.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);
114 float float_seed_table[24];
118 static const int int_modulus = 0x1000000;
119 static int numEngines;
125 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
127 using namespace CLHEP;