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)
 
 ~RooMultiGenFunction () override
 
ROOT::Math::IBaseFunctionMultiDimClone () const override
 Clone a function. More...
 
virtual TClassIsA () const
 
unsigned int NDim () const override
 Retrieve the dimension of the function. More...
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- 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...
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Member Functions

double DoEval (const double *) const override
 

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 46 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [2/4]

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

Definition at line 55 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [3/4]

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

Definition at line 63 of file RooMultiGenFunction.cxx.

◆ RooMultiGenFunction() [4/4]

RooMultiGenFunction::RooMultiGenFunction ( const RooMultiGenFunction other)

Definition at line 71 of file RooMultiGenFunction.cxx.

◆ ~RooMultiGenFunction()

RooMultiGenFunction::~RooMultiGenFunction ( )
override

Definition at line 79 of file RooMultiGenFunction.cxx.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 48 of file RooMultiGenFunction.h.

◆ Clone()

ROOT::Math::IBaseFunctionMultiDim * RooMultiGenFunction::Clone ( ) const
inlineoverridevirtual

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.

◆ DeclFileName()

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

Definition at line 48 of file RooMultiGenFunction.h.

◆ DoEval()

double RooMultiGenFunction::DoEval ( const double x) const
overrideprotected

Definition at line 86 of file RooMultiGenFunction.cxx.

◆ IsA()

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

Definition at line 48 of file RooMultiGenFunction.h.

◆ NDim()

unsigned int RooMultiGenFunction::NDim ( ) const
inlineoverridevirtual

Retrieve the dimension of the function.

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

Definition at line 40 of file RooMultiGenFunction.h.

◆ Streamer()

virtual void RooMultiGenFunction::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooMultiGenFunction::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 48 of file RooMultiGenFunction.h.

Member Data Documentation

◆ _ftor

RooFunctor RooMultiGenFunction::_ftor
protected

Definition at line 46 of file RooMultiGenFunction.h.

Libraries for RooMultiGenFunction:
[legend]

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