Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
RooAbsCachedPdf::PdfCacheElem Class Reference

Definition at line 63 of file RooAbsCachedPdf.h.

Public Member Functions

 PdfCacheElem (const RooAbsCachedPdf &self, const RooArgSet *nset)
 Constructor of cache object which owns RooDataHist cache histogram, RooHistPdf pdf that represents is shape and RooChangeTracker meta object that tracks changes in listed dependent parameter of cache. More...
 
virtual ~PdfCacheElem ()
 Cache element destructor. More...
 
virtual RooArgList containedArgs (Action)
 Returns all RooAbsArg objects contained in the cache element. More...
 
RooDataHisthist ()
 
const RooArgSetnset ()
 
RooChangeTrackerparamTracker ()
 
RooHistPdfpdf ()
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t)
 Print contents of cache when printing self as part of object tree. More...
 
- 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. More...
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for operation mode change calls. More...
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls. More...
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 

Private Attributes

RooDataHist_hist
 
RooAbsReal_norm
 
RooArgSet _nset
 
RooChangeTracker_paramTracker
 
RooHistPdf_pdf
 

Additional Inherited Members

- Public Types inherited from RooAbsCacheElement
enum  Action { OperModeChange, OptimizeCaching, FindConstantNodes }
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 

#include <RooAbsCachedPdf.h>

Inheritance diagram for RooAbsCachedPdf::PdfCacheElem:
[legend]

Constructor & Destructor Documentation

◆ PdfCacheElem()

RooAbsCachedPdf::PdfCacheElem::PdfCacheElem ( const RooAbsCachedPdf self,
const RooArgSet nsetIn 
)

Constructor of cache object which owns RooDataHist cache histogram, RooHistPdf pdf that represents is shape and RooChangeTracker meta object that tracks changes in listed dependent parameter of cache.

Definition at line 214 of file RooAbsCachedPdf.cxx.

◆ ~PdfCacheElem()

RooAbsCachedPdf::PdfCacheElem::~PdfCacheElem ( )
virtual

Cache element destructor.

Definition at line 357 of file RooAbsCachedPdf.cxx.

Member Function Documentation

◆ containedArgs()

RooArgList RooAbsCachedPdf::PdfCacheElem::containedArgs ( Action  )
virtual

Returns all RooAbsArg objects contained in the cache element.

Implements RooAbsCacheElement.

Reimplemented in RooIntegralMorph::MorphCacheElem.

Definition at line 344 of file RooAbsCachedPdf.cxx.

◆ hist()

RooDataHist* RooAbsCachedPdf::PdfCacheElem::hist ( )
inline

Definition at line 73 of file RooAbsCachedPdf.h.

◆ nset()

const RooArgSet& RooAbsCachedPdf::PdfCacheElem::nset ( )
inline

Definition at line 74 of file RooAbsCachedPdf.h.

◆ paramTracker()

RooChangeTracker* RooAbsCachedPdf::PdfCacheElem::paramTracker ( )
inline

Definition at line 75 of file RooAbsCachedPdf.h.

◆ pdf()

RooHistPdf* RooAbsCachedPdf::PdfCacheElem::pdf ( )
inline

Definition at line 72 of file RooAbsCachedPdf.h.

◆ printCompactTreeHook()

void RooAbsCachedPdf::PdfCacheElem::printCompactTreeHook ( std::ostream &  os,
const char *  indent,
Int_t  curElem,
Int_t  maxElem 
)
virtual

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

Reimplemented from RooAbsCacheElement.

Definition at line 378 of file RooAbsCachedPdf.cxx.

Member Data Documentation

◆ _hist

RooDataHist* RooAbsCachedPdf::PdfCacheElem::_hist
private

Definition at line 81 of file RooAbsCachedPdf.h.

◆ _norm

RooAbsReal* RooAbsCachedPdf::PdfCacheElem::_norm
private

Definition at line 83 of file RooAbsCachedPdf.h.

◆ _nset

RooArgSet RooAbsCachedPdf::PdfCacheElem::_nset
private

Definition at line 82 of file RooAbsCachedPdf.h.

◆ _paramTracker

RooChangeTracker* RooAbsCachedPdf::PdfCacheElem::_paramTracker
private

Definition at line 80 of file RooAbsCachedPdf.h.

◆ _pdf

RooHistPdf* RooAbsCachedPdf::PdfCacheElem::_pdf
private

Definition at line 79 of file RooAbsCachedPdf.h.


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