Definition at line 29 of file NormalizationHelpers.h.
Public Member Functions | |
| CompileContext (RooArgSet const &topLevelNormSet) | |
| ~CompileContext () | |
| bool | binnedLikelihoodMode () const |
| bool | binWidthFuncFlag () const |
| template<class T > | |
| T * | compile (T &arg, RooAbsArg &owner, RooArgSet const &normSet) |
| void | compileServer (RooAbsArg &server, RooAbsArg &arg, RooArgSet const &normSet) |
| void | compileServers (RooAbsArg &arg, RooArgSet const &normSet) |
| bool | likelihoodMode () const |
| void | markAsCompiled (RooAbsArg &arg) const |
| void | markSubtreeAsCompiled (RooAbsArg &arg) const |
Mark arg and every branch node reachable through its server tree as already compiled. | |
| void | setBinnedLikelihoodMode (bool flag) |
| void | setBinWidthFuncFlag (bool flag) |
| void | setLikelihoodMode (bool flag) |
Private Member Functions | |
| void | add (RooAbsArg &arg) |
| RooAbsArg * | compileImpl (RooAbsArg &arg, RooAbsArg &owner, RooArgSet const &normSet) |
| RooAbsArg * | find (RooAbsArg &arg) const |
| bool | isMarkedAsCompiled (RooAbsArg const &arg) const |
Private Attributes | |
| bool | _binnedLikelihoodMode = false |
| bool | _binWidthFuncFlag = false |
| std::unordered_map< TNamed const *, RooAbsArg * > | _clonedArgsSet |
| bool | _likelihoodMode = false |
| std::unordered_map< RooAbsArg *, RooAbsArg * > | _replacements |
| RooArgSet const & | _topLevelNormSet |
#include <RooFit/Detail/NormalizationHelpers.h>
Definition at line 21 of file NormalizationHelpers.cxx.
| RooFit::Detail::CompileContext::~CompileContext | ( | ) |
Definition at line 23 of file NormalizationHelpers.cxx.
|
private |
Definition at line 25 of file NormalizationHelpers.cxx.
|
inline |
Definition at line 51 of file NormalizationHelpers.h.
|
inline |
Definition at line 53 of file NormalizationHelpers.h.
|
inline |
Definition at line 36 of file NormalizationHelpers.h.
|
private |
Definition at line 53 of file NormalizationHelpers.cxx.
| void RooFit::Detail::CompileContext::compileServer | ( | RooAbsArg & | server, |
| RooAbsArg & | arg, | ||
| RooArgSet const & | normSet ) |
Definition at line 47 of file NormalizationHelpers.cxx.
Definition at line 39 of file NormalizationHelpers.cxx.
Definition at line 30 of file NormalizationHelpers.cxx.
Definition at line 94 of file NormalizationHelpers.cxx.
|
inline |
Definition at line 49 of file NormalizationHelpers.h.
| void RooFit::Detail::CompileContext::markAsCompiled | ( | RooAbsArg & | arg | ) | const |
Definition at line 74 of file NormalizationHelpers.cxx.
| void RooFit::Detail::CompileContext::markSubtreeAsCompiled | ( | RooAbsArg & | arg | ) | const |
Mark arg and every branch node reachable through its server tree as already compiled.
Use this after assembling or cloning a sub-graph yourself inside compileForNormSet: it prevents a follow-up compileServers call from re-cloning any of those internal nodes, while still letting the recursive descent reach the genuine leaves (fundamental observables and parameters) at the bottom of the tree.
Definition at line 85 of file NormalizationHelpers.cxx.
|
inline |
Definition at line 50 of file NormalizationHelpers.h.
|
inline |
Definition at line 52 of file NormalizationHelpers.h.
|
inline |
Definition at line 48 of file NormalizationHelpers.h.
Definition at line 66 of file NormalizationHelpers.h.
Definition at line 67 of file NormalizationHelpers.h.
|
private |
Definition at line 62 of file NormalizationHelpers.h.
Definition at line 65 of file NormalizationHelpers.h.
Definition at line 63 of file NormalizationHelpers.h.
Definition at line 61 of file NormalizationHelpers.h.