Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 27 of file RooAbsFunc.h.

Public Member Functions

 RooAbsFunc (const RooAbsFunc &other)
 
 RooAbsFunc (UInt_t dimension)
 
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
 
virtual RooSpan< const doublegetValues (std::vector< RooSpan< const double > >) 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 29 of file RooAbsFunc.h.

◆ RooAbsFunc() [2/2]

RooAbsFunc::RooAbsFunc ( const RooAbsFunc other)
inline

Definition at line 30 of file RooAbsFunc.h.

◆ ~RooAbsFunc()

virtual RooAbsFunc::~RooAbsFunc ( )
inlinevirtual

Definition at line 32 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 71 of file RooAbsFunc.h.

◆ getDimension()

UInt_t RooAbsFunc::getDimension ( ) const
inline

Definition at line 33 of file RooAbsFunc.h.

◆ getMaxLimit()

◆ getMinLimit()

◆ getName()

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

Reimplemented in RooRealBinding.

Definition at line 66 of file RooAbsFunc.h.

◆ getValues()

virtual RooSpan< const double > RooAbsFunc::getValues ( std::vector< RooSpan< const double > >  ) const
inlinevirtual

Reimplemented in RooDataProjBinding, RooRealBinding, and RooRealAnalytic.

Definition at line 43 of file RooAbsFunc.h.

◆ isValid()

Bool_t RooAbsFunc::isValid ( ) const
inline

Definition at line 37 of file RooAbsFunc.h.

◆ numCall()

Int_t RooAbsFunc::numCall ( ) const
inline

Definition at line 49 of file RooAbsFunc.h.

◆ operator()()

◆ plotSamplingHint()

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

Reimplemented in RooRealBinding, and RooScaledFunc.

Definition at line 73 of file RooAbsFunc.h.

◆ resetNumCall()

void RooAbsFunc::resetNumCall ( ) const
inline

Definition at line 53 of file RooAbsFunc.h.

◆ restoreXVec()

virtual void RooAbsFunc::restoreXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 61 of file RooAbsFunc.h.

◆ saveXVec()

virtual void RooAbsFunc::saveXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 58 of file RooAbsFunc.h.

Member Data Documentation

◆ _dimension

UInt_t RooAbsFunc::_dimension
protected

Definition at line 81 of file RooAbsFunc.h.

◆ _ncall

Int_t RooAbsFunc::_ncall
mutableprotected

Definition at line 80 of file RooAbsFunc.h.

◆ _valid

Bool_t RooAbsFunc::_valid
protected

Definition at line 82 of file RooAbsFunc.h.

Libraries for RooAbsFunc:

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