26#define RandGeneral_h 1
46 const double* aProbFunc,
50 const double* aProbFunc,
112 void fireArray (
const int size,
double* vect);
118 std::ostream &
put ( std::ostream & os )
const;
119 std::istream &
get ( std::istream & is );
121 std::string
name()
const;
130 std::shared_ptr<HepRandomEngine> localEngine;
131 std::vector<double> theIntegralPdf;
134 int InterpolationType;
137 void prepareTable(
const double* aProbFunc);
138 void useFlatDistribution();
139 double mapRandom(
double rand)
const;
145#include "CLHEP/Random/RandGeneral.icc"
double shoot(HepRandomEngine *anEngine)
RandGeneral(const double *aProbFunc, int theProbSize, int IntType=0)
std::istream & get(std::istream &is)
std::ostream & put(std::ostream &os) const
static std::string distributionName()
void fireArray(const int size, double *vect)
HepRandomEngine & engine()
void shootArray(const int size, double *vect)