Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RandGeneral.h>
Public Member Functions | |
RandGeneral (const double *aProbFunc, int theProbSize, int IntType=0) | |
RandGeneral (HepRandomEngine &anEngine, const double *aProbFunc, int theProbSize, int IntType=0) | |
RandGeneral (HepRandomEngine *anEngine, const double *aProbFunc, int theProbSize, int IntType=0) | |
virtual | ~RandGeneral () |
double | shoot () |
void | shootArray (const int size, double *vect) |
double | shoot (HepRandomEngine *anEngine) |
void | shootArray (HepRandomEngine *anEngine, const int size, double *vect) |
double | fire () |
void | fireArray (const int size, double *vect) |
double | operator() () |
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) |
virtual double | operator() () |
virtual std::string | name () const |
virtual HepRandomEngine & | engine () |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
Static Public Member Functions | |
static std::string | distributionName () |
Static Public Member Functions inherited from CLHEP::HepRandom | |
static void | setTheSeed (long seed, int lux=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 38 of file RandGeneral.h.
CLHEP::RandGeneral::RandGeneral | ( | const double * | aProbFunc, |
int | theProbSize, | ||
int | IntType = 0 |
||
) |
Definition at line 66 of file RandGeneral.cc.
CLHEP::RandGeneral::RandGeneral | ( | HepRandomEngine & | anEngine, |
const double * | aProbFunc, | ||
int | theProbSize, | ||
int | IntType = 0 |
||
) |
Definition at line 77 of file RandGeneral.cc.
CLHEP::RandGeneral::RandGeneral | ( | HepRandomEngine * | anEngine, |
const double * | aProbFunc, | ||
int | theProbSize, | ||
int | IntType = 0 |
||
) |
Definition at line 89 of file RandGeneral.cc.
|
virtual |
Definition at line 174 of file RandGeneral.cc.
|
inlinestatic |
Definition at line 124 of file RandGeneral.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 59 of file RandGeneral.cc.
double CLHEP::RandGeneral::fire | ( | ) |
Referenced by fireArray().
void CLHEP::RandGeneral::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 240 of file RandGeneral.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 266 of file RandGeneral.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 58 of file RandGeneral.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 249 of file RandGeneral.cc.
|
inline |
Referenced by G4JAEAPolarizedElasticScatteringModel::SampleSecondaries(), and shootArray().
double CLHEP::RandGeneral::shoot | ( | HepRandomEngine * | anEngine | ) |
|
inline |
void CLHEP::RandGeneral::shootArray | ( | HepRandomEngine * | anEngine, |
const int | size, | ||
double * | vect | ||
) |
Definition at line 230 of file RandGeneral.cc.