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

Definition at line 38 of file RooMappedCategory.cxx.

Public Member Functions

 RooMappedCategoryCache (const RooAbsCache &, RooAbsArg *owner)
 
 RooMappedCategoryCache (RooAbsArg *owner)
 
RooAbsCategory::value_type lookup (Int_t idx) const
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls.
 
virtual void wireCache ()
 
- Public Member Functions inherited from RooAbsCache
 RooAbsCache (const RooAbsCache &, RooAbsArg *owner=0)
 Copy constructor. Takes owner as argument and registers cache with owne.
 
 RooAbsCache (RooAbsArg *owner=0)
 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 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.
 
void setOwner (RooAbsArg *owner)
 Reset the owner, triggering the owner to register this cache in its list of caches.
 

Private Member Functions

void initialise ()
 

Private Attributes

std::map< Int_t, RooAbsCategory::value_type_map
 

Additional Inherited Members

- Protected Attributes inherited from RooAbsCache
RooAbsArg_owner
 
Inheritance diagram for RooMappedCategoryCache:
[legend]

Constructor & Destructor Documentation

◆ RooMappedCategoryCache() [1/2]

RooMappedCategoryCache::RooMappedCategoryCache ( RooAbsArg owner)
inline

Definition at line 40 of file RooMappedCategory.cxx.

◆ RooMappedCategoryCache() [2/2]

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

Definition at line 42 of file RooMappedCategory.cxx.

Member Function Documentation

◆ initialise()

void RooMappedCategoryCache::initialise ( )
inlineprivate

Definition at line 61 of file RooMappedCategory.cxx.

◆ lookup()

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

Definition at line 47 of file RooMappedCategory.cxx.

◆ redirectServersHook()

virtual Bool_t RooMappedCategoryCache::redirectServersHook ( const RooAbsCollection ,
Bool_t  ,
Bool_t  ,
Bool_t   
)
inlinevirtual

Interface for server redirect calls.

Reimplemented from RooAbsCache.

Definition at line 53 of file RooMappedCategory.cxx.

◆ wireCache()

virtual void RooMappedCategoryCache::wireCache ( )
inlinevirtual

Reimplemented from RooAbsCache.

Definition at line 50 of file RooMappedCategory.cxx.

Member Data Documentation

◆ _map

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

Definition at line 57 of file RooMappedCategory.cxx.

  • roofit/roofitcore/src/RooMappedCategory.cxx