// Class RooNumCdf is an implementation of RooNumRunningInt specialized
// to calculate cumulative distribution functions from p.d.f.s. The main
// difference between RooNumCdf and RooNumRunningInt is that this class
// imposes special end-point conditions on the interpolated histogram
// that represents the output so that the value at the lower bound is
// guaranteed to converge to exactly zero and that the value at the
// upper bound is guaranteed to converge to exactly one, at all interpolation
// orders.
// END_HTML
#include "Riostream.h"
#include "RooAbsPdf.h"
#include "RooNumCdf.h"
#include "RooAbsReal.h"
#include "RooMsgService.h"
#include "RooDataHist.h"
#include "RooHistPdf.h"
#include "RooRealVar.h"
ClassImp(RooNumCdf)
;
RooNumCdf::RooNumCdf(const char *name, const char *title, RooAbsPdf& _pdf, RooRealVar& _x, const char* bname) :
RooNumRunningInt(name,title,_pdf,_x,bname)
{
}
RooNumCdf::RooNumCdf(const RooNumCdf& other, const char* name) :
RooNumRunningInt(other,name)
{
}
RooNumCdf::~RooNumCdf()
{
}
void RooNumCdf::fillCacheObject(RooAbsCachedReal::FuncCacheElem& cache) const
{
RICacheElem& riCache = static_cast<RICacheElem&>(cache) ;
riCache.calculate(kTRUE) ;
}
Last change: Wed Jun 25 08:33:37 2008
Last generated: 2008-06-25 08:33
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.