16#ifndef ROO_REAL_BINDING
17#define ROO_REAL_BINDING
44 virtual const char*
getName()
const ;
55 std::vector<RooAbsRealLValue*>
_vars;
65 mutable std::unique_ptr<RooBatchCompute::RunContext>
_evalData;
#define ClassDef(name, id)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
virtual ~RooRealBinding()
Destructor.
virtual void restoreXVec() const
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 RooAbs...
virtual std::list< Double_t > * binBoundaries(Int_t) const
virtual void saveXVec() const
Save value of all variables.
virtual const char * getName() const
Return name of function.
std::vector< RooAbsRealLValue * > _vars
RooAbsRealLValue * observable(unsigned int i) const
Return a pointer to the observable that defines the i-th dimension of the function.
std::vector< RooAbsReal * > _compList
virtual Double_t getMinLimit(UInt_t dimension) const
Return lower limit on i-th variable.
virtual Double_t operator()(const Double_t xvector[]) const
Evaluate the bound RooAbsReal at the variable values provided in xvector.
RooSpan< const double > getValuesOfBoundFunction(RooBatchCompute::RunContext &evalData) const
Evaluate the bound object at all locations indicated by the data in evalData.
std::vector< Double_t > _compSave
virtual RooSpan< const double > getValues(std::vector< RooSpan< const double > > coordinates) const
Evaluate the bound object at all locations indicated by the data in coordinates.
std::unique_ptr< RooBatchCompute::RunContext > _evalData
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &, Double_t, Double_t) const
Interface for returning an optional hint for initial sampling points when constructing a curve projec...
const TNamed * _rangeName
virtual Double_t getMaxLimit(UInt_t dimension) const
Return upper limit on i-th variable.
A simple container to hold a batch of data values.
The TNamed class is the base class for all named ROOT classes.
Namespace for dispatching RooFit computations to various backends.
This struct enables passing computation data around between elements of a computation graph.