Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAbsCachedReal::FuncCacheElem Class Reference

Definition at line 58 of file RooAbsCachedReal.h.

Public Member Functions

 FuncCacheElem (const RooAbsCachedReal &self, const RooArgSet *nset)
 Constructor of cache storage unit class.
 
 ~FuncCacheElem () override
 
bool cacheSource ()
 
RooArgList containedArgs (Action) override
 Return list of contained RooAbsArg objects.
 
RooHistFuncfunc ()
 
RooDataHisthist ()
 
RooChangeTrackerparamTracker ()
 
void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) override
 Print contents of cache when printing self as part of object tree.
 
void setCacheSource (bool flag)
 
void setSourceClone (RooAbsReal *newSource)
 
void setUnitNorm ()
 
RooAbsRealsourceClone ()
 
- Public Member Functions inherited from RooAbsCacheElement
 RooAbsCacheElement ()
 
virtual ~RooAbsCacheElement ()
 
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls.
 
virtual TClassIsA () const
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for changes of operation mode.
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls.
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls.
 
void setOwner (RooAbsArg *owner)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Attributes

bool _cacheSource
 
RooHistFunc_func
 
RooDataHist_hist
 
RooChangeTracker_paramTracker
 
RooAbsReal_sourceClone
 

Additional Inherited Members

- Public Types inherited from RooAbsCacheElement
enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }
 
- Static Public Member Functions inherited from RooAbsCacheElement
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 ! Pointer to owning RooAbsArg
 

#include <RooAbsCachedReal.h>

Inheritance diagram for RooAbsCachedReal::FuncCacheElem:
[legend]

Constructor & Destructor Documentation

◆ FuncCacheElem()

RooAbsCachedReal::FuncCacheElem::FuncCacheElem ( const RooAbsCachedReal self,
const RooArgSet nset 
)

Constructor of cache storage unit class.

Create RooDataHist that will cache function values and create RooHistFunc that represent s RooDataHist shape as function, create meta object that tracks changes in declared parameters of p.d.f through actualParameters()

Definition at line 169 of file RooAbsCachedReal.cxx.

◆ ~FuncCacheElem()

RooAbsCachedReal::FuncCacheElem::~FuncCacheElem ( )
override

Definition at line 211 of file RooAbsCachedReal.cxx.

Member Function Documentation

◆ cacheSource()

bool RooAbsCachedReal::FuncCacheElem::cacheSource ( )
inline

Definition at line 74 of file RooAbsCachedReal.h.

◆ containedArgs()

RooArgList RooAbsCachedReal::FuncCacheElem::containedArgs ( Action  )
overridevirtual

Return list of contained RooAbsArg objects.

Implements RooAbsCacheElement.

Reimplemented in RooNumRunningInt::RICacheElem.

Definition at line 271 of file RooAbsCachedReal.cxx.

◆ func()

RooHistFunc * RooAbsCachedReal::FuncCacheElem::func ( )
inline

Definition at line 67 of file RooAbsCachedReal.h.

◆ hist()

RooDataHist * RooAbsCachedReal::FuncCacheElem::hist ( )
inline

Definition at line 68 of file RooAbsCachedReal.h.

◆ paramTracker()

RooChangeTracker * RooAbsCachedReal::FuncCacheElem::paramTracker ( )
inline

Definition at line 69 of file RooAbsCachedReal.h.

◆ printCompactTreeHook()

void RooAbsCachedReal::FuncCacheElem::printCompactTreeHook ( std::ostream &  os,
const char *  indent,
Int_t  curElem,
Int_t  maxElem 
)
overridevirtual

Print contents of cache when printing self as part of object tree.

Reimplemented from RooAbsCacheElement.

Definition at line 286 of file RooAbsCachedReal.cxx.

◆ setCacheSource()

void RooAbsCachedReal::FuncCacheElem::setCacheSource ( bool  flag)
inline

Definition at line 75 of file RooAbsCachedReal.h.

◆ setSourceClone()

void RooAbsCachedReal::FuncCacheElem::setSourceClone ( RooAbsReal newSource)
inline

Definition at line 72 of file RooAbsCachedReal.h.

◆ setUnitNorm()

void RooAbsCachedReal::FuncCacheElem::setUnitNorm ( )
inline

Definition at line 78 of file RooAbsCachedReal.h.

◆ sourceClone()

RooAbsReal * RooAbsCachedReal::FuncCacheElem::sourceClone ( )
inline

Definition at line 71 of file RooAbsCachedReal.h.

Member Data Documentation

◆ _cacheSource

bool RooAbsCachedReal::FuncCacheElem::_cacheSource
private

Definition at line 86 of file RooAbsCachedReal.h.

◆ _func

RooHistFunc* RooAbsCachedReal::FuncCacheElem::_func
private

Definition at line 82 of file RooAbsCachedReal.h.

◆ _hist

RooDataHist* RooAbsCachedReal::FuncCacheElem::_hist
private

Definition at line 84 of file RooAbsCachedReal.h.

◆ _paramTracker

RooChangeTracker* RooAbsCachedReal::FuncCacheElem::_paramTracker
private

Definition at line 83 of file RooAbsCachedReal.h.

◆ _sourceClone

RooAbsReal* RooAbsCachedReal::FuncCacheElem::_sourceClone
private

Definition at line 85 of file RooAbsCachedReal.h.

Libraries for RooAbsCachedReal::FuncCacheElem:

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