39 vars("vars","vars",this)
42 if (ftor.NDim()!=
UInt_t(
v.getSize())) {
43 coutE(
InputArguments) <<
"RooFunctorBinding::ctor(" << GetName() <<
") ERROR number of provided variables (" <<
v.getSize()
44 <<
") does not match dimensionality of function (" << ftor.NDim() <<
")" << endl ;
45 throw string(
"RooFunctor::ctor ERROR") ;
55 vars(
"vars",this,other.vars)
65 os <<
"[ function=" <<
func <<
" " ;
89 vars(
"vars",
"vars",this)
94 <<
") does not match dimensionality of function (" << ftor.
NDim() <<
")" << endl ;
95 throw string(
"RooFunctor::ctor ERROR") ;
115 os <<
"[ function=" <<
func <<
" " ;
virtual const char * GetName() const
Returns name of object.
virtual const char * name() const
Namespace for new ROOT classes and functions.
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)
Double_t getVal(const RooArgSet *set=0) const
Double_t evaluate() const
RooAbsReal * bindFunction(const char *name, CFUNCD1D func, RooAbsReal &x)
Double_t evaluate() const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
const ROOT::Math::IBaseFunctionMultiDim * func
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
RooAbsArg * at(Int_t idx) const
const ROOT::Math::IBaseFunctionMultiDim * func
virtual unsigned int NDim() const =0
Retrieve the dimension of the function.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double func(double *x, double *p)
Namespace for new Math classes and functions.
RooAbsProxy * getProxy(Int_t index) const
Return the nth proxy from the proxy list.
Int_t numProxies() const
Return the number of registered proxies.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
Documentation for the abstract class IBaseFunctionMultiDim.
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print proxy name.