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

Definition at line 62 of file RooAbsCachedPdf.h.

Public Types

enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }

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.
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls.
RooDataHisthist ()
virtual TClassIsA () const
const RooArgSetnset ()
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 ()
RooHistPdfpdf ()
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 setOwner (RooAbsArg *owner)
void setUnitNorm ()
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

std::unique_ptr< RooDataHist_hist
std::unique_ptr< RooAbsReal_norm
RooArgSet _nset
std::unique_ptr< RooChangeTracker_paramTracker
std::unique_ptr< RooHistPdf_pdf

#include <RooAbsCachedPdf.h>

Inheritance diagram for RooAbsCachedPdf::PdfCacheElem:
RooAbsCacheElement RooFFTConvPdf::FFTCacheElem RooIntegralMorph::MorphCacheElem

Member Enumeration Documentation

◆ Action

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

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 155 of file RooAbsCachedPdf.cxx.

Member Function Documentation

◆ 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 RooAbsCachedPdf::PdfCacheElem::containedArgs ( Action )
overridevirtual

Returns all RooAbsArg objects contained in the cache element.

Implements RooAbsCacheElement.

Definition at line 267 of file RooAbsCachedPdf.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.

◆ hist()

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

Definition at line 71 of file RooAbsCachedPdf.h.

◆ IsA()

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

Definition at line 55 of file RooAbsCacheElement.h.

◆ nset()

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

Definition at line 72 of file RooAbsCachedPdf.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 * 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 279 of file RooAbsCachedPdf.cxx.

◆ redirectServersHook()

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

Interface for server redirect calls.

Definition at line 37 of file RooAbsCacheElement.cxx.

◆ setOwner()

void RooAbsCacheElement::setOwner ( RooAbsArg * owner)
inlineinherited

Definition at line 46 of file RooAbsCacheElement.h.

◆ setUnitNorm()

void RooAbsCachedPdf::PdfCacheElem::setUnitNorm ( )
inline

Definition at line 74 of file RooAbsCachedPdf.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

◆ _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.

◆ _owner

RooAbsArg* RooAbsCacheElement::_owner
protectedinherited

! Pointer to owning RooAbsArg

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


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