40 vars("vars","vars",this)
43 if (ftor.NDim()!=
UInt_t(
v.getSize())) {
44 coutE(
InputArguments) <<
"RooFunctorBinding::ctor(" << GetName() <<
") ERROR number of provided variables (" <<
v.getSize()
45 <<
") does not match dimensionality of function (" << ftor.NDim() <<
")" << endl ;
46 throw string(
"RooFunctor::ctor ERROR") ;
56 vars(
"vars",this,other.vars)
66 os <<
"[ function=" <<
func <<
" " ;
90 vars(
"vars",
"vars",this)
95 <<
") does not match dimensionality of function (" << ftor.
NDim() <<
")" << endl ;
96 throw string(
"RooFunctor::ctor ERROR") ;
116 os <<
"[ function=" <<
func <<
" " ;
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print proxy name.
virtual unsigned int NDim() const =0
Retrieve the dimension of the function.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)
RooAbsProxy * getProxy(Int_t index) const
Return the nth proxy from the proxy list.
RooAbsReal * bindFunction(const char *name, CFUNCD1D func, RooAbsReal &x)
RooCFunction1Binding is a templated implementation of class RooAbsReal that binds generic C(++) funct...
Double_t getVal(const RooArgSet *set=0) const
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
const ROOT::Math::IBaseFunctionMultiDim * func
Double_t evaluate() const
Int_t numProxies() const
Return the number of registered proxies.
const ROOT::Math::IBaseFunctionMultiDim * func
RooAbsProxy is the abstact interface for proxy classes.
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
virtual const char * GetName() const
Returns name of object.
virtual const char * name() const
Double_t evaluate() const
RooAbsArg * at(Int_t idx) const
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.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Documentation for the abstract class IBaseFunctionMultiDim.