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.

public:
virtual~RooAbsFunc()
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&)
voidresetNumCall() const
virtual voidrestoreXVec() const
virtual voidsaveXVec() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
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()
 Dimension of function
Bool_t isValid()
 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()
 Return number of function calls since last reset
void resetNumCall()
 Reset function call counter
void saveXVec()
 Interface to save current values of observables (if supported by binding implementation)
void restoreXVec()
 Interface to restore observables to saved values (if supported
 by binding implementation)
const char* getName()
 Name of function binding

Last change: Wed Jun 25 08:31:35 2008
Last generated: 2008-06-25 08:31
Copyright (c) 2000-2005, Regents of the University of California *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.