ROOT 6.14/05 Reference Guide |
adaptor that projects a real function via summation of states provided in a dataset.
The real function must be attached to the dataset before creating this binding object.
If the dataset only contains category variables, the summation is optimized performing a weighted sum over the states of a RooSuperCategory that is constructed from all the categories in the dataset
Definition at line 25 of file RooDataProjBinding.h.
Public Member Functions | |
RooDataProjBinding (const RooAbsReal &real, const RooAbsData &data, const RooArgSet &vars, const RooArgSet *normSet=0) | |
Constructor of a data weighted average function binding with variables 'vars' for function 'real' and dataset 'data' with weights. More... | |
virtual | ~RooDataProjBinding () |
Destructor, delete owned objects. More... | |
virtual Double_t | operator() (const Double_t xvector[]) const |
Evaluate data-projected values of the bound real function. More... | |
Public Member Functions inherited from RooRealBinding | |
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'. More... | |
RooRealBinding (const RooRealBinding &other, const RooArgSet *nset=0) | |
Construct a lightweight function binding of RooAbsReal func to variables 'vars'. More... | |
virtual | ~RooRealBinding () |
Destructor. More... | |
virtual std::list< Double_t > * | binBoundaries (Int_t) const |
virtual Double_t | getMaxLimit (UInt_t dimension) const |
Return upper limit on i-th variable. More... | |
virtual Double_t | getMinLimit (UInt_t dimension) const |
Return lower limit on i-th variable. More... | |
virtual const char * | getName () const |
Return name of function. More... | |
virtual std::list< Double_t > * | plotSamplingHint (RooAbsRealLValue &, Double_t, Double_t) const |
virtual void | restoreXVec () const |
Restore value of all variables to previously saved values by saveXVec() More... | |
virtual void | saveXVec () const |
Save value of all variables. More... | |
Public Member Functions inherited from RooAbsFunc | |
RooAbsFunc (UInt_t dimension) | |
RooAbsFunc (const RooAbsFunc &other) | |
virtual | ~RooAbsFunc () |
UInt_t | getDimension () const |
Bool_t | isValid () const |
Int_t | numCall () const |
void | resetNumCall () const |
Protected Attributes | |
Roo1DTable * | _catTable |
const RooAbsData * | _data |
Bool_t | _first |
const RooArgSet * | _nset |
const RooAbsReal * | _real |
RooSuperCategory * | _superCat |
Protected Attributes inherited from RooRealBinding | |
Bool_t | _clipInvalid |
std::list< RooAbsReal * > | _compList |
std::list< Double_t > | _compSave |
const RooAbsReal * | _func |
Double_t | _funcSave |
const RooArgSet * | _nset |
const TNamed * | _rangeName |
RooAbsRealLValue ** | _vars |
Double_t * | _xsave |
Bool_t | _xvecValid |
Protected Attributes inherited from RooAbsFunc | |
UInt_t | _dimension |
Int_t | _ncall |
Bool_t | _valid |
Additional Inherited Members | |
Protected Member Functions inherited from RooRealBinding | |
void | loadValues (const Double_t xvector[]) const |
Load the vector of variable values into the RooRealVars associated as variables with the bound RooAbsReal function. More... | |
#include <RooDataProjBinding.h>
RooDataProjBinding::RooDataProjBinding | ( | const RooAbsReal & | real, |
const RooAbsData & | data, | ||
const RooArgSet & | vars, | ||
const RooArgSet * | nset = 0 |
||
) |
Constructor of a data weighted average function binding with variables 'vars' for function 'real' and dataset 'data' with weights.
Definition at line 59 of file RooDataProjBinding.cxx.
|
virtual |
Destructor, delete owned objects.
Definition at line 85 of file RooDataProjBinding.cxx.
Evaluate data-projected values of the bound real function.
Reimplemented from RooRealBinding.
Definition at line 96 of file RooDataProjBinding.cxx.
|
protected |
Definition at line 40 of file RooDataProjBinding.h.
|
protected |
Definition at line 36 of file RooDataProjBinding.h.
|
mutableprotected |
Definition at line 34 of file RooDataProjBinding.h.
|
protected |
Definition at line 37 of file RooDataProjBinding.h.
|
protected |
Definition at line 35 of file RooDataProjBinding.h.
|
protected |
Definition at line 39 of file RooDataProjBinding.h.