ROOT logo
+
class RooDataProjBinding
-
library: libRooFitCore
#include "RooDataProjBinding.h"
Display options:
Show inherited
Show non-public
ROOT » ROOFIT » ROOFITCORE » RooDataProjBinding

class RooDataProjBinding: public RooRealBinding


Class RooDataProjBinding is a lightweight interface 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

Function Members (Methods)

public:
RooDataProjBinding(const RooDataProjBinding&)
RooDataProjBinding(const RooAbsReal& real, const RooAbsData& data, const RooArgSet& vars, const RooArgSet* normSet = 0)
virtual~RooDataProjBinding()
static TClass*Class()
UInt_tRooAbsFunc::getDimension() const
virtual Double_tRooRealBinding::getMaxLimit(UInt_t dimension) const
virtual Double_tRooRealBinding::getMinLimit(UInt_t dimension) const
virtual const char*RooRealBinding::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>*RooRealBinding::plotSamplingHint(RooAbsRealLValue&, Double_t, Double_t) const
voidRooAbsFunc::resetNumCall() const
virtual voidRooRealBinding::restoreXVec() const
virtual voidRooRealBinding::saveXVec() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidRooRealBinding::loadValues(const Double_t* xvector) const

Data Members

protected:
Roo1DTable*_catTableSupercategory table generated from _data
Bool_tRooRealBinding::_clipInvalid
const RooAbsData*_dataDataset used for projection
UInt_tRooAbsFunc::_dimensionNumber of observables
Bool_t_firstBit indicating if operator() has been called yet
const RooAbsReal*RooRealBinding::_func
Int_tRooAbsFunc::_ncallFunction call counter
const RooArgSet*_nsetNormalization set for real function
const RooArgSet*RooRealBinding::_nset
const TNamed*RooRealBinding::_rangeName!
const RooAbsReal*_realReal function to be projected
RooSuperCategory*_superCatSupercategory constructed from _data's category variables
Bool_tRooAbsFunc::_validIs binding in valid state?
RooAbsRealLValue**RooRealBinding::_vars
Double_t*RooRealBinding::_xsave
Bool_tRooRealBinding::_xvecValid

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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.
~RooDataProjBinding()
 Destructor, delete owned objects
Double_t operator()(const Double_t* xvector) const
 Evaluate data-projected values of the bound real function.
RooDataProjBinding(const RooAbsReal& real, const RooAbsData& data, const RooArgSet& vars, const RooArgSet* normSet = 0)