CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <Hurd160Engine.h>
Public Member Functions | |
Hurd160Engine () | |
Hurd160Engine (std::istream &is) | |
Hurd160Engine (long seed) | |
Hurd160Engine (int rowIndex, int colIndex) | |
virtual | ~Hurd160Engine () |
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[]="Hurd160Engine.conf") const |
void | restoreStatus (const char filename[]="Hurd160Engine.conf") |
void | showStatus () const |
operator float () | |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
std::string | name () const |
virtual std::istream & | getState (std::istream &is) |
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 | engineName () |
static std::string | beginTag () |
Static Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 7 |
Definition at line 41 of file Hurd160Engine.h.
CLHEP::Hurd160Engine::Hurd160Engine | ( | ) |
Definition at line 59 of file Hurd160Engine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Hurd160Engine::Hurd160Engine | ( | std::istream & | is | ) |
Definition at line 77 of file Hurd160Engine.cc.
CLHEP::Hurd160Engine::Hurd160Engine | ( | long | seed | ) |
Definition at line 83 of file Hurd160Engine.cc.
References flat(), and setSeeds().
CLHEP::Hurd160Engine::Hurd160Engine | ( | int | rowIndex, | |
int | colIndex | |||
) |
Definition at line 93 of file Hurd160Engine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Hurd160Engine::~Hurd160Engine | ( | ) | [virtual] |
Definition at line 109 of file Hurd160Engine.cc.
std::string CLHEP::Hurd160Engine::beginTag | ( | ) | [static] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 311 of file Hurd160Engine.cc.
static std::string CLHEP::Hurd160Engine::engineName | ( | ) | [inline, static] |
Definition at line 82 of file Hurd160Engine.h.
Referenced by restoreStatus().
double CLHEP::Hurd160Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 133 of file Hurd160Engine.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray(), Hurd160Engine(), and main().
void CLHEP::Hurd160Engine::flatArray | ( | const int | size, | |
double * | vect | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 148 of file Hurd160Engine.cc.
References flat().
bool CLHEP::Hurd160Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 354 of file Hurd160Engine.cc.
References getState().
std::istream & CLHEP::Hurd160Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 294 of file Hurd160Engine.cc.
References getState().
bool CLHEP::Hurd160Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 363 of file Hurd160Engine.cc.
References VECTOR_STATE_SIZE.
std::istream & CLHEP::Hurd160Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 315 of file Hurd160Engine.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
std::string CLHEP::Hurd160Engine::name | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 52 of file Hurd160Engine.cc.
CLHEP::Hurd160Engine::operator float | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 246 of file Hurd160Engine.cc.
References CLHEP::HepRandomEngine::twoToMinus_32().
CLHEP::Hurd160Engine::operator unsigned int | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 253 of file Hurd160Engine.cc.
std::vector< unsigned long > CLHEP::Hurd160Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 283 of file Hurd160Engine.cc.
Referenced by put(), and saveStatus().
std::ostream & CLHEP::Hurd160Engine::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 260 of file Hurd160Engine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::Hurd160Engine::restoreStatus | ( | const char | filename[] = "Hurd160Engine.conf" |
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 195 of file Hurd160Engine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
void CLHEP::Hurd160Engine::saveStatus | ( | const char | filename[] = "Hurd160Engine.conf" |
) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 166 of file Hurd160Engine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::Hurd160Engine::setSeed | ( | long | seed, | |
int | ||||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 154 of file Hurd160Engine.cc.
Referenced by setSeeds().
void CLHEP::Hurd160Engine::setSeeds | ( | const long * | seeds, | |
int | ||||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 161 of file Hurd160Engine.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
Referenced by Hurd160Engine().
void CLHEP::Hurd160Engine::showStatus | ( | ) | const [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 232 of file Hurd160Engine.cc.
References CLHEP::HepRandomEngine::theSeed.
const unsigned int CLHEP::Hurd160Engine::VECTOR_STATE_SIZE = 7 [static] |
Definition at line 90 of file Hurd160Engine.h.
Referenced by getState(), and restoreStatus().