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

Definition at line 58 of file RooAbsCachedReal.h.

Public Types

enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }

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.
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls.
RooHistFuncfunc ()
RooDataHisthist ()
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.
RooChangeTrackerparamTracker ()
void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) override
 Print contents of cache when printing self as part of object tree.
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls.
void setCacheSource (bool flag)
void setOwner (RooAbsArg *owner)
void setSourceClone (RooAbsReal *newSource)
void setUnitNorm ()
RooAbsRealsourceClone ()
virtual void Streamer (TBuffer &)
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)

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 Attributes

bool _cacheSource
RooHistFunc_func
RooDataHist_hist
RooChangeTracker_paramTracker
RooAbsReal_sourceClone

#include <RooAbsCachedReal.h>

Inheritance diagram for RooAbsCachedReal::FuncCacheElem:
RooAbsCacheElement RooNumRunningInt::RICacheElem

Member Enumeration Documentation

◆ Action

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

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 156 of file RooAbsCachedReal.cxx.

◆ ~FuncCacheElem()

RooAbsCachedReal::FuncCacheElem::~FuncCacheElem ( )
override

Definition at line 198 of file RooAbsCachedReal.cxx.

Member Function Documentation

◆ cacheSource()

bool RooAbsCachedReal::FuncCacheElem::cacheSource ( )
inline

Definition at line 74 of file RooAbsCachedReal.h.

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 55 of file RooAbsCacheElement.h.

◆ containedArgs()

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

Return list of contained RooAbsArg objects.

Implements RooAbsCacheElement.

Reimplemented in RooNumRunningInt::RICacheElem.

Definition at line 258 of file RooAbsCachedReal.cxx.

◆ DeclFileName()

const char * RooAbsCacheElement::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 55 of file RooAbsCacheElement.h.

◆ findConstantNodes()

void RooAbsCacheElement::findConstantNodes ( const RooArgSet & obs,
RooArgSet & cacheList,
RooLinkedList & processedNodes )
virtualinherited

Interface for constant term optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 71 of file RooAbsCacheElement.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.

◆ IsA()

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

Definition at line 55 of file RooAbsCacheElement.h.

◆ operModeHook()

virtual void RooAbsCacheElement::operModeHook ( RooAbsArg::OperMode )
inlinevirtualinherited

Interface for changes of operation mode.

Reimplemented in RooLagrangianMorphFunc::CacheElem.

Definition at line 42 of file RooAbsCacheElement.h.

◆ optimizeCacheMode()

void RooAbsCacheElement::optimizeCacheMode ( const RooArgSet & obs,
RooArgSet & optNodes,
RooLinkedList & processedNodes )
virtualinherited

Interface for cache optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 58 of file RooAbsCacheElement.cxx.

◆ 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 273 of file RooAbsCachedReal.cxx.

◆ redirectServersHook()

bool RooAbsCacheElement::redirectServersHook ( const RooAbsCollection & ,
bool ,
bool ,
bool  )
virtualinherited

Interface for server redirect calls.

Definition at line 37 of file RooAbsCacheElement.cxx.

◆ setCacheSource()

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

Definition at line 75 of file RooAbsCachedReal.h.

◆ setOwner()

void RooAbsCacheElement::setOwner ( RooAbsArg * owner)
inlineinherited

Definition at line 46 of file RooAbsCacheElement.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.

◆ Streamer()

virtual void RooAbsCacheElement::Streamer ( TBuffer & )
virtualinherited

◆ StreamerNVirtual()

void RooAbsCacheElement::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 55 of file RooAbsCacheElement.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.

◆ _owner

RooAbsArg* RooAbsCacheElement::_owner
protectedinherited

! Pointer to owning RooAbsArg

Definition at line 53 of file RooAbsCacheElement.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.


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