CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <JamesRandom.h>
Public Member Functions | |
HepJamesRandom (std::istream &is) | |
HepJamesRandom () | |
HepJamesRandom (long seed) | |
HepJamesRandom (int rowIndex, int colIndex) | |
virtual | ~HepJamesRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int dum=0) |
void | setSeeds (const long *seeds, int dum=0) |
void | saveStatus (const char filename[]="JamesRand.conf") const |
void | restoreStatus (const char filename[]="JamesRand.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) |
HepJamesRandom (std::istream &is) | |
HepJamesRandom () | |
HepJamesRandom (long seed) | |
HepJamesRandom (int rowIndex, int colIndex) | |
virtual | ~HepJamesRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int dum=0) |
void | setSeeds (const long *seeds, int dum=0) |
void | saveStatus (const char filename[]="JamesRand.conf") const |
void | restoreStatus (const char filename[]="JamesRand.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) |
HepJamesRandom (std::istream &is) | |
HepJamesRandom () | |
HepJamesRandom (long seed) | |
HepJamesRandom (int rowIndex, int colIndex) | |
virtual | ~HepJamesRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int dum=0) |
void | setSeeds (const long *seeds, int dum=0) |
void | saveStatus (const char filename[]="JamesRand.conf") const |
void | restoreStatus (const char filename[]="JamesRand.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) |
HepJamesRandom (std::istream &is) | |
HepJamesRandom () | |
HepJamesRandom (long seed) | |
HepJamesRandom (int rowIndex, int colIndex) | |
virtual | ~HepJamesRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int dum=0) |
void | setSeeds (const long *seeds, int dum=0) |
void | saveStatus (const char filename[]="JamesRand.conf") const |
void | restoreStatus (const char filename[]="JamesRand.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 Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 202 |
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 45 of file RandomObjects/CLHEP/Random/JamesRandom.h.
CLHEP::HepJamesRandom::HepJamesRandom | ( | std::istream & | is | ) |
Definition at line 101 of file JamesRandom.cc.
CLHEP::HepJamesRandom::HepJamesRandom | ( | ) |
Definition at line 69 of file JamesRandom.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::HepJamesRandom::HepJamesRandom | ( | long | seed | ) |
Definition at line 62 of file JamesRandom.cc.
References setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::HepJamesRandom::HepJamesRandom | ( | int | rowIndex, |
int | colIndex ) |
Definition at line 85 of file JamesRandom.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 107 of file JamesRandom.cc.
CLHEP::HepJamesRandom::HepJamesRandom | ( | std::istream & | is | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | long | seed | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
CLHEP::HepJamesRandom::HepJamesRandom | ( | std::istream & | is | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | long | seed | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
CLHEP::HepJamesRandom::HepJamesRandom | ( | std::istream & | is | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | long | seed | ) |
CLHEP::HepJamesRandom::HepJamesRandom | ( | int | rowIndex, |
int | colIndex ) |
|
virtual |
|
static |
Definition at line 362 of file JamesRandom.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 89 of file Matrix/CLHEP/Random/JamesRandom.h.
Referenced by restoreStatus().
|
inlinestatic |
Definition at line 89 of file Random/CLHEP/Random/JamesRandom.h.
|
inlinestatic |
Definition at line 89 of file Random/Random/JamesRandom.h.
|
inlinestatic |
Definition at line 89 of file RandomObjects/CLHEP/Random/JamesRandom.h.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 259 of file JamesRandom.cc.
Referenced by flatArray().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 284 of file JamesRandom.cc.
References flat().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 410 of file JamesRandom.cc.
References CLHEP::engineIDulong(), and getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 345 of file JamesRandom.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 419 of file JamesRandom.cc.
References CLHEP::DoubConv::longs2double(), 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 366 of file JamesRandom.cc.
References getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), get(), getState(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 54 of file JamesRandom.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 294 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 326 of file JamesRandom.cc.
References CLHEP::DoubConv::dto2longs(), and CLHEP::engineIDulong().
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 299 of file JamesRandom.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 143 of file JamesRandom.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 109 of file JamesRandom.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 201 of file JamesRandom.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by HepJamesRandom(), HepJamesRandom(), HepJamesRandom(), and setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 253 of file JamesRandom.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
Referenced by HepJamesRandom(), HepJamesRandom(), and HepJamesRandom().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 185 of file JamesRandom.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
static |
Definition at line 95 of file Matrix/CLHEP/Random/JamesRandom.h.
Referenced by getState(), getState(), and restoreStatus().