CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Random/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 () |
![]() | |
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 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 const long | seedTable [215][2] |
Definition at line 43 of file RandFlat.h.
|
inline |
Definition at line 24 of file RandFlat.icc.
|
inline |
Definition at line 28 of file RandFlat.icc.
|
inline |
Definition at line 32 of file RandFlat.icc.
|
inline |
Definition at line 37 of file RandFlat.icc.
|
inline |
Definition at line 41 of file RandFlat.icc.
|
inline |
Definition at line 45 of file RandFlat.icc.
|
virtual |
|
inlinestatic |
Definition at line 138 of file RandFlat.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Referenced by CLHEP::RandBit::shootBit(), and shootBit().
|
inline |
Definition at line 128 of file RandFlat.icc.
Referenced by CLHEP::RandBit::fireBit().
|
inline |
Definition at line 132 of file RandFlat.icc.
|
inline |
Definition at line 136 of file RandFlat.icc.
void CLHEP::RandFlat::fireArray | ( | const int | size, |
double * | vect ) |
void CLHEP::RandFlat::fireArray | ( | const int | size, |
double * | vect, | ||
double | lx, | ||
double | dx ) |
|
inline |
Definition at line 154 of file RandFlat.icc.
|
inline |
Definition at line 144 of file RandFlat.icc.
|
inline |
Definition at line 140 of file RandFlat.icc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
|
virtual |
Reimplemented from CLHEP::HepRandom.
|
virtual |
Reimplemented from CLHEP::HepRandom.
double CLHEP::RandFlat::operator() | ( | double | a, |
double | b ) |
double CLHEP::RandFlat::operator() | ( | double | width | ) |
|
virtual |
Reimplemented from CLHEP::HepRandom.
|
static |
Referenced by CLHEP::RandBit::restoreDistState().
|
static |
|
static |
Referenced by CLHEP::RandBit::restoreFullState().
|
static |
Referenced by CLHEP::RandBit::saveDistState().
|
static |
|
static |
Referenced by CLHEP::RandBit::saveFullState().
|
static |
Referenced by shoot(), shoot(), CLHEP::RandBit::shootBit(), CLHEP::RandBit::shootBit(), shootInt(), and shootInt().
|
inlinestatic |
Definition at line 50 of file RandFlat.icc.
References shoot().
|
inlinestatic |
Definition at line 54 of file RandFlat.icc.
References shoot().
|
inlinestatic |
Definition at line 82 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flat().
|
inlinestatic |
Definition at line 87 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flat().
|
inlinestatic |
Definition at line 92 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flat().
|
static |
|
static |
|
inlinestatic |
Definition at line 107 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flatArray().
|
static |
|
inlinestatic |
Definition at line 72 of file RandFlat.icc.
|
inlinestatic |
Definition at line 118 of file RandFlat.icc.
References engine().
|
inlinestatic |
Definition at line 102 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flat().
|
inlinestatic |
Definition at line 97 of file RandFlat.icc.
References CLHEP::HepRandomEngine::flat().
|
inlinestatic |
Definition at line 62 of file RandFlat.icc.
References shoot().
|
inlinestatic |
Definition at line 58 of file RandFlat.icc.
References shoot().