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"
60 static double shoot(
double a );
62 static void shootArray (
const int size,
double* vect,
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;
104 std::shared_ptr<HepRandomEngine> localEngine;
111#ifdef ENABLE_BACKWARDS_COMPATIBILITY
113using namespace CLHEP;
116#include "CLHEP/Random/RandChiSquare.icc"
static double shoot(HepRandomEngine *anEngine)
void fireArray(const int size, double *vect)
std::istream & get(std::istream &is)
double operator()(double a)
static std::string distributionName()
HepRandomEngine & engine()
RandChiSquare(HepRandomEngine &anEngine, double a=1)
static void shootArray(const int size, double *vect, double a=1.0)
std::ostream & put(std::ostream &os) const
RandChiSquare(HepRandomEngine *anEngine, double a=1)