41 vars(
"vars",
"vars",this)
46 <<
") does not match dimensionality of function (" << ftor.
NDim() <<
")" << endl ;
47 throw string(
"RooFunctor::ctor ERROR") ;
57 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") ;
106 vars(
"vars",this,other.vars)
115 os <<
"[ function=" <<
func <<
" " ;
virtual unsigned int NDim() const =0
Retrieve the dimension of the function.
Int_t numProxies() const
Return the number of registered proxies.
RooAbsProxy * getProxy(Int_t index) const
Return the nth proxy from the proxy list.
RooAbsProxy is the abstact interface for proxy classes.
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print proxy name.
virtual const char * name() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
RooCFunction1Binding is a templated implementation of class RooAbsReal that binds generic C(++) funct...
const ROOT::Math::IBaseFunctionMultiDim * func
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
void printArgs(std::ostream &os) const
Print object arguments, ie its proxies.
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
const ROOT::Math::IBaseFunctionMultiDim * func
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual const char * GetName() const
Returns name of object.
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
Template specialisation used in RooAbsArg:
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)
RooAbsReal * bindFunction(const char *name, CFUNCD1D func, RooAbsReal &x)