Logo ROOT   6.13/01
Reference Guide
TRandomEngine.h
Go to the documentation of this file.
1 // @(#)root/mathcore:$Id$
2 // Author: L. Moneta Tue Aug 4 2015
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2015 LCG ROOT Math Team, CERN/PH-SFT *
7  * *
8  * *
9  **********************************************************************/
10 
11 // interface for random engines based on ROOT
12 
13 #ifndef ROOT_Math_TRandomEngine
14 #define ROOT_Math_TRandomEngine
15 
16 namespace ROOT {
17  namespace Math{
18 
19  class TRandomEngine {
20  public:
21  virtual double Rndm() = 0;
22  virtual ~TRandomEngine() {}
23  };
24 
25  } // end namespace Math
26 
27 } // end namespace ROOT
28 
29 
30 #endif /* ROOT_Math_TRandomEngine */
Namespace for new ROOT classes and functions.
Definition: TFoamSampler.h:19
virtual double Rndm()=0
Namespace for new Math classes and functions.