27#define RandGeneral_h 1
29#include "CLHEP/Random/defs.h"
30#include "CLHEP/Random/Random.h"
31#include "CLHEP/Utility/memory.h"
48 const double* aProbFunc,
52 const double* aProbFunc,
114 void fireArray (
const int size,
double* vect);
120 std::ostream &
put ( std::ostream & os )
const;
121 std::istream &
get ( std::istream & is );
123 std::string
name()
const;
132 std::shared_ptr<HepRandomEngine> localEngine;
133 std::vector<double> theIntegralPdf;
136 int InterpolationType;
139 void prepareTable(
const double* aProbFunc);
140 void useFlatDistribution();
141 double mapRandom(
double rand)
const;
147#ifdef ENABLE_BACKWARDS_COMPATIBILITY
149using namespace CLHEP;
152#include "CLHEP/Random/RandGeneral.icc"
double shoot(HepRandomEngine *anEngine)
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)