28#ifndef Hurd288Engine_h
29#define Hurd288Engine_h
31#include "CLHEP/Random/defs.h"
32#include "CLHEP/Random/RandomEngine.h"
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" );
76 operator unsigned int();
78 virtual std::ostream &
put (std::ostream & os)
const;
79 virtual std::istream &
get (std::istream & is);
81 virtual std::istream &
getState ( std::istream & is );
83 std::string
name()
const;
84 static std::string
engineName() {
return "Hurd288Engine";}
86 std::vector<unsigned long>
put ()
const;
87 bool get (
const std::vector<unsigned long> & v);
88 bool getState (
const std::vector<unsigned long> & v);
98 unsigned int words[9];
104#ifdef ENABLE_BACKWARDS_COMPATIBILITY
106using namespace CLHEP;
virtual std::istream & getState(std::istream &is)
void setSeeds(const long *seeds, int)
void flatArray(const int size, double *vect)
static std::string beginTag()
virtual std::istream & get(std::istream &is)
static std::string engineName()
void setSeed(long seed, int)
void saveStatus(const char filename[]="Hurd288Engine.conf") const
void restoreStatus(const char filename[]="Hurd288Engine.conf")
static const unsigned int VECTOR_STATE_SIZE
std::vector< unsigned long > put() const