CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <MTwistEngine.h>
Public Member Functions | |
MTwistEngine () | |
MTwistEngine (long seed) | |
MTwistEngine (int rowIndex, int colIndex) | |
MTwistEngine (std::istream &is) | |
virtual | ~MTwistEngine () |
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[]="MTwist.conf") const |
void | restoreStatus (const char filename[]="MTwist.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) |
MTwistEngine () | |
MTwistEngine (long seed) | |
MTwistEngine (int rowIndex, int colIndex) | |
MTwistEngine (std::istream &is) | |
virtual | ~MTwistEngine () |
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[]="MTwist.conf") const |
void | restoreStatus (const char filename[]="MTwist.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) |
MTwistEngine () | |
MTwistEngine (long seed) | |
MTwistEngine (int rowIndex, int colIndex) | |
MTwistEngine (std::istream &is) | |
virtual | ~MTwistEngine () |
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[]="MTwist.conf") const |
void | restoreStatus (const char filename[]="MTwist.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) |
MTwistEngine () | |
MTwistEngine (long seed) | |
MTwistEngine (int rowIndex, int colIndex) | |
MTwistEngine (std::istream &is) | |
virtual | ~MTwistEngine () |
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[]="MTwist.conf") const |
void | restoreStatus (const char filename[]="MTwist.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 HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
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 = 626 |
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 36 of file Matrix/CLHEP/Random/MTwistEngine.h.
CLHEP::MTwistEngine::MTwistEngine | ( | ) |
Definition at line 58 of file MTwistEngine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::MTwistEngine::MTwistEngine | ( | long | seed | ) |
Definition at line 74 of file MTwistEngine.cc.
References flat(), and setSeeds().
CLHEP::MTwistEngine::MTwistEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 83 of file MTwistEngine.cc.
References flat(), CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::MTwistEngine::MTwistEngine | ( | std::istream & | is | ) |
Definition at line 99 of file MTwistEngine.cc.
|
virtual |
Definition at line 105 of file MTwistEngine.cc.
CLHEP::MTwistEngine::MTwistEngine | ( | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | long | seed | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
CLHEP::MTwistEngine::MTwistEngine | ( | std::istream & | is | ) |
|
virtual |
CLHEP::MTwistEngine::MTwistEngine | ( | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | long | seed | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
CLHEP::MTwistEngine::MTwistEngine | ( | std::istream & | is | ) |
|
virtual |
CLHEP::MTwistEngine::MTwistEngine | ( | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | long | seed | ) |
CLHEP::MTwistEngine::MTwistEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
CLHEP::MTwistEngine::MTwistEngine | ( | std::istream & | is | ) |
|
virtual |
|
static |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 329 of file MTwistEngine.cc.
|
static |
Reimplemented from CLHEP::HepRandomEngine.
|
static |
Reimplemented from CLHEP::HepRandomEngine.
|
static |
Reimplemented from CLHEP::HepRandomEngine.
|
inlinestatic |
Definition at line 78 of file Random/CLHEP/Random/MTwistEngine.h.
|
inlinestatic |
Definition at line 78 of file RandomObjects/CLHEP/Random/MTwistEngine.h.
|
inlinestatic |
Definition at line 78 of file Random/Random/MTwistEngine.h.
|
inlinestatic |
Definition at line 78 of file Matrix/CLHEP/Random/MTwistEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 107 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray(), and MTwistEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 140 of file MTwistEngine.cc.
References flat().
|
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 311 of file MTwistEngine.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 351 of file MTwistEngine.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 333 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by get().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 360 of file MTwistEngine.cc.
References VECTOR_STATE_SIZE.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 53 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 222 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 253 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 284 of file MTwistEngine.cc.
References 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 301 of file MTwistEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 192 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), and CLHEP::HepRandomEngine::theSeed.
|
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 181 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 144 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 172 of file MTwistEngine.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
Referenced by MTwistEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 207 of file MTwistEngine.cc.
References CLHEP::HepRandomEngine::theSeed.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
virtual |
Implements CLHEP::HepRandomEngine.
|
static |
Definition at line 84 of file Matrix/CLHEP/Random/MTwistEngine.h.
Referenced by getState().