Random.icc

Go to the documentation of this file.
00001 // $Id:$
00002 // -*- C++ -*-
00003 // 
00004 // -----------------------------------------------------------------------
00005 //                             HEP Random
00006 //                         --- HepRandom ---
00007 //                 inlined functions implementation file
00008 // -----------------------------------------------------------------------
00009 // This file is part of Geant4 (simulation toolkit for HEP).
00010 
00011 // =======================================================================
00012 // Gabriele Cosmo - Created: 5th September 1995
00013 //                - Added methods for engine status: 19th November 1996
00014 //                - operator()() is now virtual: 28th July 1997
00015 //                - Simplified initialisation of static generator: 5th Jan 1999
00016 // =======================================================================
00017 
00018 namespace CLHEP {
00019 
00020 inline double HepRandom::flat(HepRandomEngine* theNewEngine)
00021 {
00022   return theNewEngine->flat();
00023 }
00024 
00025 inline void HepRandom::flatArray(HepRandomEngine* theNewEngine, 
00026                                  const int size, double* vect)
00027 {
00028   theNewEngine->flatArray(size,vect);
00029 }
00030 
00031 }  // namespace CLHEP
00032 

Generated on Mon May 27 17:50:33 2013 for Geant4 by  doxygen 1.4.7