Logo ROOT  
Reference Guide
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. More...
 
RooArgList containedArgs (Action) override
 Returns all RooAbsArg objects contained in the cache element. More...
 
RooDataHisthist ()
 
const RooArgSetnset ()
 
RooChangeTrackerparamTracker ()
 
RooHistPdfpdf ()
 
void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) override
 Print contents of cache when printing self as part of object tree. More...
 
- Public Member Functions inherited from RooAbsCacheElement
 RooAbsCacheElement ()
 
virtual ~RooAbsCacheElement ()
 
virtual RooArgList containedArgs (Action)=0
 
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls. More...
 
virtual TClassIsA () const
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for changes of operation mode. More...
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t curElem, Int_t totElem)
 Hook function to print cache guts in tree printing mode of RooAbsArgs. More...
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

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 }
 
- Static Public Member Functions inherited from RooAbsCacheElement
static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 ! Pointer to owning RooAbsArg More...
 

#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  )
overridevirtual

Returns all RooAbsArg objects contained in the cache element.

Implements RooAbsCacheElement.

Reimplemented in 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 
)
overridevirtual

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:
[legend]

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