Logo ROOT  
Reference Guide
RooAbsCache Class Reference

RooAbsCache is the 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=0)
 Copy constructor. Takes owner as argument and registers cache with owne. More...
 
 RooAbsCache (RooAbsArg *owner=0)
 Constructor. Takes owner as argument and register cache with owner. More...
 
virtual ~RooAbsCache ()
 Destructor. Unregisters cache with owner. More...
 
virtual void findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for constant term node finding calls. More...
 
virtual TClassIsA () const
 
virtual void operModeHook ()
 Interface for operation mode changes. More...
 
virtual void optimizeCacheMode (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for processing of cache mode optimization calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *)
 Interface for printing of cache guts in tree mode printing. More...
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 Reset the owner, triggering the owner to register this cache in its list of caches. More...
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void wireCache ()
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

RooAbsArg_owner
 Pointer to owning RooAbsArg. More...
 

#include <RooAbsCache.h>

Inheritance diagram for RooAbsCache:
[legend]

Constructor & Destructor Documentation

◆ RooAbsCache() [1/2]

RooAbsCache::RooAbsCache ( RooAbsArg owner = 0)

Constructor. Takes owner as argument and register cache with owner.

Definition at line 42 of file RooAbsCache.cxx.

◆ RooAbsCache() [2/2]

RooAbsCache::RooAbsCache ( const RooAbsCache ,
RooAbsArg owner = 0 
)

Copy constructor. Takes owner as argument and registers cache with owne.

Definition at line 53 of file RooAbsCache.cxx.

◆ ~RooAbsCache()

RooAbsCache::~RooAbsCache ( )
virtual

Destructor. Unregisters cache with owner.

Definition at line 64 of file RooAbsCache.cxx.

Member Function Documentation

◆ Class()

static TClass * RooAbsCache::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooAbsCache::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t RooAbsCache::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 63 of file RooAbsCache.h.

◆ DeclFileName()

static const char * RooAbsCache::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 63 of file RooAbsCache.h.

◆ findConstantNodes()

virtual void RooAbsCache::findConstantNodes ( const RooArgSet ,
RooArgSet ,
RooLinkedList  
)
inlinevirtual

Interface for constant term node finding calls.

Reimplemented in RooObjCacheManager.

Definition at line 52 of file RooAbsCache.h.

◆ IsA()

virtual TClass * RooAbsCache::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.

Definition at line 63 of file RooAbsCache.h.

◆ operModeHook()

virtual void RooAbsCache::operModeHook ( )
inlinevirtual

Interface for operation mode changes.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.

Definition at line 46 of file RooAbsCache.h.

◆ optimizeCacheMode()

virtual void RooAbsCache::optimizeCacheMode ( const RooArgSet ,
RooArgSet ,
RooLinkedList  
)
inlinevirtual

Interface for processing of cache mode optimization calls.

Reimplemented in RooObjCacheManager.

Definition at line 49 of file RooAbsCache.h.

◆ printCompactTreeHook()

virtual void RooAbsCache::printCompactTreeHook ( std::ostream &  ,
const char *   
)
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.

◆ redirectServersHook()

virtual bool RooAbsCache::redirectServersHook ( const RooAbsCollection ,
bool  ,
bool  ,
bool   
)
inlinevirtual

Interface for server redirect calls.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooObjCacheManager, and RooMappedCategoryCache.

Definition at line 40 of file RooAbsCache.h.

◆ setOwner()

void RooAbsCache::setOwner ( RooAbsArg owner)

Reset the owner, triggering the owner to register this cache in its list of caches.

Definition at line 74 of file RooAbsCache.cxx.

◆ Streamer()

virtual void RooAbsCache::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooAbsCache::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 63 of file RooAbsCache.h.

◆ wireCache()

virtual void RooAbsCache::wireCache ( )
inlinevirtual

Member Data Documentation

◆ _owner

RooAbsArg* RooAbsCache::_owner
protected

Pointer to owning RooAbsArg.

Definition at line 61 of file RooAbsCache.h.

Libraries for RooAbsCache:
[legend]

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