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 classes such as
24 TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension)
25
26 \ingroup Unuran
27*/
28///////////////////////////////////////////////////////////////////////
30
31public:
32
33 /**
34 Destructor (no operations)
35 */
36 virtual ~TUnuranBaseDist () {}
37
38 /**
39 Abstract clone method for a deep copy of the derived classes
40 */
41 virtual TUnuranBaseDist * Clone() const = 0;
42
43 ClassDef(TUnuranBaseDist,1) //Base class for Unuran distribution wrappers
44};
45
46
47
48#endif /* ROOT_Math_TUnuranBaseDist */
#define ClassDef(name, id)
Definition Rtypes.h:337
TUnuranBaseDist, base class for Unuran distribution classes such as TUnuranContDist (for one-dimensio...
virtual TUnuranBaseDist * Clone() const =0
Abstract clone method for a deep copy of the derived classes.
virtual ~TUnuranBaseDist()
Destructor (no operations)