28 #ifndef Hurd288Engine_h
29 #define Hurd288Engine_h
31 #include "CLHEP/Random/defs.h"
32 #include "CLHEP/Random/RandomEngine.h"
40 class Hurd288Engine:
public HepRandomEngine {
54 void flatArray(
const int size,
double* vect );
60 void setSeeds(
const long* seeds,
int );
64 void saveStatus(
const char filename[] =
"Hurd288Engine.conf" )
const;
67 void restoreStatus(
const char filename[] =
"Hurd288Engine.conf" );
75 operator unsigned int();
77 virtual std::ostream &
put (std::ostream & os)
const;
78 virtual std::istream &
get (std::istream & is);
80 virtual std::istream &
getState ( std::istream & is );
82 std::string
name()
const;
83 static std::string
engineName() {
return "Hurd288Engine";}
85 std::vector<unsigned long>
put ()
const;
86 bool get (
const std::vector<unsigned long> & v);
87 bool getState (
const std::vector<unsigned long> & v);
92 static int numEngines;
98 unsigned int words[9];
104 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
106 using namespace CLHEP;
109 #endif // Hurd288Engine_h