Geant4  10.02.p02
Random.icc
Go to the documentation of this file.
1 // $Id:$
2 // -*- C++ -*-
3 //
4 // -----------------------------------------------------------------------
5 // HEP Random
6 // --- HepRandom ---
7 // inlined functions implementation file
8 // -----------------------------------------------------------------------
9 // This file is part of Geant4 (simulation toolkit for HEP).
10 
11 // =======================================================================
12 // Gabriele Cosmo - Created: 5th September 1995
13 // - Added methods for engine status: 19th November 1996
14 // - operator()() is now virtual: 28th July 1997
15 // - Simplified initialisation of static generator: 5th Jan 1999
16 // =======================================================================
17 
18 namespace CLHEP {
19 
20 inline double HepRandom::flat(HepRandomEngine* theNewEngine)
21 {
22  return theNewEngine->flat();
23 }
24 
25 inline void HepRandom::flatArray(HepRandomEngine* theNewEngine,
26  const int size, double* vect)
27 {
28  theNewEngine->flatArray(size,vect);
29 }
30 
31 } // namespace CLHEP
32