38#ifndef Ranlux64Engine_h
39#define Ranlux64Engine_h
50class Ranlux64Engine :
public HepRandomEngine {
75 void saveStatus(
const char filename[] =
"Ranlux64.conf" )
const;
87 virtual std::ostream &
put (std::ostream & os)
const;
88 virtual std::istream &
get (std::istream & is);
90 virtual std::istream &
getState ( std::istream & is );
93 static std::string
engineName() {
return "Ranlux64Engine";}
95 std::vector<unsigned long>
put ()
const;
96 bool get (
const std::vector<unsigned long> & v);
97 bool getState (
const std::vector<unsigned long> & v);
104 void advance(
int dozens);
115 static int numEngines;
122#ifdef ENABLE_BACKWARDS_COMPATIBILITY
124using namespace CLHEP;
void setSeeds(const long *seeds, int lux=1)
void restoreStatus(const char filename[]="Ranlux64.conf")
std::vector< unsigned long > put() const
static std::string engineName()
static const unsigned int VECTOR_STATE_SIZE
bool getState(const std::vector< unsigned long > &v)
bool get(const std::vector< unsigned long > &v)
void saveStatus(const char filename[]="Ranlux64.conf") const
virtual std::istream & get(std::istream &is)
virtual ~Ranlux64Engine()
Ranlux64Engine(std::istream &is)
void flatArray(const int size, double *vect)
void setSeed(long seed, int lux=1)
virtual std::ostream & put(std::ostream &os) const
Ranlux64Engine(long seed, int lux=1)
Ranlux64Engine(int rowIndex, int colIndex, int lux)
virtual std::istream & getState(std::istream &is)
static std::string beginTag()