|
ROOT
Reference Guide |
|
Go to the documentation of this file.
54 _clearOnRedirect(clearCacheOnServerRedirect),
55 _allowOptimize(allowOptimize),
57 _optCacheObservables(0)
67 _clearOnRedirect(other._clearOnRedirect),
68 _allowOptimize(other._allowOptimize),
70 _optCacheObservables(0)
101 _object[i]->redirectServersHook(newServerList,mustReplaceAll,nameChange,isRecursive) ;
151 _object[i]->optimizeCacheMode(obs,optNodes,processedNodes) ;
224 _object[i]->findConstantNodes(obs,cacheList, processedNodes) ;
void setOwner(RooAbsArg *owner)
virtual void sterilize()
Clear the cache payload but retain slot mapping w.r.t to normalization and integration sets.
OperMode operMode() const
Query the operation mode of this node.
RooArgSet * _optCacheObservables
static constexpr double s
static void indent(ostringstream &buf, int indent_level)
void sterilize()
Clear the cache payload but retain slot mapping w.r.t to normalization and integration sets.
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
virtual void findConstantNodes(const RooArgSet &, RooArgSet &, RooLinkedList &)
If clearOnRedirect is false, forward constant term optimization calls to cache elements.
virtual Bool_t redirectServersHook(const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
Intercept server redirect calls.
virtual void printCompactTreeHook(std::ostream &, const char *)
Add details on cache contents when printing in tree mode.
virtual void optimizeCacheMode(const RooArgSet &, RooArgSet &, RooLinkedList &)
Intercept calls to perform automatic optimization of cache mode operation.
Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Add element to non-owning set.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
std::vector< RooAbsCacheElement * > _object
Normalization/Integration set manager.
virtual void operModeHook()
Intercept changes to cache operation mode and forward to cache elements.
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
virtual void insertObjectHook(RooAbsCacheElement &)
Set owner link on all object inserted into cache.
RooObjCacheManager(RooAbsArg *owner=0, Int_t maxSize=2, Bool_t clearCacheOnServerRedirect=kTRUE, Bool_t allowOptimize=kFALSE)
Constructor of object cache manager for given owner.
virtual void optimizeCacheMode(const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
Interface for cache optimization calls.
Template class RooCacheManager manages the storage of any type of data indexed on the choice of norma...
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
virtual const char * GetName() const
Returns name of object.
virtual ~RooObjCacheManager()
Destructor.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
static Bool_t _clearObsList
current optCacheObservables