Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <RanluxppEngine.h>
Public Member Functions | |
RanluxppEngine () | |
RanluxppEngine (long seed) | |
RanluxppEngine (std::istream &is) | |
virtual | ~RanluxppEngine () |
double | flat () override |
void | flatArray (const int size, double *vect) override |
void | setSeed (long seed, int dummy=0) override |
void | setSeeds (const long *seeds, int dummy=0) override |
void | skip (uint64_t n) |
void | saveStatus (const char filename[]="Ranluxpp.conf") const override |
void | restoreStatus (const char filename[]="Ranluxpp.conf") override |
void | showStatus () const override |
std::string | name () const override |
std::ostream & | put (std::ostream &os) const override |
std::istream & | get (std::istream &is) override |
std::istream & | getState (std::istream &is) override |
std::vector< unsigned long > | put () const override |
bool | get (const std::vector< unsigned long > &v) override |
bool | getState (const std::vector< unsigned long > &v) override |
operator double () override | |
operator float () override | |
operator unsigned int () override | |
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 | engineName () |
static std::string | beginTag () |
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 = 21 |
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 35 of file RanluxppEngine.h.
CLHEP::RanluxppEngine::RanluxppEngine | ( | ) |
Definition at line 64 of file RanluxppEngine.cc.
CLHEP::RanluxppEngine::RanluxppEngine | ( | long | seed | ) |
Definition at line 69 of file RanluxppEngine.cc.
CLHEP::RanluxppEngine::RanluxppEngine | ( | std::istream & | is | ) |
Definition at line 74 of file RanluxppEngine.cc.
|
virtualdefault |
|
static |
Definition at line 224 of file RanluxppEngine.cc.
|
static |
Definition at line 222 of file RanluxppEngine.cc.
Referenced by name().
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 112 of file RanluxppEngine.cc.
Referenced by flatArray(), operator double(), and operator float().
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 124 of file RanluxppEngine.cc.
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 278 of file RanluxppEngine.cc.
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 235 of file RanluxppEngine.cc.
Referenced by RanluxppEngine(), and restoreStatus().
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 287 of file RanluxppEngine.cc.
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 246 of file RanluxppEngine.cc.
Referenced by get(), and getState().
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 88 of file RanluxppEngine.h.
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 259 of file RanluxppEngine.cc.
Referenced by put(), and saveStatus().
|
overridevirtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 226 of file RanluxppEngine.cc.
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 191 of file RanluxppEngine.cc.
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 185 of file RanluxppEngine.cc.
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 130 of file RanluxppEngine.cc.
Referenced by RanluxppEngine(), and setSeeds().
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 151 of file RanluxppEngine.cc.
|
overridevirtual |
Implements CLHEP::HepRandomEngine.
Definition at line 197 of file RanluxppEngine.cc.
void CLHEP::RanluxppEngine::skip | ( | uint64_t | n | ) |
Definition at line 156 of file RanluxppEngine.cc.
Referenced by skip().
|
static |
Definition at line 92 of file RanluxppEngine.h.
Referenced by getState(), and put().