CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <Ranlux64Engine.h>
Public Member Functions | |
Ranlux64Engine (std::istream &is) | |
Ranlux64Engine () | |
Ranlux64Engine (long seed, int lux=1) | |
Ranlux64Engine (int rowIndex, int colIndex, int lux) | |
virtual | ~Ranlux64Engine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=1) |
void | setSeeds (const long *seeds, int lux=1) |
void | saveStatus (const char filename[]="Ranlux64.conf") const |
void | restoreStatus (const char filename[]="Ranlux64.conf") |
void | showStatus () const |
int | getLuxury () const |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Ranlux64Engine (std::istream &is) | |
Ranlux64Engine () | |
Ranlux64Engine (long seed, int lux=1) | |
Ranlux64Engine (int rowIndex, int colIndex, int lux) | |
virtual | ~Ranlux64Engine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=1) |
void | setSeeds (const long *seeds, int lux=1) |
void | saveStatus (const char filename[]="Ranlux64.conf") const |
void | restoreStatus (const char filename[]="Ranlux64.conf") |
void | showStatus () const |
int | getLuxury () const |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Ranlux64Engine (std::istream &is) | |
Ranlux64Engine () | |
Ranlux64Engine (long seed, int lux=1) | |
Ranlux64Engine (int rowIndex, int colIndex, int lux) | |
virtual | ~Ranlux64Engine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=1) |
void | setSeeds (const long *seeds, int lux=1) |
void | saveStatus (const char filename[]="Ranlux64.conf") const |
void | restoreStatus (const char filename[]="Ranlux64.conf") |
void | showStatus () const |
int | getLuxury () const |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Ranlux64Engine (std::istream &is) | |
Ranlux64Engine () | |
Ranlux64Engine (long seed, int lux=1) | |
Ranlux64Engine (int rowIndex, int colIndex, int lux) | |
virtual | ~Ranlux64Engine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=1) |
void | setSeeds (const long *seeds, int lux=1) |
void | saveStatus (const char filename[]="Ranlux64.conf") const |
void | restoreStatus (const char filename[]="Ranlux64.conf") |
void | showStatus () const |
int | getLuxury () const |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
Static Public Member Functions | |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
static std::string | beginTag () |
static std::string | engineName () |
Static Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 30 |
Definition at line 50 of file Matrix/CLHEP/Random/Ranlux64Engine.h.
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | std::istream & | is | ) |
Definition at line 147 of file Ranlux64Engine.cc.
Definition at line 104 of file Ranlux64Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | long | seed, |
int | lux = 1 |
||
) |
Definition at line 123 of file Ranlux64Engine.cc.
References setSeeds().
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
Definition at line 133 of file Ranlux64Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Ranlux64Engine::~Ranlux64Engine | ( | ) | [virtual] |
Definition at line 153 of file Ranlux64Engine.cc.
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | std::istream & | is | ) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | long | seed, |
int | lux = 1 |
||
) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine | ( | ) | [virtual] |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | std::istream & | is | ) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | long | seed, |
int | lux = 1 |
||
) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine | ( | ) | [virtual] |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | std::istream & | is | ) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | long | seed, |
int | lux = 1 |
||
) |
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
virtual CLHEP::Ranlux64Engine::~Ranlux64Engine | ( | ) | [virtual] |
std::string CLHEP::Ranlux64Engine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 674 of file Ranlux64Engine.cc.
static std::string CLHEP::Ranlux64Engine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::Ranlux64Engine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::Ranlux64Engine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::Ranlux64Engine::engineName | ( | ) | [inline, static] |
Definition at line 93 of file RandomObjects/CLHEP/Random/Ranlux64Engine.h.
static std::string CLHEP::Ranlux64Engine::engineName | ( | ) | [inline, static] |
Definition at line 93 of file Random/Random/Ranlux64Engine.h.
static std::string CLHEP::Ranlux64Engine::engineName | ( | ) | [inline, static] |
Definition at line 93 of file Matrix/CLHEP/Random/Ranlux64Engine.h.
Referenced by restoreStatus().
static std::string CLHEP::Ranlux64Engine::engineName | ( | ) | [inline, static] |
Definition at line 93 of file Random/CLHEP/Random/Ranlux64Engine.h.
double CLHEP::Ranlux64Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::Ranlux64Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::Ranlux64Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 155 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::twoToMinus_49().
Referenced by check_sequence(), flatArray(), and valid_range().
double CLHEP::Ranlux64Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 372 of file Ranlux64Engine.cc.
References flat().
void CLHEP::Ranlux64Engine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
std::istream & CLHEP::Ranlux64Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 656 of file Ranlux64Engine.cc.
References getState().
virtual std::istream& CLHEP::Ranlux64Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::Ranlux64Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::Ranlux64Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 720 of file Ranlux64Engine.cc.
References getState().
bool CLHEP::Ranlux64Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
int CLHEP::Ranlux64Engine::getLuxury | ( | ) | const [inline] |
Definition at line 84 of file Matrix/CLHEP/Random/Ranlux64Engine.h.
int CLHEP::Ranlux64Engine::getLuxury | ( | ) | const [inline] |
Definition at line 84 of file Random/Random/Ranlux64Engine.h.
int CLHEP::Ranlux64Engine::getLuxury | ( | ) | const [inline] |
Definition at line 84 of file Random/CLHEP/Random/Ranlux64Engine.h.
int CLHEP::Ranlux64Engine::getLuxury | ( | ) | const [inline] |
Definition at line 84 of file RandomObjects/CLHEP/Random/Ranlux64Engine.h.
virtual std::istream& CLHEP::Ranlux64Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::Ranlux64Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::Ranlux64Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 678 of file Ranlux64Engine.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
virtual std::istream& CLHEP::Ranlux64Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::Ranlux64Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 729 of file Ranlux64Engine.cc.
References CLHEP::DoubConv::longs2double(), and VECTOR_STATE_SIZE.
bool CLHEP::Ranlux64Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::string CLHEP::Ranlux64Engine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::Ranlux64Engine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::Ranlux64Engine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 102 of file Ranlux64Engine.cc.
std::string CLHEP::Ranlux64Engine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::ostream & CLHEP::Ranlux64Engine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 615 of file Ranlux64Engine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
virtual std::ostream& CLHEP::Ranlux64Engine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::Ranlux64Engine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::Ranlux64Engine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::Ranlux64Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::Ranlux64Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector< unsigned long > CLHEP::Ranlux64Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 640 of file Ranlux64Engine.cc.
References CLHEP::DoubConv::dto2longs().
Referenced by put(), and saveStatus().
std::vector<unsigned long> CLHEP::Ranlux64Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::restoreStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::restoreStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 558 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
void CLHEP::Ranlux64Engine::restoreStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::restoreStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::saveStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::saveStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::saveStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 526 of file Ranlux64Engine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::Ranlux64Engine::saveStatus | ( | const char | filename[] = "Ranlux64.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeed | ( | long | seed, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeed | ( | long | seed, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeed | ( | long | seed, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeed | ( | long | seed, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 378 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::theSeed, CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_48().
Referenced by check_sequence(), setSeeds(), and valid_range().
void CLHEP::Ranlux64Engine::setSeeds | ( | const long * | seeds, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeeds | ( | const long * | seeds, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 453 of file Ranlux64Engine.cc.
References setSeed(), CLHEP::HepRandomEngine::theSeed, CLHEP::HepRandomEngine::theSeeds, CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_48().
Referenced by Ranlux64Engine().
void CLHEP::Ranlux64Engine::setSeeds | ( | const long * | seeds, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::setSeeds | ( | const long * | seeds, |
int | lux = 1 |
||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 599 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::theSeed.
void CLHEP::Ranlux64Engine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::Ranlux64Engine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
static const unsigned int CLHEP::Ranlux64Engine::VECTOR_STATE_SIZE = 30 [static] |
Definition at line 99 of file Matrix/CLHEP/Random/Ranlux64Engine.h.
Referenced by getState(), and restoreStatus().