ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
RooAbsReal * bindFunction(const char *name, CFUNCD1D func, RooAbsReal &x)
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual ~RooTFnBinding()
Definition: RooTFnBinding.h:24
RooListProxy _olist
Definition: RooTFnBinding.h:30
Float_t z[5]
Definition: Ifit.C:16
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
A 3-Dim function with parameters.
Definition: TF3.h:30
A 2-Dim function with parameters.
Definition: TF2.h:33
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:26
RooListProxy _plist
Definition: RooTFnBinding.h:31
virtual TObject * clone(const char *newname) const
Definition: RooTFnBinding.h:23
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
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
#define name(a, b)
Definition: linkTestLib0.cpp:5
Mother of all ROOT objects.
Definition: TObject.h:58
1-Dim function class
Definition: TF1.h:149
Double_t evaluate() const