Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "Rtypes.h"
19
20
21//______________________________________________________________________
22/**
23 TUnuranBaseDist, base class for Unuran distribution classees such as
24 TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension)
25
26 \ingroup Unnuran
27*/
28///////////////////////////////////////////////////////////////////////
30
31public:
32
33
34 /**
35 Destructor (no operations)
36 */
37 virtual ~TUnuranBaseDist () {}
38
39 /**
40 Abstract clone method for a deep copy of the derived classes
41 */
42 virtual TUnuranBaseDist * Clone() const = 0;
43
44
45// private:
46// /**
47// Default constructor
48// */
49// TUnuranBaseDist() {}
50
51// /**
52// Copy constructor
53// */
54// TUnuranBaseDist(const TUnuranBaseDist & ) {}
55
56// /**
57// Assignment operator
58// */
59// TUnuranBaseDist & operator = (const TUnuranBaseDist & ) {
60// return *this;
61// }
62
63
64 ClassDef(TUnuranBaseDist,1) //Base class for Unuran distribution wrappers
65
66
67};
68
69
70
71#endif /* ROOT_Math_TUnuranBaseDist */
#define ClassDef(name, id)
Definition Rtypes.h:325
TUnuranBaseDist, base class for Unuran distribution classees such as TUnuranContDist (for one-dimensi...
virtual TUnuranBaseDist * Clone() const =0
Abstract clone method for a deep copy of the derived classes.
virtual ~TUnuranBaseDist()
Destructor (no operations)