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) | |
| ~RooGenFunction () override | |
| ROOT::Math::IBaseFunctionOneDim * | Clone () const override |
| Clone a function. | |
| virtual TClass * | IsA () const |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim | |
| IBaseFunctionOneDim () | |
| virtual | ~IBaseFunctionOneDim () |
| virtual destructor | |
| double | operator() (const double *x) const |
| Evaluate the function at a point x[]. | |
| 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. | |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Protected Member Functions | |
| double | DoEval (double) const override |
| implementation of the evaluation function. Must be implemented by derived classes | |
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 46 of file RooGenFunction.cxx.
| RooGenFunction::RooGenFunction | ( | const RooAbsReal & | func, |
| const RooArgList & | observables, | ||
| const RooArgList & | parameters, | ||
| const RooArgSet & | nset | ||
| ) |
Definition at line 54 of file RooGenFunction.cxx.
| RooGenFunction::RooGenFunction | ( | const RooGenFunction & | other | ) |
Definition at line 62 of file RooGenFunction.cxx.
|
override |
Definition at line 70 of file RooGenFunction.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 40 of file RooGenFunction.h.
|
inlineoverridevirtual |
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.
|
inlinestatic |
Definition at line 40 of file RooGenFunction.h.
implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionOneDim.
Definition at line 77 of file RooGenFunction.cxx.
|
inlinevirtual |
Definition at line 40 of file RooGenFunction.h.
|
virtual |
|
inline |
Definition at line 40 of file RooGenFunction.h.
|
protected |
Definition at line 38 of file RooGenFunction.h.