Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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)
 
RooAbsCategory::value_type lookup (Int_t idx) const
 
bool redirectServersHook (const RooAbsCollection &, bool, bool, bool) override
 Interface for server redirect calls.
 
void wireCache () override
 
- Public Member Functions inherited from RooAbsCache
 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 TClassIsA () 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.
 
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)
 

Private Member Functions

void initialise ()
 

Private Attributes

std::map< Int_t, RooAbsCategory::value_type_map
 

Additional Inherited Members

- Static Public Member Functions inherited from RooAbsCache
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCache
RooAbsArg_owner
 Pointer to owning RooAbsArg.
 
Inheritance diagram for RooMappedCategoryCache:
[legend]

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

◆ initialise()

void RooMappedCategoryCache::initialise ( )
inlineprivate

Definition at line 60 of file RooMappedCategory.cxx.

◆ lookup()

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

Definition at line 46 of file RooMappedCategory.cxx.

◆ 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.

◆ 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.

  • roofit/roofitcore/src/RooMappedCategory.cxx