27 #define RandGeneral_h 1
47 const double* aProbFunc,
51 const double* aProbFunc,
96 inline double shoot();
98 inline void shootArray (
const int size,
double* vect);
113 void fireArray (
const int size,
double* vect);
119 std::ostream &
put ( std::ostream & os )
const;
120 std::istream &
get ( std::istream & is );
122 std::string
name()
const;
146 #include "CLHEP/Random/RandGeneral.icc"
void useFlatDistribution()
std::vector< double > theIntegralPdf
void prepareTable(const double *aProbFunc)
RandGeneral(const double *aProbFunc, int theProbSize, int IntType=0)
static std::string distributionName()
double mapRandom(double rand) const
HepRandomEngine & engine()
void shootArray(const int size, double *vect)
std::shared_ptr< HepRandomEngine > localEngine
std::ostream & put(std::ostream &os) const
void fireArray(const int size, double *vect)