41 #ifndef HepRanshiEngine_h
42 #define HepRanshiEngine_h
66 void flatArray(
const int size,
double* vect);
72 void setSeeds(
const long* seeds,
int);
76 void saveStatus(
const char filename[] =
"RanshiEngine.conf")
const;
79 void restoreStatus(
const char filename[] =
"RanshiEngine.conf");
87 operator unsigned int();
89 virtual std::ostream &
put (std::ostream & os)
const;
90 virtual std::istream &
get (std::istream & is);
92 virtual std::istream &
getState ( std::istream & is );
94 std::string
name()
const;
97 std::vector<unsigned long>
put ()
const;
98 bool get (
const std::vector<unsigned long> &
v);
99 bool getState (
const std::vector<unsigned long> &
v);
102 static int numEngines;
103 enum {numBuff = 512};
105 unsigned int halfBuff, numFlats;
106 unsigned int buffer[numBuff];
107 unsigned int redSpin;
109 static const unsigned int VECTOR_STATE_SIZE = numBuff + 4;
115 #endif // HepRanshiEngine_h