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;
131 std::shared_ptr<HepRandomEngine> localEngine;
132 std::vector<double> theIntegralPdf;
135 int InterpolationType;
138 void prepareTable(
const double* aProbFunc);
139 void useFlatDistribution();
140 double mapRandom(
double rand)
const;
146 #include "CLHEP/Random/RandGeneral.icc"
void shootArray(const int size, double *vect)
HepRandomEngine & engine()
RandGeneral(const double *aProbFunc, int theProbSize, int IntType=0)
std::ostream & put(std::ostream &os) const
static std::string distributionName()
void fireArray(const int size, double *vect)