4 // -----------------------------------------------------------------------
 
    6 //                        --- RandChiSquare ---
 
    7 //                 inlined functions implementation file
 
    8 // -----------------------------------------------------------------------
 
   10 // =======================================================================
 
   11 // Gabriele Cosmo - Created: 19th August 1998
 
   12 // =======================================================================
 
   16 inline RandChiSquare::RandChiSquare(HepRandomEngine & anEngine, double a)
 
   17 : HepRandom( ), localEngine(&anEngine, do_nothing_deleter()), defaultA(a)
 
   20 inline RandChiSquare::RandChiSquare(HepRandomEngine * anEngine, double a)
 
   21 : HepRandom( ), localEngine(anEngine), defaultA(a)
 
   24 inline double RandChiSquare::fire() {
 
   25   return fire( defaultA );
 
   28 inline double RandChiSquare::shoot() {
 
   32 inline double RandChiSquare::operator()() {
 
   33   return fire( defaultA );
 
   36 inline double RandChiSquare::operator()( double a ) {
 
   40 inline double RandChiSquare::shoot( HepRandomEngine* anEngine ) {
 
   41   return shoot( anEngine, 1.0 );