Logo ROOT   6.14/05
Reference Guide
RooTFnPdfBinding.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * This code was autogenerated by RooClassFactory *
5  *****************************************************************************/
6 
7 #ifndef ROOTFNPDFBINDING
8 #define ROOTFNPDFBINDING
9 
10 #include "RooListProxy.h"
11 #include "RooAbsPdf.h"
12 class TF1 ;
13 class TF2 ;
14 class TF3 ;
15 
16 class RooTFnPdfBinding : public RooAbsPdf {
17 public:
18  RooTFnPdfBinding() : _func(0) {} ;
19  RooTFnPdfBinding(const char *name, const char *title, TF1* func, const RooArgList& list);
20  RooTFnPdfBinding(const RooTFnPdfBinding& other, const char* name=0) ;
21  virtual TObject* clone(const char* newname) const { return new RooTFnPdfBinding(*this,newname); }
22  inline virtual ~RooTFnPdfBinding() { }
23 
24  void printArgs(std::ostream& os) const ;
25 
26 protected:
27 
30 
31  Double_t evaluate() const ;
32 
33 private:
34 
35  ClassDef(RooTFnPdfBinding,1) // RooAbsPdf binding to ROOT TF[123] functions
36 };
37 
38 
39 namespace RooFit {
40 
41 RooAbsPdf* bindPdf(TF1* func,RooAbsReal& x) ;
44 
45 }
46 
47 
48 #endif
RooAbsPdf * bindPdf(TF3 *func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
virtual TObject * clone(const char *newname) const
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:320
Double_t evaluate() const
A 3-Dim function with parameters.
Definition: TF3.h:28
virtual ~RooTFnPdfBinding()
A 2-Dim function with parameters.
Definition: TF2.h:29
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Double_t y[n]
Definition: legend1.C:17
Mother of all ROOT objects.
Definition: TObject.h:37
you should not use this method at all Int_t Int_t z
Definition: TRolke.cxx:630
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
1-Dim function class
Definition: TF1.h:211
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
RooListProxy _list
char name[80]
Definition: TGX11.cxx:109