Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAbsCachedPdf::PdfCacheElem Class Reference

Definition at line 61 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.
 
virtual RooArgList containedArgs (Action)
 Returns all RooAbsArg objects contained in the cache element.
 
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.
 
- 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 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_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls.
 
void setOwner (RooAbsArg *owner)
 

Private Attributes

std::unique_ptr< RooDataHist_hist
 
std::unique_ptr< RooAbsReal_norm
 
RooArgSet _nset
 
std::unique_ptr< RooChangeTracker_paramTracker
 
std::unique_ptr< 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 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.

Definition at line 182 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, and RooFFTConvPdf::FFTCacheElem.

Definition at line 294 of file RooAbsCachedPdf.cxx.

◆ hist()

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

Definition at line 70 of file RooAbsCachedPdf.h.

◆ nset()

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

Definition at line 71 of file RooAbsCachedPdf.h.

◆ paramTracker()

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

Definition at line 72 of file RooAbsCachedPdf.h.

◆ pdf()

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

Definition at line 69 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 306 of file RooAbsCachedPdf.cxx.

Member Data Documentation

◆ _hist

std::unique_ptr<RooDataHist> RooAbsCachedPdf::PdfCacheElem::_hist
private

Definition at line 78 of file RooAbsCachedPdf.h.

◆ _norm

std::unique_ptr<RooAbsReal> RooAbsCachedPdf::PdfCacheElem::_norm
private

Definition at line 80 of file RooAbsCachedPdf.h.

◆ _nset

RooArgSet RooAbsCachedPdf::PdfCacheElem::_nset
private

Definition at line 79 of file RooAbsCachedPdf.h.

◆ _paramTracker

std::unique_ptr<RooChangeTracker> RooAbsCachedPdf::PdfCacheElem::_paramTracker
private

Definition at line 77 of file RooAbsCachedPdf.h.

◆ _pdf

std::unique_ptr<RooHistPdf> RooAbsCachedPdf::PdfCacheElem::_pdf
private

Definition at line 76 of file RooAbsCachedPdf.h.

Libraries for RooAbsCachedPdf::PdfCacheElem:

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