CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <RanecuEngine.h>
Public Member Functions | |
RanecuEngine (std::istream &is) | |
RanecuEngine () | |
RanecuEngine (int index) | |
virtual | ~RanecuEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setIndex (long index) |
void | setSeed (long index, int dum=0) |
void | setSeeds (const long *seeds, int index=-1) |
void | saveStatus (const char filename[]="Ranecu.conf") const |
void | restoreStatus (const char filename[]="Ranecu.conf") |
void | showStatus () const |
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) |
RanecuEngine (std::istream &is) | |
RanecuEngine () | |
RanecuEngine (int index) | |
virtual | ~RanecuEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setIndex (long index) |
void | setSeed (long index, int dum=0) |
void | setSeeds (const long *seeds, int index=-1) |
void | saveStatus (const char filename[]="Ranecu.conf") const |
void | restoreStatus (const char filename[]="Ranecu.conf") |
void | showStatus () const |
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) |
RanecuEngine (std::istream &is) | |
RanecuEngine () | |
RanecuEngine (int index) | |
virtual | ~RanecuEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setIndex (long index) |
void | setSeed (long index, int dum=0) |
void | setSeeds (const long *seeds, int index=-1) |
void | saveStatus (const char filename[]="Ranecu.conf") const |
void | restoreStatus (const char filename[]="Ranecu.conf") |
void | showStatus () const |
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) |
RanecuEngine (std::istream &is) | |
RanecuEngine () | |
RanecuEngine (int index) | |
virtual | ~RanecuEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setIndex (long index) |
void | setSeed (long index, int dum=0) |
void | setSeeds (const long *seeds, int index=-1) |
void | saveStatus (const char filename[]="Ranecu.conf") const |
void | restoreStatus (const char filename[]="Ranecu.conf") |
void | showStatus () const |
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) |
![]() | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
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 std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Static Protected Attributes | |
static const int | ecuyer_a = 40014 |
static const int | ecuyer_b = 53668 |
static const int | ecuyer_c = 12211 |
static const int | ecuyer_d = 40692 |
static const int | ecuyer_e = 52774 |
static const int | ecuyer_f = 3791 |
static const int | shift1 = 2147483563 |
static const int | shift2 = 2147483399 |
static const unsigned int | VECTOR_STATE_SIZE = 4 |
Additional Inherited Members | |
![]() | |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
![]() | |
long | theSeed |
const long * | theSeeds |
Definition at line 48 of file Matrix/CLHEP/Random/RanecuEngine.h.
CLHEP::RanecuEngine::RanecuEngine | ( | std::istream & | is | ) |
Definition at line 98 of file RanecuEngine.cc.
References is().
CLHEP::RanecuEngine::RanecuEngine | ( | ) |
Definition at line 65 of file RanecuEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), i, j, CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
CLHEP::RanecuEngine::RanecuEngine | ( | int | index | ) |
Definition at line 82 of file RanecuEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), j, shift1, CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
|
virtual |
Definition at line 104 of file RanecuEngine.cc.
CLHEP::RanecuEngine::RanecuEngine | ( | std::istream & | is | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | int | index | ) |
|
virtual |
CLHEP::RanecuEngine::RanecuEngine | ( | std::istream & | is | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | int | index | ) |
|
virtual |
CLHEP::RanecuEngine::RanecuEngine | ( | std::istream & | is | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | ) |
CLHEP::RanecuEngine::RanecuEngine | ( | int | index | ) |
|
virtual |
|
static |
Definition at line 334 of file RanecuEngine.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 97 of file Random/CLHEP/Random/RanecuEngine.h.
|
inlinestatic |
Definition at line 97 of file RandomObjects/CLHEP/Random/RanecuEngine.h.
|
inlinestatic |
Definition at line 97 of file Random/Random/RanecuEngine.h.
|
inlinestatic |
Definition at line 97 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Implements CLHEP::HepRandomEngine.
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 377 of file RanecuEngine.cc.
References getState(), and v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 315 of file RanecuEngine.cc.
References getState(), and is().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 386 of file RanecuEngine.cc.
References CLHEP::HepRandomEngine::theSeed, v, and VECTOR_STATE_SIZE.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 338 of file RanecuEngine.cc.
References i, is(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, v, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 54 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 264 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 306 of file RanecuEngine.cc.
References CLHEP::HepRandomEngine::theSeed, and v.
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 285 of file RanecuEngine.cc.
References i, put(), CLHEP::HepRandomEngine::theSeed, and v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 166 of file RanecuEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), i, in, CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, v, and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 135 of file RanecuEngine.cc.
References i, put(), CLHEP::HepRandomEngine::theSeed, and v.
void CLHEP::RanecuEngine::setIndex | ( | long | index | ) |
Definition at line 128 of file RanecuEngine.cc.
References CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
void CLHEP::RanecuEngine::setIndex | ( | long | index | ) |
void CLHEP::RanecuEngine::setIndex | ( | long | index | ) |
void CLHEP::RanecuEngine::setIndex | ( | long | index | ) |
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 106 of file RanecuEngine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), shift1, shift2, CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
Referenced by useSeed().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 116 of file RanecuEngine.cc.
References seeds(), shift1, shift2, CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
Referenced by useSeed().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 203 of file RanecuEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
staticprotected |
Definition at line 107 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 108 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 109 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 110 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 111 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 112 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 113 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), flatArray(), RanecuEngine(), setSeed(), and setSeeds().
|
staticprotected |
Definition at line 114 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by flat(), flatArray(), setSeed(), and setSeeds().
|
staticprotected |
Definition at line 116 of file Matrix/CLHEP/Random/RanecuEngine.h.
Referenced by getState(), and restoreStatus().