Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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:
18 RooTFnPdfBinding() = default;
19 RooTFnPdfBinding(const char *name, const char *title, TF1* func, const RooArgList& list);
20 RooTFnPdfBinding(const RooTFnPdfBinding& other, const char* name=nullptr) ;
21 TObject* clone(const char* newname) const override { return new RooTFnPdfBinding(*this,newname); }
22
23 void printArgs(std::ostream& os) const override ;
24
25protected:
26
28 TF1* _func = nullptr;
29
30 double evaluate() const override ;
31
32private:
33
34 ClassDefOverride(RooTFnPdfBinding,1) // RooAbsPdf binding to ROOT TF[123] functions
35};
36
37
38namespace RooFit {
39
43
44}
45
46
47#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:59
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition RooArgList.h:22
void printArgs(std::ostream &os) const override
Print object arguments, ie its proxies.
TObject * clone(const char *newname) const override
RooTFnPdfBinding()=default
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
1-Dim function class
Definition TF1.h:214
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:41
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...
Definition JSONIO.h:26
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)