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

Definition at line 106 of file RooProdPdf.h.

Public Types

enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }

Public Member Functions

 CacheElem ()
RooArgList containedArgs (Action) override
 Return RooAbsArg components contained in the cache.
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.
void printCompactTreeHook (std::ostream &, const char *, Int_t, Int_t) override
 Hook function to print cache contents in tree printing of RooProdPdf.
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)
void writeToStream (std::ostream &os) const

Static Public Member Functions

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

Public Attributes

RooArgList _denList
bool _isRearranged
std::vector< std::unique_ptr< RooArgSet > > _normList
RooArgList _numList
RooArgList _ownedList
RooArgList _partList
std::unique_ptr< RooAbsReal_rearrangedDen {}
std::unique_ptr< RooAbsReal_rearrangedNum {}

Protected Attributes

RooAbsArg_owner
 ! Pointer to owning RooAbsArg

#include <RooProdPdf.h>

Inheritance diagram for RooProdPdf::CacheElem:
RooAbsCacheElement

Member Enumeration Documentation

◆ Action

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

Constructor & Destructor Documentation

◆ CacheElem()

RooProdPdf::CacheElem::CacheElem ( )
inline

Definition at line 108 of file RooProdPdf.h.

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 RooProdPdf::CacheElem::containedArgs ( Action )
overridevirtual

Return RooAbsArg components contained in the cache.

Implements RooAbsCacheElement.

Definition at line 1648 of file RooProdPdf.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.

◆ 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 RooProdPdf::CacheElem::printCompactTreeHook ( std::ostream & os,
const char * indent,
Int_t curElem,
Int_t maxElem )
overridevirtual

Hook function to print cache contents in tree printing of RooProdPdf.

Reimplemented from RooAbsCacheElement.

Definition at line 1665 of file RooProdPdf.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.

◆ writeToStream()

void RooProdPdf::CacheElem::writeToStream ( std::ostream & os) const

Definition at line 2077 of file RooProdPdf.cxx.

Member Data Documentation

◆ _denList

RooArgList RooProdPdf::CacheElem::_denList

Definition at line 112 of file RooProdPdf.h.

◆ _isRearranged

bool RooProdPdf::CacheElem::_isRearranged

Definition at line 115 of file RooProdPdf.h.

◆ _normList

std::vector<std::unique_ptr<RooArgSet> > RooProdPdf::CacheElem::_normList

Definition at line 114 of file RooProdPdf.h.

◆ _numList

RooArgList RooProdPdf::CacheElem::_numList

Definition at line 111 of file RooProdPdf.h.

◆ _ownedList

RooArgList RooProdPdf::CacheElem::_ownedList

Definition at line 113 of file RooProdPdf.h.

◆ _owner

RooAbsArg* RooAbsCacheElement::_owner
protectedinherited

! Pointer to owning RooAbsArg

Definition at line 53 of file RooAbsCacheElement.h.

◆ _partList

RooArgList RooProdPdf::CacheElem::_partList

Definition at line 110 of file RooProdPdf.h.

◆ _rearrangedDen

std::unique_ptr<RooAbsReal> RooProdPdf::CacheElem::_rearrangedDen {}

Definition at line 117 of file RooProdPdf.h.

◆ _rearrangedNum

std::unique_ptr<RooAbsReal> RooProdPdf::CacheElem::_rearrangedNum {}

Definition at line 116 of file RooProdPdf.h.


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