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