Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:12:31

0001 // @(#)root/unuran:$Id$
0002 // Authors: L. Moneta, J. Leydold Wed Feb 28 2007
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2006  LCG ROOT Math Team, CERN/PH-SFT                *
0007  *                                                                    *
0008  *                                                                    *
0009  **********************************************************************/
0010 
0011 // Header file for class TUnuranBaseDist
0012 
0013 
0014 #ifndef ROOT_Math_TUnuranBaseDist
0015 #define ROOT_Math_TUnuranBaseDist
0016 
0017 //needed by the ClassDef
0018 #include "Rtypes.h"
0019 
0020 
0021 //______________________________________________________________________
0022 /**
0023    TUnuranBaseDist, base class for Unuran distribution classes such as
0024    TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension)
0025 
0026    \ingroup Unuran
0027 */
0028 ///////////////////////////////////////////////////////////////////////
0029 class TUnuranBaseDist  {
0030 
0031 public:
0032 
0033    /**
0034       Destructor (no operations)
0035    */
0036    virtual ~TUnuranBaseDist () {}
0037 
0038    /**
0039       Abstract clone method for a deep copy of the derived classes
0040     */
0041    virtual TUnuranBaseDist * Clone() const = 0;
0042 
0043    ClassDef(TUnuranBaseDist,1)  //Base class for Unuran distribution wrappers
0044 };
0045 
0046 
0047 
0048 #endif /* ROOT_Math_TUnuranBaseDist */