class RooRealBinding: public RooAbsFunc



Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present it as a simple array oriented interface.

Function Members (Methods)

public:
RooRealBinding(const RooRealBinding&)
RooRealBinding(const RooAbsReal& func, const RooArgSet& vars, const RooArgSet* nset = 0, Bool_t clipInvalid = kFALSE, const TNamed* rangeName = 0)
virtual~RooRealBinding()
static TClass*Class()
UInt_tRooAbsFunc::getDimension() const
virtual Double_tgetMaxLimit(UInt_t dimension) const
virtual Double_tgetMinLimit(UInt_t dimension) const
virtual const char*getName() const
virtual TClass*IsA() const
Bool_tRooAbsFunc::isValid() const
Int_tRooAbsFunc::numCall() const
virtual Double_toperator()(const Double_t* xvector) const
RooAbsFunc&RooAbsFunc::operator=(const RooAbsFunc&)
virtual list<Double_t>*plotSamplingHint(RooAbsRealLValue&, Double_t, Double_t) const
voidRooAbsFunc::resetNumCall() const
virtual voidrestoreXVec() const
virtual voidsaveXVec() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidloadValues(const Double_t* xvector) const

Data Members

protected:
Bool_t_clipInvalid
UInt_tRooAbsFunc::_dimensionNumber of observables
const RooAbsReal*_func
Int_tRooAbsFunc::_ncallFunction call counter
const RooArgSet*_nset
const TNamed*_rangeName!
Bool_tRooAbsFunc::_validIs binding in valid state?
RooAbsRealLValue**_vars
Double_t*_xsave
Bool_t_xvecValid

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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'.  Use the provided nset as normalization set to
 be passed to RooAbsReal::getVal() If rangeName is not null, use
 the range of with that name as range associated with the
 variables of this function binding. If clipInvalid is true,
 values requested to the function binding that are outside the
 defined range of the variables are clipped to fit in the defined
 range.
~RooRealBinding()
 Destructor
void saveXVec()
 Save value of all variables
void restoreXVec()
 Restore value of all variables to previously
 saved values by saveXVec()
void loadValues(const Double_t* xvector) const
 Load the vector of variable values into the RooRealVars associated
 as variables with the bound RooAbsReal function
Double_t operator()(const Double_t* xvector) const
 Evaluate the bound RooAbsReal at the variable values provided in xvector
Double_t getMinLimit(UInt_t dimension) const
 Return lower limit on i-th variable
Double_t getMaxLimit(UInt_t dimension) const
 Return upper limit on i-th variable
const char* getName()
 Return name of function
std::list<Double_t>* plotSamplingHint(RooAbsRealLValue& , Double_t , Double_t ) const
RooRealBinding(const RooAbsReal& func, const RooArgSet& vars, const RooArgSet* nset = 0, Bool_t clipInvalid = kFALSE, const TNamed* rangeName = 0)

Last change: Mon Aug 25 11:36:50 2008
Last generated: 2008-08-25 11:36
Copyright (c) 2000-2005, Regents of the University of California *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.