37#define RanecuEngine_h 1
39#include "CLHEP/Random/defs.h"
40#include "CLHEP/Random/RandomEngine.h"
62 void flatArray (
const int size,
double* vect);
69 void setSeed (
long index,
int dum=0);
73 void setSeeds (
const long* seeds,
int index=-1);
78 void saveStatus(
const char filename[] =
"Ranecu.conf" )
const;
92 operator unsigned int();
95 virtual std::ostream &
put (std::ostream & os)
const;
96 virtual std::istream &
get (std::istream & is);
98 virtual std::istream &
getState ( std::istream & is );
100 std::string
name()
const;
103 std::vector<unsigned long>
put ()
const;
104 bool get (
const std::vector<unsigned long> & v);
105 bool getState (
const std::vector<unsigned long> & v);
125 void further_randomize (
int seq,
int col,
int index,
int modulus);
129 static const int maxSeq = 215;
137#ifdef ENABLE_BACKWARDS_COMPATIBILITY
139using namespace CLHEP;
void restoreStatus(const char filename[]="Ranecu.conf")
void saveStatus(const char filename[]="Ranecu.conf") const
static const int ecuyer_b
static const int ecuyer_e
static std::string engineName()
static const int ecuyer_f
std::vector< unsigned long > put() const
void setSeed(long index, int dum=0)
static const int ecuyer_d
virtual std::istream & get(std::istream &is)
void flatArray(const int size, double *vect)
virtual std::istream & getState(std::istream &is)
void setIndex(long index)
static const int ecuyer_a
static const unsigned int VECTOR_STATE_SIZE
static const int ecuyer_c
void setSeeds(const long *seeds, int index=-1)
static std::string beginTag()