Geant4.10
|
#include <Ranlux64Engine.h>
Public Member Functions | |
Ranlux64Engine (std::istream &is) | |
Ranlux64Engine () | |
Ranlux64Engine (long seed, int lux=1) | |
Ranlux64Engine (int rowIndex, int colIndex, int lux) | |
virtual | ~Ranlux64Engine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=1) |
void | setSeeds (const long *seeds, int lux=1) |
void | saveStatus (const char filename[]="Ranlux64.conf") const |
void | restoreStatus (const char filename[]="Ranlux64.conf") |
void | showStatus () const |
int | getLuxury () 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 () |
Static Public Member Functions | |
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 Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 30 |
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) |
![]() | |
long | theSeed |
const long * | theSeeds |
Definition at line 49 of file Ranlux64Engine.h.
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | std::istream & | is | ) |
Definition at line 144 of file Ranlux64Engine.cc.
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | ) |
Definition at line 101 of file Ranlux64Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
CLHEP::Ranlux64Engine::Ranlux64Engine | ( | long | seed, |
int | lux = 1 |
||
) |
Definition at line 120 of file Ranlux64Engine.cc.
References setSeeds().
Definition at line 130 of file Ranlux64Engine.cc.
References CLHEP::HepRandom::getTheTableSeeds(), and setSeeds().
|
virtual |
Definition at line 150 of file Ranlux64Engine.cc.
|
static |
Definition at line 633 of file Ranlux64Engine.cc.
|
inlinestatic |
Definition at line 92 of file Ranlux64Engine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 152 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::twoToMinus_49().
Referenced by flatArray().
Implements CLHEP::HepRandomEngine.
Definition at line 369 of file Ranlux64Engine.cc.
References flat().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 615 of file Ranlux64Engine.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 679 of file Ranlux64Engine.cc.
References getState().
|
inline |
Definition at line 83 of file Ranlux64Engine.h.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 637 of file Ranlux64Engine.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, test::v, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 688 of file Ranlux64Engine.cc.
References CLHEP::DoubConv::longs2double(), and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 99 of file Ranlux64Engine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 588 of file Ranlux64Engine.cc.
References put(), and test::v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 599 of file Ranlux64Engine.cc.
References CLHEP::DoubConv::dto2longs(), and test::v.
Referenced by put(), and saveStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 535 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, test::v, and VECTOR_STATE_SIZE.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 523 of file Ranlux64Engine.cc.
References outFile, put(), and test::v.
Implements CLHEP::HepRandomEngine.
Definition at line 375 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::theSeed, CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_48().
Referenced by setSeeds().
Implements CLHEP::HepRandomEngine.
Definition at line 450 of file Ranlux64Engine.cc.
References setSeed(), CLHEP::HepRandomEngine::theSeed, CLHEP::HepRandomEngine::theSeeds, CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_48().
Referenced by Ranlux64Engine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 572 of file Ranlux64Engine.cc.
References CLHEP::HepRandomEngine::theSeed.
|
static |
Definition at line 98 of file Ranlux64Engine.h.
Referenced by getState(), and restoreStatus().