1 #ifndef RANDARRAYFUNCTION_INCLUDED 2 #define RANDARRAYFUNCTION_INCLUDED 6 #include "CLHEP/Random/RandomEngine.h" 7 #include "CLHEP/Random/RandFlat.h" 81 RandArrayFunction(
const double *aProbFunc,
int theProbSize,
int interpolationType = 0);
std::vector< double > fIntegralPdf
void PrepareTable(const double *aProbFunc)
CLHEP::HepRandomEngine * hjRandomEngine
double operator()() const
void FireArray(int size, double *array) const
void ShootArray(int size, double *array) const
double StandardRand() const
void UseFlatDistribution()
RandArrayFunction(const double *aProbFunc, int theProbSize, int interpolationType=0)
double MapRandom(double rand) const