Logo ROOT  
Reference Guide
RooMultiGenFunction Class Reference

Lightweight interface adaptor that exports a RooAbsReal as a ROOT::Math::IMultiGenFunction.

Definition at line 27 of file RooMultiGenFunction.h.

Public Member Functions

 RooMultiGenFunction (const RooAbsFunc &func)
 
 RooMultiGenFunction (const RooAbsReal &func, const RooArgList &observables, const RooArgList &parameters)
 
 RooMultiGenFunction (const RooAbsReal &func, const RooArgList &observables, const RooArgList &parameters, const RooArgSet &nset)
 
 RooMultiGenFunction (const RooMultiGenFunction &other)
 
virtual ~RooMultiGenFunction ()
 
virtual ROOT::Math::IBaseFunctionMultiDimClone () const
 Clone a function. More...
 
unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
 IBaseFunctionMultiDimTempl ()
 
virtual ~IBaseFunctionMultiDimTempl ()
 virtual destructor More...
 
virtual IBaseFunctionMultiDimTempl< T > * Clone () const =0
 Clone a function. More...
 
virtual unsigned int NDim () const =0
 Retrieve the dimension of the function. More...
 
operator() (const T *x) const
 Evaluate the function at a point x[]. More...
 

Protected Member Functions

double DoEval (const double *) const
 

Protected Attributes

RooFunctor _ftor
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
typedef T BackendType
 
typedef IBaseFunctionMultiDimTempl< T > BaseFunc
 

#include <RooMultiGenFunction.h>

Inheritance diagram for RooMultiGenFunction:
[legend]

Constructor & Destructor Documentation

◆ RooMultiGenFunction() [1/4]

RooMultiGenFunction::RooMultiGenFunction ( const RooAbsFunc func)

Definition at line 48 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [2/4]

RooMultiGenFunction::RooMultiGenFunction ( const RooAbsReal func,
const RooArgList observables,
const RooArgList parameters 
)

Definition at line 57 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [3/4]

RooMultiGenFunction::RooMultiGenFunction ( const RooAbsReal func,
const RooArgList observables,
const RooArgList parameters,
const RooArgSet nset 
)

Definition at line 65 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [4/4]

RooMultiGenFunction::RooMultiGenFunction ( const RooMultiGenFunction other)

Definition at line 73 of file RooMultiGenFunction.cxx.

◆ ~RooMultiGenFunction()

RooMultiGenFunction::~RooMultiGenFunction ( )
virtual

Definition at line 81 of file RooMultiGenFunction.cxx.

Member Function Documentation

◆ Clone()

virtual ROOT::Math::IBaseFunctionMultiDim * RooMultiGenFunction::Clone ( ) const
inlinevirtual

Clone a function.

Each derived class must implement their version of the Clone method

Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.

Definition at line 36 of file RooMultiGenFunction.h.

◆ DoEval()

double RooMultiGenFunction::DoEval ( const double *  x) const
protected

Definition at line 88 of file RooMultiGenFunction.cxx.

◆ NDim()

unsigned int RooMultiGenFunction::NDim ( ) const
inlinevirtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.

Definition at line 43 of file RooMultiGenFunction.h.

Member Data Documentation

◆ _ftor

RooFunctor RooMultiGenFunction::_ftor
protected

Definition at line 49 of file RooMultiGenFunction.h.

Libraries for RooMultiGenFunction:
[legend]

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