Logo ROOT  
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"
12class TF1 ;
13class TF2 ;
14class TF3 ;
15
17public:
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
26protected:
27
30
31 Double_t evaluate() const ;
32
33private:
34
35 ClassDef(RooTFnPdfBinding,1) // RooAbsPdf binding to ROOT TF[123] functions
36};
37
38
39namespace RooFit {
40
44
45}
46
47
48#endif
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:326
char name[80]
Definition: TGX11.cxx:109
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:59
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgList.h:21
RooListProxy is the concrete proxy for RooArgList objects.
Definition: RooListProxy.h:25
RooListProxy _list
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
virtual TObject * clone(const char *newname) const
virtual ~RooTFnPdfBinding()
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
1-Dim function class
Definition: TF1.h:211
A 2-Dim function with parameters.
Definition: TF2.h:29
A 3-Dim function with parameters.
Definition: TF3.h:28
Mother of all ROOT objects.
Definition: TObject.h:37
Double_t y[n]
Definition: legend1.C:17
Double_t x[n]
Definition: legend1.C:17
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)