ROOT 6.14/05 Reference Guide |
Lightweight interface adaptor that exports a RooAbsReal as a ROOT::Math::IGenFunction.
Definition at line 22 of file RooGenFunction.h.
Public Member Functions | |
RooGenFunction (const RooAbsReal &func, const RooArgList &observables, const RooArgList ¶meters) | |
RooGenFunction (const RooAbsReal &func, const RooArgList &observables, const RooArgList ¶meters, const RooArgSet &nset) | |
RooGenFunction (const RooGenFunction &other) | |
virtual | ~RooGenFunction () |
virtual ROOT::Math::IBaseFunctionOneDim * | Clone () const |
Clone a function. More... | |
Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim | |
IBaseFunctionOneDim () | |
virtual | ~IBaseFunctionOneDim () |
virtual destructor More... | |
double | operator() (double x) const |
Evaluate the function at a point x Use the a pure virtual private method DoEval which must be implemented by sub-classes. More... | |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. More... | |
Protected Member Functions | |
double | DoEval (double) const |
implementation of the evaluation function. Must be implemented by derived classes More... | |
Protected Attributes | |
RooFunctor | _ftor |
Additional Inherited Members | |
Public Types inherited from ROOT::Math::IBaseFunctionOneDim | |
typedef IBaseFunctionOneDim | BaseFunc |
#include <RooGenFunction.h>
RooGenFunction::RooGenFunction | ( | const RooAbsReal & | func, |
const RooArgList & | observables, | ||
const RooArgList & | parameters | ||
) |
Definition at line 47 of file RooGenFunction.cxx.
RooGenFunction::RooGenFunction | ( | const RooAbsReal & | func, |
const RooArgList & | observables, | ||
const RooArgList & | parameters, | ||
const RooArgSet & | nset | ||
) |
Definition at line 55 of file RooGenFunction.cxx.
RooGenFunction::RooGenFunction | ( | const RooGenFunction & | other | ) |
Definition at line 63 of file RooGenFunction.cxx.
|
virtual |
Definition at line 71 of file RooGenFunction.cxx.
|
inlinevirtual |
Clone a function.
Each derived class will implement their version of the provate DoClone method
Implements ROOT::Math::IBaseFunctionOneDim.
Definition at line 30 of file RooGenFunction.h.
|
protectedvirtual |
implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionOneDim.
Definition at line 78 of file RooGenFunction.cxx.
|
protected |
Definition at line 41 of file RooGenFunction.h.