Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:03:30

0001 // $Id: Random.icc,v 1.2 2003/07/17 19:20:02 garren Exp $
0002 // -*- C++ -*-
0003 // 
0004 // -----------------------------------------------------------------------
0005 //                             HEP Random
0006 //                         --- HepRandom ---
0007 //                 inlined functions implementation file
0008 // -----------------------------------------------------------------------
0009 // This file is part of Geant4 (simulation toolkit for HEP).
0010 
0011 // =======================================================================
0012 // Gabriele Cosmo - Created: 5th September 1995
0013 //                - Added methods for engine status: 19th November 1996
0014 //                - operator()() is now virtual: 28th July 1997
0015 //                - Simplified initialisation of static generator: 5th Jan 1999
0016 // =======================================================================
0017 
0018 namespace CLHEP {
0019 
0020 inline double HepRandom::flat(HepRandomEngine* theNewEngine)
0021 {
0022   return theNewEngine->flat();
0023 }
0024 
0025 inline void HepRandom::flatArray(HepRandomEngine* theNewEngine, 
0026                                  const int size, double* vect)
0027 {
0028   theNewEngine->flatArray(size,vect);
0029 }
0030 
0031 }  // namespace CLHEP
0032