Logo ROOT   6.10/09
Reference Guide
RooTFnBinding.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * This code was autogenerated by RooClassFactory *
5  *****************************************************************************/
6 
7 #ifndef ROOTFNBINDING
8 #define ROOTFNBINDING
9 
10 #include "RooAbsReal.h"
11 #include "RooListProxy.h"
12 #include "RooAbsReal.h"
13 class TF1 ;
14 class TF2 ;
15 class TF3 ;
16 
17 class RooTFnBinding : public RooAbsReal {
18 public:
19  RooTFnBinding() : _func(0) {} ;
20  RooTFnBinding(const char *name, const char *title, TF1* func, const RooArgList& list);
21  RooTFnBinding(const char *name, const char *title, TF1* func, const RooArgList& list, const RooArgList& plist);
22  RooTFnBinding(const RooTFnBinding& other, const char* name=0) ;
23  virtual TObject* clone(const char* newname) const { return new RooTFnBinding(*this,newname); }
24  inline virtual ~RooTFnBinding() { }
25 
26  void printArgs(std::ostream& os) const ;
27 
28 protected:
29 
33 
34  Double_t evaluate() const ;
35 
36 private:
37 
38  ClassDef(RooTFnBinding,1) // RooAbsReal binding to ROOT TF[123] functions
39 };
40 
41 
42 namespace RooFit {
43 
47 
51 
52 }
53 
54 
55 #endif
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:297
Double_t evaluate() const
virtual ~RooTFnBinding()
Definition: RooTFnBinding.h:24
RooListProxy _olist
Definition: RooTFnBinding.h:30
RooAbsReal * bindFunction(TF3 *func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, const RooArgList &params)
A 3-Dim function with parameters.
Definition: TF3.h:28
virtual TObject * clone(const char *newname) const
Definition: RooTFnBinding.h:23
A 2-Dim function with parameters.
Definition: TF2.h:29
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
RooListProxy _plist
Definition: RooTFnBinding.h:31
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
double func(double *x, double *p)
Definition: stressTF1.cxx:213
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
1-Dim function class
Definition: TF1.h:150