Abstract interface for evaluating a real-valued function of one real variable and performing numerical algorithms on it.
The purpose of this interface is to decouple RooAbsArg-specific implementations from numerical algorithms that only need a simple function evaluation interface. The domain of the function is assumed to be an n-dimensional box with edge coordinates specified by the the getMinLimit() and getMaxLimit() methods.
Definition at line 27 of file RooAbsFunc.h.
Public Member Functions | |
RooAbsFunc (const RooAbsFunc &other) | |
RooAbsFunc (UInt_t dimension) | |
virtual | ~RooAbsFunc () |
virtual std::list< double > * | binBoundaries (Int_t) const |
UInt_t | getDimension () const |
virtual double | getMaxLimit (UInt_t dimension) const =0 |
virtual double | getMinLimit (UInt_t dimension) const =0 |
virtual const char * | getName () const |
Name of function binding. | |
virtual TClass * | IsA () const |
bool | isValid () const |
Int_t | numCall () const |
Return number of function calls since last reset. | |
virtual double | operator() (const double xvector[]) const =0 |
virtual std::list< double > * | plotSamplingHint (RooAbsRealLValue &, double, double) const |
Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable. | |
void | resetNumCall () const |
Reset function call counter. | |
virtual void | restoreXVec () const |
virtual void | saveXVec () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
UInt_t | _dimension |
Number of observables. | |
Int_t | _ncall |
Function call counter. | |
bool | _valid |
Is binding in valid state? | |
#include <RooAbsFunc.h>
|
inline |
Definition at line 29 of file RooAbsFunc.h.
|
inline |
Definition at line 30 of file RooAbsFunc.h.
|
inlinevirtual |
Definition at line 32 of file RooAbsFunc.h.
Reimplemented in RooRealBinding.
Definition at line 69 of file RooAbsFunc.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 81 of file RooAbsFunc.h.
|
inlinestatic |
Definition at line 81 of file RooAbsFunc.h.
|
inline |
Definition at line 33 of file RooAbsFunc.h.
|
inlinevirtual |
Name of function binding.
Reimplemented in RooRealBinding.
Definition at line 65 of file RooAbsFunc.h.
|
inlinevirtual |
Reimplemented in RooDataProjBinding, RooInvTransform, and RooRealBinding.
Definition at line 81 of file RooAbsFunc.h.
|
inline |
Definition at line 37 of file RooAbsFunc.h.
|
inline |
Return number of function calls since last reset.
Definition at line 47 of file RooAbsFunc.h.
|
inlinevirtual |
Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable.
Reimplemented in RooRealBinding.
Definition at line 73 of file RooAbsFunc.h.
|
inline |
Reset function call counter.
Definition at line 52 of file RooAbsFunc.h.
|
inlinevirtual |
Reimplemented in RooRealBinding.
Definition at line 59 of file RooAbsFunc.h.
|
inlinevirtual |
Reimplemented in RooRealBinding.
Definition at line 56 of file RooAbsFunc.h.
|
virtual |
Reimplemented in RooDataProjBinding, RooInvTransform, and RooRealBinding.
|
inline |
Definition at line 81 of file RooAbsFunc.h.
|
protected |
Number of observables.
Definition at line 79 of file RooAbsFunc.h.
|
mutableprotected |
Function call counter.
Definition at line 78 of file RooAbsFunc.h.
|
protected |
Is binding in valid state?
Definition at line 80 of file RooAbsFunc.h.