16#ifndef ROO_OBJ_CACHE_MANAGER
17#define ROO_OBJ_CACHE_MANAGER
#define ClassDef(name, id)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Template class RooCacheManager manages the storage of any type of data indexed on the choice of norma...
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooNameSet is a utility class that stores the names the objects in a RooArget.
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
virtual void optimizeCacheMode(const RooArgSet &, RooArgSet &, RooLinkedList &)
Intercept calls to perform automatic optimization of cache mode operation.
virtual void findConstantNodes(const RooArgSet &, RooArgSet &, RooLinkedList &)
If clearOnRedirect is false, forward constant term optimization calls to cache elements.
static Bool_t clearObsList()
static void doClearObsList(Bool_t flag)
virtual void printCompactTreeHook(std::ostream &, const char *)
Add details on cache contents when printing in tree mode.
static Bool_t _clearObsList
current optCacheObservables
virtual void insertObjectHook(RooAbsCacheElement &)
Set owner link on all object inserted into cache.
virtual Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
Intercept server redirect calls.
virtual void operModeHook()
Intercept changes to cache operation mode and forward to cache elements.
RooObjCacheManager(RooAbsArg *owner=0, Int_t maxSize=2, Bool_t clearCacheOnServerRedirect=kTRUE, Bool_t allowOptimize=kFALSE)
Constructor of object cache manager for given owner.
void setClearOnRedirect(Bool_t flag)
virtual ~RooObjCacheManager()
Destructor.
RooArgSet * _optCacheObservables