16 #ifndef ROO_REAL_BINDING
17 #define ROO_REAL_BINDING
39 virtual const char*
getName()
const ;
virtual void restoreXVec() const
Restore value of all variables to previously saved values by saveXVec()
virtual Double_t operator()(const Double_t xvector[]) const
Evaluate the bound RooAbsReal at the variable values provided in xvector.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
RooRealBinding(const RooAbsReal &func, const RooArgSet &vars, const RooArgSet *nset=0, Bool_t clipInvalid=kFALSE, const TNamed *rangeName=0)
Construct a lightweight function binding of RooAbsReal func to variables 'vars'.
void loadValues(const Double_t xvector[]) const
Load the vector of variable values into the RooRealVars associated as variables with the bound RooAbs...
RooAbsRealLValue ** _vars
virtual const char * getName() const
Return name of function.
const TNamed * _rangeName
virtual std::list< Double_t > * binBoundaries(Int_t) const
virtual Double_t getMaxLimit(UInt_t dimension) const
Return upper limit on i-th variable.
virtual Double_t getMinLimit(UInt_t dimension) const
Return lower limit on i-th variable.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual ~RooRealBinding()
Destructor.
double func(double *x, double *p)
std::list< RooAbsReal * > _compList
std::list< Double_t > _compSave
virtual void saveXVec() const
Save value of all variables.
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &, Double_t, Double_t) const