Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <RandFlat.h>
Public Member Functions | |
RandFlat (HepRandomEngine &anEngine) | |
RandFlat (HepRandomEngine &anEngine, double width) | |
RandFlat (HepRandomEngine &anEngine, double a, double b) | |
RandFlat (HepRandomEngine *anEngine) | |
RandFlat (HepRandomEngine *anEngine, double width) | |
RandFlat (HepRandomEngine *anEngine, double a, double b) | |
virtual | ~RandFlat () |
double | fire () |
double | fire (double width) |
double | fire (double a, double b) |
long | fireInt (long n) |
long | fireInt (long a1, long n) |
int | fireBit () |
void | fireArray (const int size, double *vect) |
void | fireArray (const int size, double *vect, double lx, double dx) |
double | operator() () |
double | operator() (double width) |
double | operator() (double a, double b) |
std::ostream & | put (std::ostream &os) const |
std::istream & | get (std::istream &is) |
std::string | name () const |
HepRandomEngine & | engine () |
Public Member Functions inherited from CLHEP::HepRandom | |
HepRandom () | |
HepRandom (long seed) | |
HepRandom (HepRandomEngine &algorithm) | |
HepRandom (HepRandomEngine *algorithm) | |
virtual | ~HepRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
double | flat (HepRandomEngine *theNewEngine) |
void | flatArray (HepRandomEngine *theNewEngine, const int size, double *vect) |
Static Public Member Functions | |
static double | shoot () |
static double | shoot (double width) |
static double | shoot (double a, double b) |
static long | shootInt (long n) |
static long | shootInt (long a1, long n) |
static int | shootBit () |
static void | shootArray (const int size, double *vect) |
static void | shootArray (const int size, double *vect, double lx, double dx) |
static double | shoot (HepRandomEngine *anEngine) |
static double | shoot (HepRandomEngine *anEngine, double width) |
static double | shoot (HepRandomEngine *anEngine, double a, double b) |
static long | shootInt (HepRandomEngine *anEngine, long n) |
static long | shootInt (HepRandomEngine *anEngine, long a1, long n) |
static int | shootBit (HepRandomEngine *) |
static void | shootArray (HepRandomEngine *anEngine, const int size, double *vect) |
static void | shootArray (HepRandomEngine *anEngine, const int size, double *vect, double lx, double dx) |
static std::string | distributionName () |
static void | saveEngineStatus (const char filename[]="Config.conf") |
static void | restoreEngineStatus (const char filename[]="Config.conf") |
static std::ostream & | saveFullState (std::ostream &os) |
static std::istream & | restoreFullState (std::istream &is) |
static std::ostream & | saveDistState (std::ostream &os) |
static std::istream & | restoreDistState (std::istream &is) |
Static Public Member Functions inherited from CLHEP::HepRandom | |
static void | setTheSeed (long seed, int lxr=3) |
static long | getTheSeed () |
static void | setTheSeeds (const long *seeds, int aux=-1) |
static const long * | getTheSeeds () |
static void | getTheTableSeeds (long *seeds, int index) |
static HepRandom * | getTheGenerator () |
static void | setTheEngine (HepRandomEngine *theNewEngine) |
static HepRandomEngine * | getTheEngine () |
static void | saveEngineStatus (const char filename[]="Config.conf") |
static void | restoreEngineStatus (const char filename[]="Config.conf") |
static std::ostream & | saveFullState (std::ostream &os) |
static std::istream & | restoreFullState (std::istream &is) |
static std::ostream & | saveDistState (std::ostream &os) |
static std::istream & | restoreDistState (std::istream &is) |
static std::ostream & | saveStaticRandomStates (std::ostream &os) |
static std::istream & | restoreStaticRandomStates (std::istream &is) |
static void | showEngineStatus () |
static int | createInstance () |
static std::string | distributionName () |
Additional Inherited Members | |
Static Protected Attributes inherited from CLHEP::HepRandom | |
static const long | seedTable [215][2] |
Definition at line 41 of file RandFlat.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Definition at line 46 of file RandFlat.cc.
|
inlinestatic |
Definition at line 136 of file RandFlat.h.
Referenced by restoreDistState(), and saveDistState().
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 44 of file RandFlat.cc.
|
inline |
Referenced by fireArray(), fireArray(), operator()(), operator()(), and operator()().
|
inline |
|
inline |
void CLHEP::RandFlat::fireArray | ( | const int | size, |
double * | vect ) |
Definition at line 88 of file RandFlat.cc.
void CLHEP::RandFlat::fireArray | ( | const int | size, |
double * | vect, | ||
double | lx, | ||
double | dx ) |
Definition at line 96 of file RandFlat.cc.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 173 of file RandFlat.cc.
Referenced by CLHEP::RandBit::get().
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 43 of file RandFlat.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 49 of file RandFlat.cc.
double CLHEP::RandFlat::operator() | ( | double | a, |
double | b ) |
Definition at line 57 of file RandFlat.cc.
double CLHEP::RandFlat::operator() | ( | double | width | ) |
Definition at line 53 of file RandFlat.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 157 of file RandFlat.cc.
Referenced by CLHEP::RandBit::put().
|
static |
Definition at line 213 of file RandFlat.cc.
Referenced by CLHEP::StaticRandomStates::restore(), CLHEP::RandBit::restoreDistState(), and restoreFullState().
|
static |
Definition at line 120 of file RandFlat.cc.
|
static |
Definition at line 244 of file RandFlat.cc.
Referenced by CLHEP::RandBit::restoreFullState().
|
static |
Definition at line 204 of file RandFlat.cc.
Referenced by CLHEP::StaticRandomStates::save(), CLHEP::RandBit::saveDistState(), and saveFullState().
|
static |
Definition at line 105 of file RandFlat.cc.
|
static |
Definition at line 238 of file RandFlat.cc.
Referenced by CLHEP::RandBit::saveFullState().
|
static |
Definition at line 61 of file RandFlat.cc.
Referenced by CLHEP::RandBreitWigner::fireM2(), CLHEP::RandBreitWigner::fireM2(), shootArray(), shootArray(), CLHEP::RandBreitWigner::shootM2(), CLHEP::RandBreitWigner::shootM2(), CLHEP::RandBreitWigner::shootM2(), and CLHEP::RandBreitWigner::shootM2().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 65 of file RandFlat.cc.
|
static |
Definition at line 69 of file RandFlat.cc.
|
inlinestatic |
|
static |
Definition at line 78 of file RandFlat.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |