CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <DRand48Engine.h>
Public Member Functions | |
DRand48Engine (std::istream &is) | |
DRand48Engine () | |
DRand48Engine (long seed) | |
DRand48Engine (int rowIndex, int colIndex) | |
virtual | ~DRand48Engine () |
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[]="DRand48.conf") const |
void | restoreStatus (const char filename[]="DRand48.conf") |
void | showStatus () const |
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) |
DRand48Engine (std::istream &is) | |
DRand48Engine () | |
DRand48Engine (long seed) | |
DRand48Engine (int rowIndex, int colIndex) | |
virtual | ~DRand48Engine () |
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[]="DRand48.conf") const |
void | restoreStatus (const char filename[]="DRand48.conf") |
void | showStatus () const |
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) |
DRand48Engine (std::istream &is) | |
DRand48Engine () | |
DRand48Engine (long seed) | |
DRand48Engine (int rowIndex, int colIndex) | |
virtual | ~DRand48Engine () |
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[]="DRand48.conf") const |
void | restoreStatus (const char filename[]="DRand48.conf") |
void | showStatus () const |
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) |
DRand48Engine (std::istream &is) | |
DRand48Engine () | |
DRand48Engine (long seed) | |
DRand48Engine (int rowIndex, int colIndex) | |
virtual | ~DRand48Engine () |
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[]="DRand48.conf") const |
void | restoreStatus (const char filename[]="DRand48.conf") |
void | showStatus () const |
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 () |
virtual | operator unsigned int () |
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 () |
virtual | operator unsigned int () |
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 () |
virtual | operator unsigned int () |
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 () |
virtual | operator unsigned int () |
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 = 4 |
Additional Inherited Members | |
![]() | |
noncopyable () throw () | |
~noncopyable () throw () | |
noncopyable () throw () | |
~noncopyable () throw () | |
noncopyable () throw () | |
~noncopyable () throw () | |
noncopyable () throw () | |
~noncopyable () throw () | |
noncopyable () throw () | |
~noncopyable () throw () | |
![]() | |
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 56 of file Matrix/CLHEP/Random/DRand48Engine.h.
CLHEP::DRand48Engine::DRand48Engine | ( | std::istream & | is | ) |
Definition at line 93 of file DRand48Engine.cc.
CLHEP::DRand48Engine::DRand48Engine | ( | ) |
Definition at line 61 of file DRand48Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::DRand48Engine::DRand48Engine | ( | long | seed | ) |
Definition at line 54 of file DRand48Engine.cc.
References setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
CLHEP::DRand48Engine::DRand48Engine | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 77 of file DRand48Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), setSeed(), setSeeds(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 99 of file DRand48Engine.cc.
CLHEP::DRand48Engine::DRand48Engine | ( | std::istream & | is | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | long | seed | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
CLHEP::DRand48Engine::DRand48Engine | ( | std::istream & | is | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | long | seed | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
CLHEP::DRand48Engine::DRand48Engine | ( | std::istream & | is | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | long | seed | ) |
CLHEP::DRand48Engine::DRand48Engine | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
|
static |
Definition at line 278 of file DRand48Engine.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 98 of file Random/Random/DRand48Engine.h.
|
inlinestatic |
Definition at line 98 of file Matrix/CLHEP/Random/DRand48Engine.h.
Referenced by restoreStatus().
|
inlinestatic |
Definition at line 98 of file Random/CLHEP/Random/DRand48Engine.h.
|
inlinestatic |
Definition at line 98 of file RandomObjects/CLHEP/Random/DRand48Engine.h.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 204 of file DRand48Engine.cc.
References drand48().
Referenced by flatArray().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 213 of file DRand48Engine.cc.
References flat().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 260 of file DRand48Engine.cc.
References getState().
|
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 331 of file DRand48Engine.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 282 of file DRand48Engine.cc.
References CLHEP::possibleKeywordInput(), seed48(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
|
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 340 of file DRand48Engine.cc.
References seed48(), and VECTOR_STATE_SIZE.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 49 of file DRand48Engine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 221 of file DRand48Engine.cc.
References put(), seed48(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 247 of file DRand48Engine.cc.
References seed48().
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 149 of file DRand48Engine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), seed48(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 113 of file DRand48Engine.cc.
References put(), seed48(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 101 of file DRand48Engine.cc.
References srand48(), and CLHEP::HepRandomEngine::theSeed.
Referenced by DRand48Engine(), and setSeeds().
|
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 107 of file DRand48Engine.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
Referenced by DRand48Engine().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 188 of file DRand48Engine.cc.
References seed48(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
static |
Definition at line 104 of file Matrix/CLHEP/Random/DRand48Engine.h.
Referenced by getState(), and restoreStatus().