29#ifndef Hurd160Engine_h
30#define Hurd160Engine_h
32#include "CLHEP/Random/defs.h"
33#include "CLHEP/Random/RandomEngine.h"
55 void flatArray(
const int size,
double* vect );
61 void setSeeds(
const long* seeds,
int );
65 void saveStatus(
const char filename[] =
"Hurd160Engine.conf" )
const;
68 void restoreStatus(
const char filename[] =
"Hurd160Engine.conf" );
77 operator unsigned int();
79 virtual std::ostream &
put (std::ostream & os)
const;
80 virtual std::istream &
get (std::istream & is);
82 std::string
name()
const;
83 static std::string
engineName() {
return "Hurd160Engine";}
85 virtual std::istream &
getState ( std::istream & is );
87 std::vector<unsigned long>
put ()
const;
88 bool get (
const std::vector<unsigned long> & v);
89 bool getState (
const std::vector<unsigned long> & v);
99 unsigned int words[5];
105#ifdef ENABLE_BACKWARDS_COMPATIBILITY
107using namespace CLHEP;
static const unsigned int VECTOR_STATE_SIZE
virtual std::istream & get(std::istream &is)
void setSeeds(const long *seeds, int)
void restoreStatus(const char filename[]="Hurd160Engine.conf")
virtual std::istream & getState(std::istream &is)
std::vector< unsigned long > put() const
static std::string engineName()
void flatArray(const int size, double *vect)
void setSeed(long seed, int)
static std::string beginTag()
void saveStatus(const char filename[]="Hurd160Engine.conf") const