CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <TripleRand.h>
Public Member Functions | |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
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[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
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) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
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[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
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) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
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[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
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) |
TripleRand () | |
TripleRand (long seed) | |
TripleRand (std::istream &is) | |
TripleRand (int rowIndex, int colIndex) | |
virtual | ~TripleRand () |
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[]="TripleRand.conf") const |
void | restoreStatus (const char filename[]="TripleRand.conf") |
void | showStatus () const |
operator float () | |
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 () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
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 = 20 |
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 52 of file Matrix/CLHEP/Random/TripleRand.h.
CLHEP::TripleRand::TripleRand | ( | ) |
Definition at line 58 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
Definition at line 68 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
Definition at line 77 of file TripleRand.cc.
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 83 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 92 of file TripleRand.cc.
CLHEP::TripleRand::TripleRand | ( | ) |
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
CLHEP::TripleRand::TripleRand | ( | ) |
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
CLHEP::TripleRand::TripleRand | ( | ) |
CLHEP::TripleRand::TripleRand | ( | long | seed | ) |
CLHEP::TripleRand::TripleRand | ( | std::istream & | is | ) |
CLHEP::TripleRand::TripleRand | ( | int | rowIndex, |
int | colIndex | ||
) |
|
virtual |
|
static |
Definition at line 266 of file TripleRand.cc.
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 95 of file Random/CLHEP/Random/TripleRand.h.
References getState(), put(), and VECTOR_STATE_SIZE.
|
inlinestatic |
Definition at line 95 of file RandomObjects/CLHEP/Random/TripleRand.h.
References getState(), put(), and VECTOR_STATE_SIZE.
|
inlinestatic |
Definition at line 95 of file Random/Random/TripleRand.h.
References getState(), put(), and VECTOR_STATE_SIZE.
|
inlinestatic |
Definition at line 95 of file Matrix/CLHEP/Random/TripleRand.h.
References getState(), and put().
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 94 of file TripleRand.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray().
|
virtual |
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 249 of file TripleRand.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 307 of file TripleRand.cc.
References getState(), 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 270 of file TripleRand.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and VECTOR_STATE_SIZE.
Referenced by engineName(), get(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 321 of file TripleRand.cc.
References CLHEP::Hurd288Engine::get().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 56 of file TripleRand.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 199 of file TripleRand.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), and CLHEP::HepRandomEngine::twoToMinus_32().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 206 of file TripleRand.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 215 of file TripleRand.cc.
References put(), and CLHEP::HepRandomEngine::theSeed.
|
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.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 237 of file TripleRand.cc.
References CLHEP::Hurd288Engine::put().
Referenced by engineName(), put(), and saveStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 149 of file TripleRand.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.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 122 of file TripleRand.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 110 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 117 of file TripleRand.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 185 of file TripleRand.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
static |
Definition at line 101 of file Matrix/CLHEP/Random/TripleRand.h.
Referenced by engineName(), get(), getState(), and restoreStatus().