CLHEP
2.4.7.1
C++ Class Library for High Energy Physics
CLHEP
Random
Random.icc
Go to the documentation of this file.
1
// $Id: Random.icc,v 1.2 2003/07/17 19:20:02 garren Exp $
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
CLHEP::HepRandomEngine
Definition
RandomEngine.h:55
CLHEP::HepRandomEngine::flat
virtual double flat()=0
CLHEP::HepRandomEngine::flatArray
virtual void flatArray(const int size, double *vect)=0
CLHEP::HepRandom::flatArray
void flatArray(const int size, double *vect)
CLHEP::HepRandom::flat
double flat()
CLHEP
Definition
ClhepVersion.h:13
Generated by
1.13.2