Definition at line 31 of file RooNumRunningInt.h.
Public Member Functions | |
RICacheElem (const RooNumRunningInt &ri, const RooArgSet *nset) | |
Construct RunningIntegral CacheElement. | |
void | addPoint (Int_t ix) |
Sample function at bin ix. | |
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 bins. | |
void | calculate (bool cdfmode) |
Calculate the numeric running integral and store the result in the cache histogram provided by RooAbsCachedPdf. | |
RooArgList | containedArgs (Action) override |
Return all RooAbsArg components contained in cache element. | |
Public Member Functions inherited from RooAbsCachedReal::FuncCacheElem | |
FuncCacheElem (const RooAbsCachedReal &self, const RooArgSet *nset) | |
Constructor of cache storage unit class. | |
~FuncCacheElem () override | |
bool | cacheSource () |
RooHistFunc * | func () |
RooDataHist * | hist () |
RooChangeTracker * | paramTracker () |
void | printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) override |
Print contents of cache when printing self as part of object tree. | |
void | setCacheSource (bool flag) |
void | setSourceClone (RooAbsReal *newSource) |
void | setUnitNorm () |
RooAbsReal * | sourceClone () |
Public Member Functions inherited from RooAbsCacheElement | |
RooAbsCacheElement () | |
virtual | ~RooAbsCacheElement () |
virtual void | findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes) |
Interface for constant term optimization calls. | |
virtual TClass * | IsA () const |
virtual void | operModeHook (RooAbsArg::OperMode) |
Interface for changes of operation mode. | |
virtual void | optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes) |
Interface for cache optimization calls. | |
virtual bool | redirectServersHook (const RooAbsCollection &, bool, bool, bool) |
Interface for server redirect calls. | |
void | setOwner (RooAbsArg *owner) |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Attributes | |
std::vector< double > | _ax |
std::vector< double > | _ay |
RooNumRunningInt * | _self |
RooRealVar * | _xx |
Additional Inherited Members | |
Public Types inherited from RooAbsCacheElement | |
enum | Action { OperModeChange , OptimizeCaching , FindConstantNodes } |
Static Public Member Functions inherited from RooAbsCacheElement | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes inherited from RooAbsCacheElement | |
RooAbsArg * | _owner |
! Pointer to owning RooAbsArg | |
#include <RooNumRunningInt.h>
RooNumRunningInt::RICacheElem::RICacheElem | ( | const RooNumRunningInt & | ri, |
const RooArgSet * | nset | ||
) |
Construct RunningIntegral CacheElement.
Definition at line 102 of file RooNumRunningInt.cxx.
void RooNumRunningInt::RICacheElem::addPoint | ( | Int_t | ix | ) |
Sample function at bin ix.
Definition at line 234 of file RooNumRunningInt.cxx.
Fill all empty histogram bins in the range [ixlo,ixhi] where nbins is the total number of histogram bins.
This method samples the mid-point of the range and if the mid-point value is within small tolerance of the interpolated mid-point value fills all remaining elements through linear interpolation. If the tolerance is exceeded, the algorithm is recursed on the two subranges [xlo,xmid] and [xmid,xhi]
Definition at line 187 of file RooNumRunningInt.cxx.
void RooNumRunningInt::RICacheElem::calculate | ( | bool | cdfmode | ) |
Calculate the numeric running integral and store the result in the cache histogram provided by RooAbsCachedPdf.
Definition at line 139 of file RooNumRunningInt.cxx.
|
overridevirtual |
Return all RooAbsArg components contained in cache element.
Reimplemented from RooAbsCachedReal::FuncCacheElem.
Definition at line 123 of file RooNumRunningInt.cxx.
std::vector<double> RooNumRunningInt::RICacheElem::_ax |
Definition at line 40 of file RooNumRunningInt.h.
std::vector<double> RooNumRunningInt::RICacheElem::_ay |
Definition at line 41 of file RooNumRunningInt.h.
RooNumRunningInt* RooNumRunningInt::RICacheElem::_self |
Definition at line 39 of file RooNumRunningInt.h.
RooRealVar* RooNumRunningInt::RICacheElem::_xx |
Definition at line 42 of file RooNumRunningInt.h.