CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <Hurd160Engine.h>
Inheritance diagram for CLHEP::Hurd160Engine:
Public Member Functions | |
Hurd160Engine () | |
Hurd160Engine (std::istream &is) | |
Hurd160Engine (long seed) | |
Hurd160Engine (int rowIndex, int colIndex) | |
virtual | ~Hurd160Engine () |
Hurd160Engine (const Hurd160Engine &p) | |
Hurd160Engine & | operator= (const Hurd160Engine &p) |
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 68 of file Hurd160Engine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Hurd160Engine::Hurd160Engine | ( | std::istream & | is | ) |
Definition at line 84 of file Hurd160Engine.cc.
CLHEP::Hurd160Engine::Hurd160Engine | ( | long | seed | ) |
CLHEP::Hurd160Engine::Hurd160Engine | ( | int | rowIndex, | |
int | colIndex | |||
) |
Definition at line 97 of file Hurd160Engine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Hurd160Engine::~Hurd160Engine | ( | ) | [virtual] |
Definition at line 112 of file Hurd160Engine.cc.
CLHEP::Hurd160Engine::Hurd160Engine | ( | const Hurd160Engine & | p | ) |
Definition at line 114 of file Hurd160Engine.cc.
std::string CLHEP::Hurd160Engine::beginTag | ( | ) | [static] |
static std::string CLHEP::Hurd160Engine::engineName | ( | ) | [inline, static] |
double CLHEP::Hurd160Engine::flat | ( | ) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 151 of file Hurd160Engine.cc.
Referenced by flatArray(), and Hurd160Engine().
void CLHEP::Hurd160Engine::flatArray | ( | const int | size, | |
double * | vect | |||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 166 of file Hurd160Engine.cc.
References flat().
bool CLHEP::Hurd160Engine::get | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 372 of file Hurd160Engine.cc.
References getState().
std::istream & CLHEP::Hurd160Engine::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 312 of file Hurd160Engine.cc.
References getState().
bool CLHEP::Hurd160Engine::getState | ( | const std::vector< unsigned long > & | v | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 381 of file Hurd160Engine.cc.
References VECTOR_STATE_SIZE.
std::istream & CLHEP::Hurd160Engine::getState | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 333 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] |
CLHEP::Hurd160Engine::operator float | ( | ) | [virtual] |
CLHEP::Hurd160Engine::operator unsigned int | ( | ) | [virtual] |
Hurd160Engine & CLHEP::Hurd160Engine::operator= | ( | const Hurd160Engine & | p | ) |
std::vector< unsigned long > CLHEP::Hurd160Engine::put | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 301 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 278 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 213 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 184 of file Hurd160Engine.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
void CLHEP::Hurd160Engine::setSeed | ( | long | seed, | |
int | ||||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 172 of file Hurd160Engine.cc.
Referenced by setSeeds().
void CLHEP::Hurd160Engine::setSeeds | ( | const long * | seeds, | |
int | ||||
) | [virtual] |
Implements CLHEP::HepRandomEngine.
Definition at line 179 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 250 of file Hurd160Engine.cc.
References CLHEP::HepRandomEngine::theSeed.
const unsigned int CLHEP::Hurd160Engine::VECTOR_STATE_SIZE = 7 [static] |