ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Protected Attributes | List of all members
RooAbsCacheElement Class Referenceabstract

Definition at line 26 of file RooAbsCacheElement.h.

Public Types

enum  Action { OperModeChange, OptimizeCaching, FindConstantNodes }
 

Public Member Functions

 RooAbsCacheElement ()
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t curElem, Int_t totElem)
 Hook function to print cache guts in tree printing mode of RooAbsArgs. More...
 
virtual ~RooAbsCacheElement ()
 
virtual RooArgList containedArgs (Action)=0
 
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)
 

Protected Attributes

RooAbsArg_owner
 

#include <RooAbsCacheElement.h>

+ Inheritance diagram for RooAbsCacheElement:
+ Collaboration diagram for RooAbsCacheElement:

Member Enumeration Documentation

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

Constructor & Destructor Documentation

RooAbsCacheElement::RooAbsCacheElement ( )
inline

Definition at line 29 of file RooAbsCacheElement.h.

virtual RooAbsCacheElement::~RooAbsCacheElement ( )
inlinevirtual

Definition at line 35 of file RooAbsCacheElement.h.

Member Function Documentation

virtual RooArgList RooAbsCacheElement::containedArgs ( Action  )
pure virtual
void RooAbsCacheElement::findConstantNodes ( const RooArgSet obs,
RooArgSet cacheList,
RooLinkedList processedNodes 
)
virtual

Interface for constant term optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 91 of file RooAbsCacheElement.cxx.

void RooAbsCacheElement::operModeHook ( RooAbsArg::OperMode  )
virtual

Interface for operation mode change calls.

Reimplemented in RooAbsPdf::CacheElem, and RooMomentMorph::CacheElem.

Definition at line 64 of file RooAbsCacheElement.cxx.

void RooAbsCacheElement::optimizeCacheMode ( const RooArgSet obs,
RooArgSet optNodes,
RooLinkedList processedNodes 
)
virtual

Interface for cache optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 74 of file RooAbsCacheElement.cxx.

Referenced by RooObjCacheManager::insertObjectHook().

void RooAbsCacheElement::printCompactTreeHook ( std::ostream &  ,
const char *  ,
Int_t  curElem,
Int_t  totElem 
)
virtual

Hook function to print cache guts in tree printing mode of RooAbsArgs.

Reimplemented in RooProdPdf::CacheElem, RooAbsCachedPdf::PdfCacheElem, RooAbsCachedReal::FuncCacheElem, and RooProjectedPdf::CacheElem.

Definition at line 55 of file RooAbsCacheElement.cxx.

Bool_t RooAbsCacheElement::redirectServersHook ( const RooAbsCollection ,
Bool_t  ,
Bool_t  ,
Bool_t   
)
virtual

Interface for server redirect calls.

Definition at line 44 of file RooAbsCacheElement.cxx.

void RooAbsCacheElement::setOwner ( RooAbsArg owner)
inline

Definition at line 45 of file RooAbsCacheElement.h.

Referenced by RooObjCacheManager::insertObjectHook().

Member Data Documentation

RooAbsArg* RooAbsCacheElement::_owner
protected

Definition at line 52 of file RooAbsCacheElement.h.

Referenced by setOwner().


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