Logo ROOT  
Reference Guide
RooAbsCachedReal::FuncCacheElem Class Reference

Definition at line 59 of file RooAbsCachedReal.h.

Public Member Functions

 FuncCacheElem (const RooAbsCachedReal &self, const RooArgSet *nset)
 Constructor of cache storage unit class. More...
 
virtual ~FuncCacheElem ()
 
Bool_t cacheSource ()
 
virtual RooArgList containedArgs (Action)
 Return list of contained RooAbsArg objects. More...
 
RooHistFuncfunc ()
 
RooDataHisthist ()
 
RooChangeTrackerparamTracker ()
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t)
 Print contents of cache when printing self as part of object tree. More...
 
void setCacheSource (Bool_t flag)
 
void setSourceClone (RooAbsReal *newSource)
 
RooAbsRealsourceClone ()
 
- 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. More...
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for operation mode change calls. More...
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls. More...
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 

Private Attributes

Bool_t _cacheSource
 
RooHistFunc_func
 
RooDataHist_hist
 
RooChangeTracker_paramTracker
 
RooAbsReal_sourceClone
 

Additional Inherited Members

- Public Types inherited from RooAbsCacheElement
enum  Action { OperModeChange, OptimizeCaching, FindConstantNodes }
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 

#include <RooAbsCachedReal.h>

Inheritance diagram for RooAbsCachedReal::FuncCacheElem:
[legend]

Constructor & Destructor Documentation

◆ FuncCacheElem()

RooAbsCachedReal::FuncCacheElem::FuncCacheElem ( const RooAbsCachedReal self,
const RooArgSet nset 
)

Constructor of cache storage unit class.

Create RooDataHist that will cache function values and create RooHistFunc that represent s RooDataHist shape as function, create meta object that tracks changes in declared parameters of p.d.f through actualParameters()

Definition at line 194 of file RooAbsCachedReal.cxx.

◆ ~FuncCacheElem()

RooAbsCachedReal::FuncCacheElem::~FuncCacheElem ( )
virtual

Definition at line 245 of file RooAbsCachedReal.cxx.

Member Function Documentation

◆ cacheSource()

Bool_t RooAbsCachedReal::FuncCacheElem::cacheSource ( )
inline

Definition at line 75 of file RooAbsCachedReal.h.

◆ containedArgs()

RooArgList RooAbsCachedReal::FuncCacheElem::containedArgs ( Action  )
virtual

Return list of contained RooAbsArg objects.

Implements RooAbsCacheElement.

Reimplemented in RooNumRunningInt::RICacheElem.

Definition at line 308 of file RooAbsCachedReal.cxx.

◆ func()

RooHistFunc* RooAbsCachedReal::FuncCacheElem::func ( )
inline

Definition at line 68 of file RooAbsCachedReal.h.

◆ hist()

RooDataHist* RooAbsCachedReal::FuncCacheElem::hist ( )
inline

Definition at line 69 of file RooAbsCachedReal.h.

◆ paramTracker()

RooChangeTracker* RooAbsCachedReal::FuncCacheElem::paramTracker ( )
inline

Definition at line 70 of file RooAbsCachedReal.h.

◆ printCompactTreeHook()

void RooAbsCachedReal::FuncCacheElem::printCompactTreeHook ( std::ostream &  os,
const char *  indent,
Int_t  curElem,
Int_t  maxElem 
)
virtual

Print contents of cache when printing self as part of object tree.

Reimplemented from RooAbsCacheElement.

Definition at line 323 of file RooAbsCachedReal.cxx.

◆ setCacheSource()

void RooAbsCachedReal::FuncCacheElem::setCacheSource ( Bool_t  flag)
inline

Definition at line 76 of file RooAbsCachedReal.h.

◆ setSourceClone()

void RooAbsCachedReal::FuncCacheElem::setSourceClone ( RooAbsReal newSource)
inline

Definition at line 73 of file RooAbsCachedReal.h.

◆ sourceClone()

RooAbsReal* RooAbsCachedReal::FuncCacheElem::sourceClone ( )
inline

Definition at line 72 of file RooAbsCachedReal.h.

Member Data Documentation

◆ _cacheSource

Bool_t RooAbsCachedReal::FuncCacheElem::_cacheSource
private

Definition at line 84 of file RooAbsCachedReal.h.

◆ _func

RooHistFunc* RooAbsCachedReal::FuncCacheElem::_func
private

Definition at line 80 of file RooAbsCachedReal.h.

◆ _hist

RooDataHist* RooAbsCachedReal::FuncCacheElem::_hist
private

Definition at line 82 of file RooAbsCachedReal.h.

◆ _paramTracker

RooChangeTracker* RooAbsCachedReal::FuncCacheElem::_paramTracker
private

Definition at line 81 of file RooAbsCachedReal.h.

◆ _sourceClone

RooAbsReal* RooAbsCachedReal::FuncCacheElem::_sourceClone
private

Definition at line 83 of file RooAbsCachedReal.h.

Libraries for RooAbsCachedReal::FuncCacheElem:
[legend]

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