ROOT  6.06/09
Reference Guide
TUnuranBaseDist.h
Go to the documentation of this file.
1 // @(#)root/unuran:$Id$
2 // Authors: L. Moneta, J. Leydold Wed Feb 28 2007
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *
7  * *
8  * *
9  **********************************************************************/
10 
11 // Header file for class TUnuranBaseDist
12 
13 
14 #ifndef ROOT_Math_TUnuranBaseDist
15 #define ROOT_Math_TUnuranBaseDist
16 
17 //needed by the ClassDef
18 #ifndef ROOT_Rtypes
19 #include "Rtypes.h"
20 #endif
21 
22 
23 //______________________________________________________________________
24 /**
25  TUnuranBaseDist, base class for Unuran distribution classees such as
26  TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension)
27 
28  \ingroup Unnuran
29 */
30 ///////////////////////////////////////////////////////////////////////
32 
33 public:
34 
35 
36  /**
37  Destructor (no operations)
38  */
39  virtual ~TUnuranBaseDist () {}
40 
41  /**
42  Abstract clone method for a deep copy of the derived classes
43  */
44  virtual TUnuranBaseDist * Clone() const = 0;
45 
46 
47 // private:
48 // /**
49 // Default constructor
50 // */
51 // TUnuranBaseDist() {}
52 
53 // /**
54 // Copy constructor
55 // */
56 // TUnuranBaseDist(const TUnuranBaseDist & ) {}
57 
58 // /**
59 // Assignment operator
60 // */
61 // TUnuranBaseDist & operator = (const TUnuranBaseDist & ) {
62 // return *this;
63 // }
64 
65 
66  ClassDef(TUnuranBaseDist,1) //Base class for Unuran distribution wrappers
67 
68 
69 };
70 
71 
72 
73 #endif /* ROOT_Math_TUnuranBaseDist */
TUnuranBaseDist, base class for Unuran distribution classees such as TUnuranContDist (for one-dimensi...
virtual ~TUnuranBaseDist()
Destructor (no operations)
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual TUnuranBaseDist * Clone() const =0
Abstract clone method for a deep copy of the derived classes.