/*****************************************************************************
 * Project: RooFit                                                           *
 *                                                                           *
  * This code was autogenerated by RooClassFactory                            * 
 *****************************************************************************/

#ifndef ROOTFNPDFBINDING
#define ROOTFNPDFBINDING

#include "RooListProxy.h"
#include "RooAbsPdf.h"
class TF1 ;
class TF2 ;
class TF3 ;

class RooTFnPdfBinding : public RooAbsPdf {
public:
  RooTFnPdfBinding() : _func(0) {} ; 
  RooTFnPdfBinding(const char *name, const char *title, TF1* func, const RooArgList& list);
  RooTFnPdfBinding(const RooTFnPdfBinding& other, const char* name=0) ;
  virtual TObject* clone(const char* newname) const { return new RooTFnPdfBinding(*this,newname); }
  inline virtual ~RooTFnPdfBinding() { }

  void printArgs(std::ostream& os) const ;

protected:

  RooListProxy _list ;
  TF1* _func ;
  
  Double_t evaluate() const ;

private:

  ClassDef(RooTFnPdfBinding,1) // RooAbsPdf binding to ROOT TF[123] functions
};
 

namespace RooFit {

RooAbsPdf* bindPdf(TF1* func,RooAbsReal& x) ;
RooAbsPdf* bindPdf(TF2* func,RooAbsReal& x, RooAbsReal& y) ;
RooAbsPdf* bindPdf(TF3* func,RooAbsReal& x, RooAbsReal& y, RooAbsReal& z) ;

}


#endif
 RooTFnPdfBinding.h:1
 RooTFnPdfBinding.h:2
 RooTFnPdfBinding.h:3
 RooTFnPdfBinding.h:4
 RooTFnPdfBinding.h:5
 RooTFnPdfBinding.h:6
 RooTFnPdfBinding.h:7
 RooTFnPdfBinding.h:8
 RooTFnPdfBinding.h:9
 RooTFnPdfBinding.h:10
 RooTFnPdfBinding.h:11
 RooTFnPdfBinding.h:12
 RooTFnPdfBinding.h:13
 RooTFnPdfBinding.h:14
 RooTFnPdfBinding.h:15
 RooTFnPdfBinding.h:16
 RooTFnPdfBinding.h:17
 RooTFnPdfBinding.h:18
 RooTFnPdfBinding.h:19
 RooTFnPdfBinding.h:20
 RooTFnPdfBinding.h:21
 RooTFnPdfBinding.h:22
 RooTFnPdfBinding.h:23
 RooTFnPdfBinding.h:24
 RooTFnPdfBinding.h:25
 RooTFnPdfBinding.h:26
 RooTFnPdfBinding.h:27
 RooTFnPdfBinding.h:28
 RooTFnPdfBinding.h:29
 RooTFnPdfBinding.h:30
 RooTFnPdfBinding.h:31
 RooTFnPdfBinding.h:32
 RooTFnPdfBinding.h:33
 RooTFnPdfBinding.h:34
 RooTFnPdfBinding.h:35
 RooTFnPdfBinding.h:36
 RooTFnPdfBinding.h:37
 RooTFnPdfBinding.h:38
 RooTFnPdfBinding.h:39
 RooTFnPdfBinding.h:40
 RooTFnPdfBinding.h:41
 RooTFnPdfBinding.h:42
 RooTFnPdfBinding.h:43
 RooTFnPdfBinding.h:44
 RooTFnPdfBinding.h:45
 RooTFnPdfBinding.h:46
 RooTFnPdfBinding.h:47
 RooTFnPdfBinding.h:48