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 > * 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 TClassIsA () 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 TClassClass ()
 
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>

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 > * RooAbsFunc::binBoundaries ( Int_t  ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 69 of file RooAbsFunc.h.

◆ Class()

static TClass * RooAbsFunc::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooAbsFunc::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooAbsFunc::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 81 of file RooAbsFunc.h.

◆ DeclFileName()

static const char * RooAbsFunc::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 81 of file RooAbsFunc.h.

◆ getDimension()

UInt_t RooAbsFunc::getDimension ( ) const
inline

Definition at line 33 of file RooAbsFunc.h.

◆ getMaxLimit()

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

◆ getMinLimit()

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

◆ getName()

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

Name of function binding.

Reimplemented in RooRealBinding.

Definition at line 65 of file RooAbsFunc.h.

◆ IsA()

virtual TClass * RooAbsFunc::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in RooDataProjBinding, RooInvTransform, and RooRealBinding.

Definition at line 81 of file RooAbsFunc.h.

◆ isValid()

bool RooAbsFunc::isValid ( ) const
inline

Definition at line 37 of file RooAbsFunc.h.

◆ numCall()

Int_t RooAbsFunc::numCall ( ) const
inline

Return number of function calls since last reset.

Definition at line 47 of file RooAbsFunc.h.

◆ operator()()

◆ plotSamplingHint()

virtual std::list< double > * RooAbsFunc::plotSamplingHint ( RooAbsRealLValue ,
double  ,
double   
) const
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.

◆ resetNumCall()

void RooAbsFunc::resetNumCall ( ) const
inline

Reset function call counter.

Definition at line 52 of file RooAbsFunc.h.

◆ restoreXVec()

virtual void RooAbsFunc::restoreXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 59 of file RooAbsFunc.h.

◆ saveXVec()

virtual void RooAbsFunc::saveXVec ( ) const
inlinevirtual

Reimplemented in RooRealBinding.

Definition at line 56 of file RooAbsFunc.h.

◆ Streamer()

virtual void RooAbsFunc::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooAbsFunc::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 81 of file RooAbsFunc.h.

Member Data Documentation

◆ _dimension

UInt_t RooAbsFunc::_dimension
protected

Number of observables.

Definition at line 79 of file RooAbsFunc.h.

◆ _ncall

Int_t RooAbsFunc::_ncall
mutableprotected

Function call counter.

Definition at line 78 of file RooAbsFunc.h.

◆ _valid

bool RooAbsFunc::_valid
protected

Is binding in valid state?

Definition at line 80 of file RooAbsFunc.h.

Libraries for RooAbsFunc:

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