Abstract base class for data members of RooAbsArgs that cache other (composite) RooAbsArg expressions.
The RooAbsCache interface defines the interaction between the owning RooAbsArg object and the cache data member to communicate server redirects, operation mode changes and constant term optimization management calls.
Definition at line 27 of file RooAbsCache.h.
Public Member Functions | |
RooAbsCache (const RooAbsCache &, RooAbsArg *owner=nullptr) | |
Copy constructor. Takes owner as argument and registers cache with owne. | |
RooAbsCache (RooAbsArg *owner=nullptr) | |
Constructor. Takes owner as argument and register cache with owner. | |
virtual | ~RooAbsCache () |
Destructor. Unregisters cache with owner. | |
virtual void | findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &) |
Interface for constant term node finding calls. | |
virtual TClass * | IsA () const |
virtual void | operModeHook () |
Interface for operation mode changes. | |
virtual void | optimizeCacheMode (const RooArgSet &, RooArgSet &, RooLinkedList &) |
Interface for processing of cache mode optimization calls. | |
virtual void | printCompactTreeHook (std::ostream &, const char *) |
Interface for printing of cache guts in tree mode printing. | |
virtual bool | redirectServersHook (const RooAbsCollection &, bool, bool, bool) |
Interface for server redirect calls. | |
void | setOwner (RooAbsArg *owner) |
Reset the owner, triggering the owner to register this cache in its list of caches. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | wireCache () |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
RooAbsArg * | _owner |
Pointer to owning RooAbsArg. | |
#include <RooAbsCache.h>
RooAbsCache::RooAbsCache | ( | RooAbsArg * | owner = nullptr | ) |
Constructor. Takes owner as argument and register cache with owner.
Definition at line 41 of file RooAbsCache.cxx.
RooAbsCache::RooAbsCache | ( | const RooAbsCache & | , |
RooAbsArg * | owner = nullptr |
||
) |
Copy constructor. Takes owner as argument and registers cache with owne.
Definition at line 52 of file RooAbsCache.cxx.
|
virtual |
Destructor. Unregisters cache with owner.
Definition at line 63 of file RooAbsCache.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 63 of file RooAbsCache.h.
|
inlinestatic |
Definition at line 63 of file RooAbsCache.h.
|
inlinevirtual |
Interface for constant term node finding calls.
Reimplemented in RooObjCacheManager.
Definition at line 52 of file RooAbsCache.h.
|
inlinevirtual |
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.
Definition at line 63 of file RooAbsCache.h.
|
inlinevirtual |
Interface for operation mode changes.
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.
Definition at line 46 of file RooAbsCache.h.
|
inlinevirtual |
Interface for processing of cache mode optimization calls.
Reimplemented in RooObjCacheManager.
Definition at line 49 of file RooAbsCache.h.
|
inlinevirtual |
Interface for printing of cache guts in tree mode printing.
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.
Definition at line 55 of file RooAbsCache.h.
|
inlinevirtual |
Interface for server redirect calls.
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooObjCacheManager, and RooMappedCategoryCache.
Definition at line 40 of file RooAbsCache.h.
void RooAbsCache::setOwner | ( | RooAbsArg * | owner | ) |
Reset the owner, triggering the owner to register this cache in its list of caches.
Definition at line 73 of file RooAbsCache.cxx.
|
virtual |
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.
|
inline |
Definition at line 63 of file RooAbsCache.h.
|
inlinevirtual |
Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooMappedCategoryCache.
Definition at line 57 of file RooAbsCache.h.
|
protected |
Pointer to owning RooAbsArg.
Definition at line 61 of file RooAbsCache.h.