12 #ifndef ROONUMRUNNINGINT 13 #define ROONUMRUNNINGINT RooNumRunningInt(const char *name, const char *title, RooAbsReal &_func, RooRealVar &_x, const char *binningName="cache")
Construct running integral of function '_func' over x_print from the lower bound on _x to the present...
void addRange(Int_t ixlo, Int_t ixhi, Int_t nbins)
Fill all empty histogram bins in the range [ixlo,ixhi] where nbins is the total number of histogram b...
Class RooNumRunningInt is an implementation of RooAbsCachedReal that represents a running integral t...
virtual RooArgSet * actualObservables(const RooArgSet &nset) const
Return observable in nset to be cached by RooAbsCachedPdf this is always the x observable that is int...
virtual const char * binningName() const
~RICacheElem()
Destructor.
virtual const char * inputBaseName() const
Return unique name for RooAbsCachedPdf cache components constructed from input function name...
virtual FuncCacheElem * createCache(const RooArgSet *nset) const
Create custom cache element for running integral calculations.
#define ClassDef(name, id)
virtual TObject * clone(const char *newname) const
virtual void fillCacheObject(FuncCacheElem &cacheFunc) const
Fill the cache object by calling its calculate() method.
virtual const char * payloadUniqueSuffix() const
RooRealVar represents a fundamental (non-derived) real valued object.
virtual ~RooNumRunningInt()
Destructor.
RooAbsCachedReal is the abstract base class for functions that need or want to cache their evaluate()...
void addPoint(Int_t ix)
Sample function at bin ix.
friend class FuncCacheElem
virtual RooArgSet * actualParameters(const RooArgSet &nset) const
Return the parameters of the cache created by RooAbsCachedPdf.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
void calculate(Bool_t cdfmode)
Calculate the numeric running integral and store the result in the cache histogram provided by RooAbs...
Mother of all ROOT objects.
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
RICacheElem(const RooNumRunningInt &ri, const RooArgSet *nset)
Construct RunningIntegral CacheElement.
const RooAbsReal & arg() const
const char * aggregateCacheUniqueSuffix() const
virtual RooArgList containedArgs(Action)
Return all RooAbsArg components contained in cache element.
virtual Double_t evaluate() const
Dummy function that is never called.