ROOT  6.06/09
Reference Guide
Public Member Functions | Public Attributes | List of all members
RooNumRunningInt::RICacheElem Class Reference

Definition at line 29 of file RooNumRunningInt.h.

Public Member Functions

 RICacheElem (const RooNumRunningInt &ri, const RooArgSet *nset)
 Construct RunningIntegral CacheElement. More...
 
 ~RICacheElem ()
 Destructor. More...
 
virtual RooArgList containedArgs (Action)
 Return all RooAbsArg components contained in cache element. More...
 
void calculate (Bool_t cdfmode)
 Calculate the numeric running integral and store the result in the cache histogram provided by RooAbsCachedPdf. More...
 
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. More...
 
void addPoint (Int_t ix)
 Sample function at bin ix. More...
 

Public Attributes

RooNumRunningInt_self
 
Double_t_ax
 
Double_t_ay
 
RooRealVar_xx
 

#include <RooNumRunningInt.h>

+ Inheritance diagram for RooNumRunningInt::RICacheElem:
+ Collaboration diagram for RooNumRunningInt::RICacheElem:

Constructor & Destructor Documentation

RooNumRunningInt::RICacheElem::RICacheElem ( const RooNumRunningInt ri,
const RooArgSet nset 
)

Construct RunningIntegral CacheElement.

Definition at line 103 of file RooNumRunningInt.cxx.

RooNumRunningInt::RICacheElem::~RICacheElem ( )

Destructor.

Definition at line 124 of file RooNumRunningInt.cxx.

Member Function Documentation

void RooNumRunningInt::RICacheElem::addPoint ( Int_t  ix)

Sample function at bin ix.

Definition at line 246 of file RooNumRunningInt.cxx.

void RooNumRunningInt::RICacheElem::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.

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 199 of file RooNumRunningInt.cxx.

void RooNumRunningInt::RICacheElem::calculate ( Bool_t  cdfmode)

Calculate the numeric running integral and store the result in the cache histogram provided by RooAbsCachedPdf.

Definition at line 151 of file RooNumRunningInt.cxx.

Referenced by RooNumCdf::fillCacheObject(), and RooNumRunningInt::fillCacheObject().

RooArgList RooNumRunningInt::RICacheElem::containedArgs ( Action  action)
virtual

Return all RooAbsArg components contained in cache element.

Definition at line 135 of file RooNumRunningInt.cxx.

Member Data Documentation

Double_t* RooNumRunningInt::RICacheElem::_ax

Definition at line 39 of file RooNumRunningInt.h.

Referenced by RICacheElem().

Double_t* RooNumRunningInt::RICacheElem::_ay

Definition at line 40 of file RooNumRunningInt.h.

Referenced by RICacheElem().

RooNumRunningInt* RooNumRunningInt::RICacheElem::_self

Definition at line 38 of file RooNumRunningInt.h.

RooRealVar* RooNumRunningInt::RICacheElem::_xx

Definition at line 41 of file RooNumRunningInt.h.

Referenced by RICacheElem().


The documentation for this class was generated from the following files: