ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes | List of all members
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 ()
 
virtual RooArgList containedArgs (Action)
 Return list of contained RooAbsArg objects. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t)
 Print contents of cache when printing self as part of object tree. More...
 
RooHistFuncfunc ()
 
RooDataHisthist ()
 
RooChangeTrackerparamTracker ()
 
RooAbsRealsourceClone ()
 
void setSourceClone (RooAbsReal *newSource)
 
Bool_t cacheSource ()
 
void setCacheSource (Bool_t flag)
 
- Public Member Functions inherited from RooAbsCacheElement
 RooAbsCacheElement ()
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls. More...
 
virtual ~RooAbsCacheElement ()
 
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 void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls. More...
 
void setOwner (RooAbsArg *owner)
 

Private Attributes

RooHistFunc_func
 
RooChangeTracker_paramTracker
 
RooDataHist_hist
 
RooAbsReal_sourceClone
 
Bool_t _cacheSource
 

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

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.

RooAbsCachedReal::FuncCacheElem::~FuncCacheElem ( )
virtual

Definition at line 245 of file RooAbsCachedReal.cxx.

Member Function Documentation

Bool_t RooAbsCachedReal::FuncCacheElem::cacheSource ( )
inline

Definition at line 75 of file RooAbsCachedReal.h.

Referenced by RooCachedReal::fillCacheObject().

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

Return list of contained RooAbsArg objects.

Implements RooAbsCacheElement.

Definition at line 308 of file RooAbsCachedReal.cxx.

Referenced by RooNumRunningInt::RICacheElem::containedArgs().

RooHistFunc* RooAbsCachedReal::FuncCacheElem::func ( )
inline
RooDataHist* RooAbsCachedReal::FuncCacheElem::hist ( )
inline
RooChangeTracker* RooAbsCachedReal::FuncCacheElem::paramTracker ( )
inline
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.

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

Definition at line 76 of file RooAbsCachedReal.h.

Referenced by RooCachedReal::createCache().

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

Definition at line 73 of file RooAbsCachedReal.h.

Referenced by RooCachedReal::fillCacheObject().

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

Definition at line 72 of file RooAbsCachedReal.h.

Referenced by RooCachedReal::fillCacheObject().

Member Data Documentation

Bool_t RooAbsCachedReal::FuncCacheElem::_cacheSource
private

Definition at line 84 of file RooAbsCachedReal.h.

Referenced by cacheSource(), FuncCacheElem(), and setCacheSource().

RooHistFunc* RooAbsCachedReal::FuncCacheElem::_func
private

Definition at line 80 of file RooAbsCachedReal.h.

Referenced by func(), and FuncCacheElem().

RooDataHist* RooAbsCachedReal::FuncCacheElem::_hist
private

Definition at line 82 of file RooAbsCachedReal.h.

Referenced by FuncCacheElem(), and hist().

RooChangeTracker* RooAbsCachedReal::FuncCacheElem::_paramTracker
private

Definition at line 81 of file RooAbsCachedReal.h.

Referenced by FuncCacheElem(), and paramTracker().

RooAbsReal* RooAbsCachedReal::FuncCacheElem::_sourceClone
private

Definition at line 83 of file RooAbsCachedReal.h.

Referenced by FuncCacheElem(), setSourceClone(), and sourceClone().

Collaboration diagram for RooAbsCachedReal::FuncCacheElem:
[legend]

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