ROOT 6.12/07 Reference Guide |
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager objects.
Each storage element has an interface to pass on calls for server redirection, operation mode change calls and constant term optimization management calls
Definition at line 26 of file RooAbsCacheElement.h.
Public Types | |
enum | Action { OperModeChange, OptimizeCaching, FindConstantNodes } |
Public Member Functions | |
RooAbsCacheElement () | |
virtual | ~RooAbsCacheElement () |
virtual RooArgList | containedArgs (Action)=0 |
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 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 Bool_t | redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t) |
Interface for server redirect calls. More... | |
void | setOwner (RooAbsArg *owner) |
Protected Attributes | |
RooAbsArg * | _owner |
#include <RooAbsCacheElement.h>
Enumerator | |
---|---|
OperModeChange | |
OptimizeCaching | |
FindConstantNodes |
Definition at line 39 of file RooAbsCacheElement.h.
|
inline |
Definition at line 29 of file RooAbsCacheElement.h.
|
inlinevirtual |
Definition at line 35 of file RooAbsCacheElement.h.
|
pure virtual |
Implemented in RooAbsPdf::CacheElem, RooProdPdf::CacheElem, RooAddModel::IntCacheElem, RooAddPdf::CacheElem, RooAddModel::CacheElem, RooAbsAnaConvPdf::CacheElem, RooSimultaneous::CacheElem, RooMomentMorphFuncND::CacheElem, RooMomentMorphND::CacheElem, RooRealSumPdf::CacheElem, ParamHistFunc::CacheElem, RooProduct::CacheElem, RooAddition::CacheElem, RooAbsCachedPdf::PdfCacheElem, PiecewiseInterpolation::CacheElem, RooMomentMorphFunc::CacheElem, RooAbsCachedReal::FuncCacheElem, RooEffProd::CacheElem, RooRealSumFunc::CacheElem, RooMomentMorph::CacheElem, RooProjectedPdf::CacheElem, and RooIntegralMorph::MorphCacheElem.
|
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 90 of file RooAbsCacheElement.cxx.
|
virtual |
Interface for operation mode change calls.
Reimplemented in RooAbsPdf::CacheElem, RooMomentMorphFuncND::CacheElem, RooMomentMorphND::CacheElem, RooMomentMorphFunc::CacheElem, and RooMomentMorph::CacheElem.
Definition at line 63 of file RooAbsCacheElement.cxx.
|
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 73 of file RooAbsCacheElement.cxx.
|
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 54 of file RooAbsCacheElement.cxx.
|
virtual |
Interface for server redirect calls.
Definition at line 43 of file RooAbsCacheElement.cxx.
Definition at line 45 of file RooAbsCacheElement.h.
|
protected |
Definition at line 52 of file RooAbsCacheElement.h.