25 #ifndef RandChiSquare_h
26 #define RandChiSquare_h 1
28 #include "CLHEP/Random/defs.h"
29 #include "CLHEP/Random/Random.h"
30 #include "CLHEP/Utility/memory.h"
38 class RandChiSquare :
public HepRandom {
58 static inline double shoot();
60 static double shoot(
double a );
62 static void shootArray (
const int size,
double* vect,
68 static inline double shoot( HepRandomEngine* anEngine );
70 static double shoot( HepRandomEngine* anEngine,
73 static void shootArray ( HepRandomEngine* anEngine,
const int size,
74 double* vect,
double a=1.0 );
81 double fire(
double a );
83 void fireArray (
const int size,
double* vect);
84 void fireArray (
const int size,
double* vect,
91 std::ostream &
put ( std::ostream & os )
const;
92 std::istream &
get ( std::istream & is );
94 std::string
name()
const;
95 HepRandomEngine &
engine();
111 #ifdef ENABLE_BACKWARDS_COMPATIBILITY
113 using namespace CLHEP;
116 #include "CLHEP/Random/RandChiSquare.icc"
static void shootArray(const int size, double *vect, double a=1.0)
static std::string distributionName()
RandChiSquare(HepRandomEngine &anEngine, double a=1)
HepRandomEngine & engine()
void fireArray(const int size, double *vect)
std::ostream & put(std::ostream &os) const