ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooIntegratorBinding

class RooIntegratorBinding: public RooAbsFunc



Function binding representing the output of a RooAbsIntegrator

Function Members (Methods)

public:
RooIntegratorBinding(RooAbsIntegrator& integrator)
RooIntegratorBinding(const RooIntegratorBinding&)
virtual~RooIntegratorBinding()
static TClass*Class()
UInt_tRooAbsFunc::getDimension() const
virtual Double_tgetMaxLimit(UInt_t index) const
virtual Double_tgetMinLimit(UInt_t index) const
virtual const char*RooAbsFunc::getName() const
virtual TClass*IsA() const
Bool_tRooAbsFunc::isValid() const
Int_tRooAbsFunc::numCall() const
virtual Double_toperator()(const Double_t* xvector) const
RooIntegratorBinding&operator=(const RooIntegratorBinding&)
virtual list<Double_t>*RooAbsFunc::plotSamplingHint(RooAbsRealLValue&, Double_t, Double_t) const
voidRooAbsFunc::resetNumCall() const
virtual voidRooAbsFunc::restoreXVec() const
virtual voidRooAbsFunc::saveXVec() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
UInt_tRooAbsFunc::_dimensionNumber of observables
RooAbsIntegrator*_integratorNumeric integrator
Int_tRooAbsFunc::_ncallFunction call counter
Bool_tRooAbsFunc::_validIs binding in valid state?

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooIntegratorBinding(RooAbsIntegrator& integrator)
{}
virtual ~RooIntegratorBinding()
{}
Double_t operator()(const Double_t* xvector) const
{ _ncall++ ; return _integrator->integral(xvector) ; }
Double_t getMinLimit(UInt_t index) const
{ return _integrator->integrand()->getMinLimit(index+1); }
Double_t getMaxLimit(UInt_t index) const
{ return _integrator->integrand()->getMaxLimit(index+1); }