// @(#)root/unuran:$Id: TUnuranBaseDist.h 21526 2007-12-20 10:42:41Z moneta $
// Authors: L. Moneta, J. Leydold Wed Feb 28 2007

/**********************************************************************
 *                                                                    *
 * Copyright (c) 2006  LCG ROOT Math Team, CERN/PH-SFT                *
 *                                                                    *
 *                                                                    *
 **********************************************************************/

// Header file for class TUnuranBaseDist


#ifndef ROOT_Math_TUnuranBaseDist
#define ROOT_Math_TUnuranBaseDist

//needed by the ClassDef
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif


//______________________________________________________________________
/** 
   TUnuranBaseDist, base class for Unuran distribution classees such as 
   TUnuranContDist (for one-dimension) or TUnuranMultiContDist (multi-dimension)
*/ 
///////////////////////////////////////////////////////////////////////
class TUnuranBaseDist  {

public: 


   /** 
      Destructor (no operations)
   */ 
   virtual ~TUnuranBaseDist () {}

   /**
      Abstract clone method for a deep copy of the derived classes
    */
   virtual TUnuranBaseDist * Clone() const = 0; 


// private: 
//    /**
//       Default constructor
//     */
//    TUnuranBaseDist() {}

//    /** 
//       Copy constructor
//    */ 
//    TUnuranBaseDist(const TUnuranBaseDist & ) {} 

//    /** 
//       Assignment operator
//    */ 
//    TUnuranBaseDist & operator = (const TUnuranBaseDist & ) {
//       return *this;
//    } 


   ClassDef(TUnuranBaseDist,1)  //Base class for Unuran distribution wrappers


}; 



#endif /* ROOT_Math_TUnuranBaseDist */

Last change: Wed Jun 25 08:54:32 2008
Last generated: 2008-06-25 08:54

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.