CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <RandEngine.h>
Public Member Functions | |
RandEngine (std::istream &is) | |
RandEngine () | |
RandEngine (long seed) | |
RandEngine (int rowIndex, int colIndex) | |
virtual | ~RandEngine () |
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[]="Rand.conf") const |
void | restoreStatus (const char filename[]="Rand.conf") |
void | showStatus () const |
operator double () | |
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) |
Public Member Functions inherited from CLHEP::HepRandomEngine | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
virtual double | flat ()=0 |
virtual void | flatArray (const int size, double *vect)=0 |
virtual void | setSeed (long seed, int)=0 |
virtual void | setSeeds (const long *seeds, int)=0 |
virtual void | saveStatus (const char filename[]="Config.conf") const =0 |
virtual void | restoreStatus (const char filename[]="Config.conf")=0 |
virtual void | showStatus () const =0 |
virtual std::string | name () const =0 |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
virtual std::vector< unsigned long > | put () const |
virtual bool | get (const std::vector< unsigned long > &v) |
virtual bool | getState (const std::vector< unsigned long > &v) |
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 Public Member Functions inherited from CLHEP::HepRandomEngine | |
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 = 3 |
Additional Inherited Members | |
Static Protected Member Functions inherited from CLHEP::HepRandomEngine | |
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) |
Protected Attributes inherited from CLHEP::HepRandomEngine | |
long | theSeed |
const long * | theSeeds |
Definition at line 49 of file RandEngine.h.
CLHEP::RandEngine::RandEngine | ( | std::istream & | is | ) |
Definition at line 122 of file RandEngine.cc.
CLHEP::RandEngine::RandEngine | ( | ) |
Definition at line 104 of file RandEngine.cc.
CLHEP::RandEngine::RandEngine | ( | long | seed | ) |
Definition at line 79 of file RandEngine.cc.
CLHEP::RandEngine::RandEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 87 of file RandEngine.cc.
|
virtual |
Definition at line 128 of file RandEngine.cc.
|
static |
Definition at line 425 of file RandEngine.cc.
|
inlinestatic |
Definition at line 103 of file RandEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 356 of file RandEngine.cc.
Referenced by flatArray(), getState(), and restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 364 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 468 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 403 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 477 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 429 of file RandEngine.cc.
Referenced by get(), getState(), and restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 77 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 372 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 376 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 380 of file RandEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 395 of file RandEngine.cc.
Referenced by saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 384 of file RandEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 172 of file RandEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 143 of file RandEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 130 of file RandEngine.cc.
Referenced by getState(), RandEngine(), restoreStatus(), and setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 137 of file RandEngine.cc.
Referenced by RandEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 217 of file RandEngine.cc.
|
static |
Definition at line 109 of file RandEngine.h.
Referenced by getState(), and restoreStatus().