CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <RandGeneral.h>
Inheritance diagram for CLHEP::RandGeneral:
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 () |
Static Public Member Functions | |
static std::string | distributionName () |
Definition at line 40 of file RandGeneral.h.
CLHEP::RandGeneral::RandGeneral | ( | const double * | aProbFunc, | |
int | theProbSize, | |||
int | IntType = 0 | |||
) |
Definition at line 65 of file RandGeneral.cc.
CLHEP::RandGeneral::RandGeneral | ( | HepRandomEngine & | anEngine, | |
const double * | aProbFunc, | |||
int | theProbSize, | |||
int | IntType = 0 | |||
) |
Definition at line 76 of file RandGeneral.cc.
CLHEP::RandGeneral::RandGeneral | ( | HepRandomEngine * | anEngine, | |
const double * | aProbFunc, | |||
int | theProbSize, | |||
int | IntType = 0 | |||
) |
Definition at line 88 of file RandGeneral.cc.
CLHEP::RandGeneral::~RandGeneral | ( | ) | [virtual] |
Definition at line 173 of file RandGeneral.cc.
static std::string CLHEP::RandGeneral::distributionName | ( | ) | [inline, static] |
HepRandomEngine & CLHEP::RandGeneral::engine | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandom.
Definition at line 58 of file RandGeneral.cc.
Referenced by checkRandGeneralDistribution().
double CLHEP::RandGeneral::fire | ( | ) |
Referenced by fireArray(), and testRandGeneral().
void CLHEP::RandGeneral::fireArray | ( | const int | size, | |
double * | vect | |||
) |
std::istream & CLHEP::RandGeneral::get | ( | std::istream & | is | ) | [virtual] |
Reimplemented from CLHEP::HepRandom.
Definition at line 277 of file RandGeneral.cc.
References CLHEP::DoubConv::longs2double(), name(), and CLHEP::possibleKeywordInput().
std::string CLHEP::RandGeneral::name | ( | ) | const [virtual] |
Reimplemented from CLHEP::HepRandom.
Definition at line 57 of file RandGeneral.cc.
Referenced by checkRandGeneralDistribution(), get(), and put().
double CLHEP::RandGeneral::operator() | ( | ) | [virtual] |
Reimplemented from CLHEP::HepRandom.
std::ostream & CLHEP::RandGeneral::put | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from CLHEP::HepRandom.
Definition at line 250 of file RandGeneral.cc.
References CLHEP::DoubConv::dto2longs(), and name().
double CLHEP::RandGeneral::shoot | ( | HepRandomEngine * | anEngine | ) |
double CLHEP::RandGeneral::shoot | ( | ) | [inline] |
Referenced by shootArray().
void CLHEP::RandGeneral::shootArray | ( | HepRandomEngine * | anEngine, | |
const int | size, | |||
double * | vect | |||
) |
void CLHEP::RandGeneral::shootArray | ( | const int | size, | |
double * | vect | |||
) | [inline] |