42#include "CLHEP/Random/defs.h"
43#include "CLHEP/Random/RandomEngine.h"
58 DualRand(
int rowIndex,
int colIndex);
69 void flatArray(
const int size,
double * vect);
75 void setSeeds(
const long * seeds,
int);
79 void saveStatus(
const char filename[] =
"DualRand.conf")
const;
82 void restoreStatus(
const char filename[] =
"DualRand.conf" );
90 operator unsigned int();
92 virtual std::ostream &
put (std::ostream & os)
const;
93 virtual std::istream &
get (std::istream & is);
95 virtual std::istream &
getState ( std::istream & is );
97 std::string
name()
const;
100 std::vector<unsigned long>
put ()
const;
101 bool get (
const std::vector<unsigned long> & v);
102 bool getState (
const std::vector<unsigned long> & v);
113 Tausworthe(
unsigned int seed);
114 operator unsigned int();
115 void put(std::ostream & os)
const;
116 void put(std::vector<unsigned long> & v)
const;
117 void get(std::istream & is);
118 bool get(std::vector<unsigned long>::const_iterator & iv);
121 unsigned int words[4];
127 IntegerCong(
unsigned int seed,
int streamNumber);
128 operator unsigned int();
129 void put(std::ostream & os)
const;
130 void put(std::vector<unsigned long> & v)
const;
131 void get(std::istream & is);
132 bool get(std::vector<unsigned long>::const_iterator & iv);
134 unsigned int state, multiplier, addend;
138 Tausworthe tausworthe;
139 IntegerCong integerCong;
145#ifdef ENABLE_BACKWARDS_COMPATIBILITY
147using namespace CLHEP;
void setSeeds(const long *seeds, int)
std::vector< unsigned long > put() const
static const unsigned int VECTOR_STATE_SIZE
void restoreStatus(const char filename[]="DualRand.conf")
void setSeed(long seed, int)
void saveStatus(const char filename[]="DualRand.conf") const
void flatArray(const int size, double *vect)
virtual std::istream & get(std::istream &is)
static std::string engineName()
virtual std::istream & getState(std::istream &is)
static std::string beginTag()