Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RooMappedCategoryCache Class Reference

Definition at line 37 of file RooMappedCategory.cxx.

Public Member Functions

 RooMappedCategoryCache (const RooAbsCache &, RooAbsArg *owner)
 RooMappedCategoryCache (RooAbsArg *owner)
virtual void findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for constant term node finding calls.
virtual TClassIsA () const
RooAbsCategory::value_type lookup (Int_t idx) 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.
bool redirectServersHook (const RooAbsCollection &, bool, bool, bool) override
 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)
void wireCache () override

Static Public Member Functions

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

Protected Attributes

RooAbsArg_owner
 Pointer to owning RooAbsArg.

Private Member Functions

void initialise ()

Private Attributes

std::map< Int_t, RooAbsCategory::value_type_map
Inheritance diagram for RooMappedCategoryCache:
RooAbsCache

Constructor & Destructor Documentation

◆ RooMappedCategoryCache() [1/2]

RooMappedCategoryCache::RooMappedCategoryCache ( RooAbsArg * owner)
inline

Definition at line 39 of file RooMappedCategory.cxx.

◆ RooMappedCategoryCache() [2/2]

RooMappedCategoryCache::RooMappedCategoryCache ( const RooAbsCache & ,
RooAbsArg * owner )
inline

Definition at line 41 of file RooMappedCategory.cxx.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

constexpr Version_t RooAbsCache::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 63 of file RooAbsCache.h.

◆ DeclFileName()

const char * RooAbsCache::DeclFileName ( )
inlinestaticinherited
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 &  )
inlinevirtualinherited

Interface for constant term node finding calls.

Reimplemented in RooObjCacheManager.

Definition at line 52 of file RooAbsCache.h.

◆ initialise()

void RooMappedCategoryCache::initialise ( )
inlineprivate

Definition at line 60 of file RooMappedCategory.cxx.

◆ IsA()

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

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

Definition at line 63 of file RooAbsCache.h.

◆ lookup()

RooAbsCategory::value_type RooMappedCategoryCache::lookup ( Int_t idx) const
inline

Definition at line 46 of file RooMappedCategory.cxx.

◆ operModeHook()

virtual void RooAbsCache::operModeHook ( )
inlinevirtualinherited

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 &  )
inlinevirtualinherited

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 *  )
inlinevirtualinherited

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()

bool RooMappedCategoryCache::redirectServersHook ( const RooAbsCollection & ,
bool ,
bool ,
bool  )
inlineoverridevirtual

Interface for server redirect calls.

Reimplemented from RooAbsCache.

Definition at line 52 of file RooMappedCategory.cxx.

◆ setOwner()

void RooAbsCache::setOwner ( RooAbsArg * owner)
inherited

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

Definition at line 70 of file RooAbsCache.cxx.

◆ Streamer()

virtual void RooAbsCache::Streamer ( TBuffer & )
virtualinherited

◆ StreamerNVirtual()

void RooAbsCache::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 63 of file RooAbsCache.h.

◆ wireCache()

void RooMappedCategoryCache::wireCache ( )
inlineoverridevirtual

Reimplemented from RooAbsCache.

Definition at line 49 of file RooMappedCategory.cxx.

Member Data Documentation

◆ _map

std::map<Int_t, RooAbsCategory::value_type> RooMappedCategoryCache::_map
mutableprivate

Definition at line 56 of file RooMappedCategory.cxx.

◆ _owner

RooAbsArg* RooAbsCache::_owner
protectedinherited

Pointer to owning RooAbsArg.

Definition at line 61 of file RooAbsCache.h.


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