Geant4.10
|
#include <DualRand.h>
Public Member Functions | |
DualRand () | |
DualRand (long seed) | |
DualRand (std::istream &is) | |
DualRand (int rowIndex, int colIndex) | |
virtual | ~DualRand () |
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[]="DualRand.conf") const |
void | restoreStatus (const char filename[]="DualRand.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 () |
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 = 9 |
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 50 of file DualRand.h.
CLHEP::DualRand::DualRand | ( | ) |
CLHEP::DualRand::DualRand | ( | long | seed | ) |
CLHEP::DualRand::DualRand | ( | std::istream & | is | ) |
Definition at line 90 of file DualRand.cc.
|
virtual |
Definition at line 104 of file DualRand.cc.
|
static |
Definition at line 234 of file DualRand.cc.
|
inlinestatic |
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 106 of file DualRand.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 217 of file DualRand.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 274 of file DualRand.cc.
References getState(), and VECTOR_STATE_SIZE.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 238 of file DualRand.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, test::v, and VECTOR_STATE_SIZE.
Referenced by get(), and restoreStatus().
|
virtual |
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 62 of file DualRand.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 189 of file DualRand.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 195 of file DualRand.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 199 of file DualRand.cc.
References put(), and test::v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 209 of file DualRand.cc.
References test::v.
Referenced by put(), and saveStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 143 of file DualRand.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 132 of file DualRand.cc.
References outFile, put(), and test::v.
Implements CLHEP::HepRandomEngine.
Definition at line 121 of file DualRand.cc.
References CLHEP::HepRandomEngine::theSeed.
Referenced by setSeeds().
Implements CLHEP::HepRandomEngine.
Definition at line 127 of file DualRand.cc.
References setSeed(), and CLHEP::HepRandomEngine::theSeeds.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 174 of file DualRand.cc.
References gammaraytel::pr, and CLHEP::HepRandomEngine::theSeed.
|
static |
Definition at line 102 of file DualRand.h.
Referenced by get(), getState(), and restoreStatus().