Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooAbsFunc Class Referenceabstract

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 23 of file RooAbsFunc.h.

Public Member Functions

 RooAbsFunc (UInt_t dimension)
 
 RooAbsFunc (const RooAbsFunc &other)
 
virtual ~RooAbsFunc ()
 
virtual std::list< Double_t > * binBoundaries (Int_t) const
 
UInt_t getDimension () const
 
virtual Double_t getMaxLimit (UInt_t dimension) const =0
 
virtual Double_t getMinLimit (UInt_t dimension) const =0
 
virtual const char * getName () const
 
Bool_t isValid () const
 
Int_t numCall () const
 
virtual Double_t operator() (const Double_t xvector[]) const =0
 
virtual std::list< Double_t > * plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const
 
void resetNumCall () const
 
virtual void restoreXVec () const
 
virtual void saveXVec () const
 

Protected Attributes

UInt_t _dimension
 
Int_t _ncall
 
Bool_t _valid
 

#include <RooAbsFunc.h>

Inheritance diagram for RooAbsFunc:
[legend]

Constructor & Destructor Documentation

◆ RooAbsFunc() [1/2]

RooAbsFunc::RooAbsFunc ( UInt_t  dimension)
inline

Definition at line 25 of file RooAbsFunc.h.

◆ RooAbsFunc() [2/2]

RooAbsFunc::RooAbsFunc ( const RooAbsFunc other)
inline

Definition at line 26 of file RooAbsFunc.h.

◆ ~RooAbsFunc()

virtual RooAbsFunc::~RooAbsFunc ( )
inlinevirtual

Definition at line 28 of file RooAbsFunc.h.

Member Function Documentation

◆ binBoundaries()

virtual std::list<Double_t>* RooAbsFunc::binBoundaries ( Int_t  ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 64 of file RooAbsFunc.h.

◆ getDimension()

UInt_t RooAbsFunc::getDimension ( ) const
inline

Definition at line 29 of file RooAbsFunc.h.

◆ getMaxLimit()

virtual Double_t RooAbsFunc::getMaxLimit ( UInt_t  dimension) const
pure virtual

◆ getMinLimit()

virtual Double_t RooAbsFunc::getMinLimit ( UInt_t  dimension) const
pure virtual

◆ getName()

virtual const char* RooAbsFunc::getName ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 59 of file RooAbsFunc.h.

◆ isValid()

Bool_t RooAbsFunc::isValid ( ) const
inline

Definition at line 33 of file RooAbsFunc.h.

◆ numCall()

Int_t RooAbsFunc::numCall ( ) const
inline

Definition at line 42 of file RooAbsFunc.h.

◆ operator()()

virtual Double_t RooAbsFunc::operator() ( const Double_t  xvector[]) const
pure virtual

◆ plotSamplingHint()

virtual std::list<Double_t>* RooAbsFunc::plotSamplingHint ( RooAbsRealLValue ,
Double_t  ,
Double_t   
) const
inlinevirtual

Reimplemented in RooRealBinding, and RooScaledFunc.

Definition at line 66 of file RooAbsFunc.h.

◆ resetNumCall()

void RooAbsFunc::resetNumCall ( ) const
inline

Definition at line 46 of file RooAbsFunc.h.

◆ restoreXVec()

virtual void RooAbsFunc::restoreXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 54 of file RooAbsFunc.h.

◆ saveXVec()

virtual void RooAbsFunc::saveXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 51 of file RooAbsFunc.h.

Member Data Documentation

◆ _dimension

UInt_t RooAbsFunc::_dimension
protected

Definition at line 74 of file RooAbsFunc.h.

◆ _ncall

Int_t RooAbsFunc::_ncall
mutableprotected

Definition at line 73 of file RooAbsFunc.h.

◆ _valid

Bool_t RooAbsFunc::_valid
protected

Definition at line 75 of file RooAbsFunc.h.


The documentation for this class was generated from the following file: