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

Definition at line 62 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.
 
RooArgList containedArgs (Action) override
 Returns all RooAbsArg objects contained in the cache element.
 
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.
 
void setUnitNorm ()
 
- 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

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 constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 ! Pointer to owning RooAbsArg
 

#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 173 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.

Definition at line 285 of file RooAbsCachedPdf.cxx.

◆ hist()

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

Definition at line 71 of file RooAbsCachedPdf.h.

◆ nset()

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

Definition at line 72 of file RooAbsCachedPdf.h.

◆ paramTracker()

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

Definition at line 73 of file RooAbsCachedPdf.h.

◆ pdf()

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

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

◆ setUnitNorm()

void RooAbsCachedPdf::PdfCacheElem::setUnitNorm ( )
inline

Definition at line 74 of file RooAbsCachedPdf.h.

Member Data Documentation

◆ _hist

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

Definition at line 80 of file RooAbsCachedPdf.h.

◆ _norm

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

Definition at line 82 of file RooAbsCachedPdf.h.

◆ _nset

RooArgSet RooAbsCachedPdf::PdfCacheElem::_nset
private

Definition at line 81 of file RooAbsCachedPdf.h.

◆ _paramTracker

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

Definition at line 79 of file RooAbsCachedPdf.h.

◆ _pdf

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

Definition at line 78 of file RooAbsCachedPdf.h.

Libraries for RooAbsCachedPdf::PdfCacheElem:

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