4 // -----------------------------------------------------------------------
 
    7 //                 inlined functions implementation file
 
    8 // -----------------------------------------------------------------------
 
   10 // =======================================================================
 
   11 // Gabriele Cosmo - Created: 20th August 1998
 
   13 // M. Fischler    - Moved fire() and shoot(anEngine) into inline so that
 
   14 //             the use of mapRandom does not cost an extra function call.
 
   15 // =======================================================================
 
   19 inline double RandGeneral::fire()
 
   21   double rand = localEngine->flat();
 
   22   return mapRandom(rand);
 
   25 inline double RandGeneral::shoot()
 
   30 inline double RandGeneral::operator() ()
 
   35 inline double RandGeneral::shoot( HepRandomEngine* anEngine )
 
   37   double rand = anEngine->flat();
 
   38   return mapRandom(rand);
 
   41 inline void RandGeneral::shootArray( const int size, double* vect )
 
   43   fireArray(size, vect);