CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <RanshiEngine.h>
Public Member Functions | |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
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) |
RanshiEngine () | |
RanshiEngine (std::istream &is) | |
RanshiEngine (long seed) | |
RanshiEngine (int rowIndex, int colIndex) | |
virtual | ~RanshiEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int) |
void | setSeeds (const long *seeds, int) |
void | saveStatus (const char filename[]="RanshiEngine.conf") const |
void | restoreStatus (const char filename[]="RanshiEngine.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
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 () |
Definition at line 53 of file Matrix/CLHEP/Random/RanshiEngine.h.
Definition at line 51 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
Referenced by setSeed().
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
Definition at line 66 of file RanshiEngine.cc.
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
Definition at line 73 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 88 of file RanshiEngine.cc.
References flat(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::RanshiEngine::~RanshiEngine | ( | ) | [virtual] |
Definition at line 102 of file RanshiEngine.cc.
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::RanshiEngine::~RanshiEngine | ( | ) | [virtual] |
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::RanshiEngine::~RanshiEngine | ( | ) | [virtual] |
CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
CLHEP::RanshiEngine::RanshiEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
virtual CLHEP::RanshiEngine::~RanshiEngine | ( | ) | [virtual] |
std::string CLHEP::RanshiEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 308 of file RanshiEngine.cc.
static std::string CLHEP::RanshiEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanshiEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanshiEngine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
static std::string CLHEP::RanshiEngine::engineName | ( | ) | [inline, static] |
Definition at line 96 of file Random/CLHEP/Random/RanshiEngine.h.
static std::string CLHEP::RanshiEngine::engineName | ( | ) | [inline, static] |
Definition at line 96 of file RandomObjects/CLHEP/Random/RanshiEngine.h.
static std::string CLHEP::RanshiEngine::engineName | ( | ) | [inline, static] |
Definition at line 96 of file Random/Random/RanshiEngine.h.
static std::string CLHEP::RanshiEngine::engineName | ( | ) | [inline, static] |
Definition at line 96 of file Matrix/CLHEP/Random/RanshiEngine.h.
Referenced by restoreStatus().
double CLHEP::RanshiEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanshiEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanshiEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
double CLHEP::RanshiEngine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 104 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray(), and RanshiEngine().
void CLHEP::RanshiEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 119 of file RanshiEngine.cc.
References flat().
void CLHEP::RanshiEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::flatArray | ( | const int | size, |
double * | vect | ||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanshiEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::RanshiEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 291 of file RanshiEngine.cc.
References getState().
virtual std::istream& CLHEP::RanshiEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanshiEngine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 350 of file RanshiEngine.cc.
References getState().
bool CLHEP::RanshiEngine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanshiEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::istream& CLHEP::RanshiEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::istream & CLHEP::RanshiEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 312 of file RanshiEngine.cc.
References CLHEP::possibleKeywordInput(), and CLHEP::HepRandomEngine::theSeed.
Referenced by get(), and restoreStatus().
virtual std::istream& CLHEP::RanshiEngine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
bool CLHEP::RanshiEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 359 of file RanshiEngine.cc.
bool CLHEP::RanshiEngine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::string CLHEP::RanshiEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanshiEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanshiEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
std::string CLHEP::RanshiEngine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 46 of file RanshiEngine.cc.
CLHEP::RanshiEngine::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanshiEngine::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanshiEngine::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 230 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::twoToMinus_32().
CLHEP::RanshiEngine::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanshiEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanshiEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
CLHEP::RanshiEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 242 of file RanshiEngine.cc.
CLHEP::RanshiEngine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::RanshiEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::ostream & CLHEP::RanshiEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 254 of file RanshiEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
virtual std::ostream& CLHEP::RanshiEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
virtual std::ostream& CLHEP::RanshiEngine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::RanshiEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::RanshiEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector<unsigned long> CLHEP::RanshiEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
std::vector< unsigned long > CLHEP::RanshiEngine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 279 of file RanshiEngine.cc.
Referenced by put(), and saveStatus().
void CLHEP::RanshiEngine::restoreStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 176 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::RanshiEngine::restoreStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::restoreStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::restoreStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::saveStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::saveStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::saveStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 146 of file RanshiEngine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::RanshiEngine::saveStatus | ( | const char | filename[] = "RanshiEngine.conf" | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 125 of file RanshiEngine.cc.
References RanshiEngine().
void CLHEP::RanshiEngine::setSeed | ( | long | seed, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 129 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
void CLHEP::RanshiEngine::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::setSeeds | ( | const long * | seeds, |
int | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 213 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
void CLHEP::RanshiEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
void CLHEP::RanshiEngine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.