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)
double operator()() const
void FireArray(int size, double *array) const
void ShootArray(int size, double *array) const
double StandardRand() const
CLHEP::HepRandomEngine * hjRandomEngine
void UseFlatDistribution()
RandArrayFunction(const double *aProbFunc, int theProbSize, int interpolationType=0)
tuple size
Write out results.
double MapRandom(double rand) const