Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooHelpers::DisableCachingRAII Struct Reference

Disable all caches for sub-branches in an expression tree.

This is helpful when an expression with cached sub-branches needs to be integrated numerically.

Definition at line 102 of file RooHelpers.h.

Public Member Functions

 DisableCachingRAII (bool oldState)
 Inhibit all dirty-state propagation, and assume every node as dirty.
 
 ~DisableCachingRAII ()
 

Public Attributes

bool _oldState
 

#include <RooHelpers.h>

Constructor & Destructor Documentation

◆ DisableCachingRAII()

RooHelpers::DisableCachingRAII::DisableCachingRAII ( bool  oldState)
inline

Inhibit all dirty-state propagation, and assume every node as dirty.

Parameters
[in]oldStateRestore this state when going out of scope.

Definition at line 105 of file RooHelpers.h.

◆ ~DisableCachingRAII()

RooHelpers::DisableCachingRAII::~DisableCachingRAII ( )
inline

Definition at line 110 of file RooHelpers.h.

Member Data Documentation

◆ _oldState

bool RooHelpers::DisableCachingRAII::_oldState

Definition at line 113 of file RooHelpers.h.

Collaboration diagram for RooHelpers::DisableCachingRAII:
[legend]

The documentation for this struct was generated from the following file: