Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RooAbsPdf::CacheElem Class Reference

Definition at line 316 of file RooAbsPdf.h.

Public Types

enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }

Public Member Functions

 CacheElem (RooAbsReal &norm)
 ~CacheElem () override
 Destructor of normalization cache element.
RooArgList containedArgs (Action) override
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 void printCompactTreeHook (std::ostream &, const char *, Int_t curElem, Int_t totElem)
 Hook function to print cache guts in tree printing mode of RooAbsArgs.
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)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Public Attributes

std::unique_ptr< RooAbsReal_norm

Protected Attributes

RooAbsArg_owner
 ! Pointer to owning RooAbsArg

#include <RooAbsPdf.h>

Inheritance diagram for RooAbsPdf::CacheElem:
RooAbsCacheElement

Member Enumeration Documentation

◆ Action

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

Constructor & Destructor Documentation

◆ CacheElem()

RooAbsPdf::CacheElem::CacheElem ( RooAbsReal & norm)
inline

Definition at line 318 of file RooAbsPdf.h.

◆ ~CacheElem()

RooAbsPdf::CacheElem::~CacheElem ( )
override

Destructor of normalization cache element.

If this element provides the 'current' normalization stored in RooAbsPdf::_norm zero _norm pointer here before object pointed to is deleted here

Definition at line 2430 of file RooAbsPdf.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 RooAbsPdf::CacheElem::containedArgs ( Action )
inlineoverridevirtual

Implements RooAbsCacheElement.

Definition at line 320 of file RooAbsPdf.h.

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

◆ IsA()

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

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

◆ printCompactTreeHook()

void RooAbsCacheElement::printCompactTreeHook ( std::ostream & ,
const char * ,
Int_t curElem,
Int_t totElem )
virtualinherited

Hook function to print cache guts in tree printing mode of RooAbsArgs.

Reimplemented in RooAbsCachedPdf::PdfCacheElem, RooAbsCachedReal::FuncCacheElem, RooProdPdf::CacheElem, and RooProjectedPdf::CacheElem.

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

◆ 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

◆ _norm

std::unique_ptr<RooAbsReal> RooAbsPdf::CacheElem::_norm

Definition at line 321 of file RooAbsPdf.h.

◆ _owner

RooAbsArg* RooAbsCacheElement::_owner
protectedinherited

! Pointer to owning RooAbsArg

Definition at line 53 of file RooAbsCacheElement.h.


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