ROOT logo

class RooAbsFunc

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.

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

static TClass*Class()
UInt_tgetDimension() const
virtual Double_tgetMaxLimit(UInt_t dimension) const
virtual Double_tgetMinLimit(UInt_t dimension) const
virtual const char*getName() const
virtual TClass*IsA() const
Bool_tisValid() const
Int_tnumCall() const
virtual Double_toperator()(const Double_t* xvector) const
RooAbsFunc&operator=(const RooAbsFunc&)
virtual list<Double_t>*plotSamplingHint(RooAbsRealLValue&, Double_t, Double_t) const
voidresetNumCall() const
virtual voidrestoreXVec() const
virtual voidsaveXVec() const
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

UInt_t_dimensionNumber of observables
Int_t_ncallFunction call counter
Bool_t_validIs binding in valid state?

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~RooAbsFunc()
{ }
UInt_t getDimension() const
 Dimension of function
Bool_t isValid() const
 Is function in valid state
Double_t operator()(const Double_t* xvector) const
Double_t getMinLimit(UInt_t dimension) const
Double_t getMaxLimit(UInt_t dimension) const
Int_t numCall() const
 Return number of function calls since last reset
void resetNumCall() const
 Reset function call counter
void saveXVec() const
 Interface to save current values of observables (if supported by binding implementation)
void restoreXVec() const
 Interface to restore observables to saved values (if supported
 by binding implementation)
const char* getName() const
 Name of function binding
std::list<Double_t>* plotSamplingHint(RooAbsRealLValue& , Double_t , Double_t ) const
 Interface for returning an optional hint for initial sampling points when constructing a curve
 projected on observable.