Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::Detail::CompileContext Class Reference

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 setBinnedLikelihoodMode (bool flag)
 
void setBinWidthFuncFlag (bool flag)
 
void setLikelihoodMode (bool flag)
 

Private Member Functions

void add (RooAbsArg &arg)
 
RooAbsArgcompileImpl (RooAbsArg &arg, RooAbsArg &owner, RooArgSet const &normSet)
 
RooAbsArgfind (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>

Constructor & Destructor Documentation

◆ CompileContext()

RooFit::Detail::CompileContext::CompileContext ( RooArgSet const &  topLevelNormSet)

Definition at line 21 of file NormalizationHelpers.cxx.

◆ ~CompileContext()

RooFit::Detail::CompileContext::~CompileContext ( )

Definition at line 23 of file NormalizationHelpers.cxx.

Member Function Documentation

◆ add()

void RooFit::Detail::CompileContext::add ( RooAbsArg arg)
private

Definition at line 25 of file NormalizationHelpers.cxx.

◆ binnedLikelihoodMode()

bool RooFit::Detail::CompileContext::binnedLikelihoodMode ( ) const
inline

Definition at line 50 of file NormalizationHelpers.h.

◆ binWidthFuncFlag()

bool RooFit::Detail::CompileContext::binWidthFuncFlag ( ) const
inline

Definition at line 52 of file NormalizationHelpers.h.

◆ compile()

template<class T >
T * RooFit::Detail::CompileContext::compile ( T &  arg,
RooAbsArg owner,
RooArgSet const &  normSet 
)
inline

Definition at line 36 of file NormalizationHelpers.h.

◆ compileImpl()

RooAbsArg * RooFit::Detail::CompileContext::compileImpl ( RooAbsArg arg,
RooAbsArg owner,
RooArgSet const &  normSet 
)
private

Definition at line 53 of file NormalizationHelpers.cxx.

◆ compileServer()

void RooFit::Detail::CompileContext::compileServer ( RooAbsArg server,
RooAbsArg arg,
RooArgSet const &  normSet 
)

Definition at line 47 of file NormalizationHelpers.cxx.

◆ compileServers()

void RooFit::Detail::CompileContext::compileServers ( RooAbsArg arg,
RooArgSet const &  normSet 
)

Definition at line 39 of file NormalizationHelpers.cxx.

◆ find()

RooAbsArg * RooFit::Detail::CompileContext::find ( RooAbsArg arg) const
private

Definition at line 30 of file NormalizationHelpers.cxx.

◆ isMarkedAsCompiled()

bool RooFit::Detail::CompileContext::isMarkedAsCompiled ( RooAbsArg const &  arg) const
private

Definition at line 79 of file NormalizationHelpers.cxx.

◆ likelihoodMode()

bool RooFit::Detail::CompileContext::likelihoodMode ( ) const
inline

Definition at line 48 of file NormalizationHelpers.h.

◆ markAsCompiled()

void RooFit::Detail::CompileContext::markAsCompiled ( RooAbsArg arg) const

Definition at line 74 of file NormalizationHelpers.cxx.

◆ setBinnedLikelihoodMode()

void RooFit::Detail::CompileContext::setBinnedLikelihoodMode ( bool  flag)
inline

Definition at line 49 of file NormalizationHelpers.h.

◆ setBinWidthFuncFlag()

void RooFit::Detail::CompileContext::setBinWidthFuncFlag ( bool  flag)
inline

Definition at line 51 of file NormalizationHelpers.h.

◆ setLikelihoodMode()

void RooFit::Detail::CompileContext::setLikelihoodMode ( bool  flag)
inline

Definition at line 47 of file NormalizationHelpers.h.

Member Data Documentation

◆ _binnedLikelihoodMode

bool RooFit::Detail::CompileContext::_binnedLikelihoodMode = false
private

Definition at line 65 of file NormalizationHelpers.h.

◆ _binWidthFuncFlag

bool RooFit::Detail::CompileContext::_binWidthFuncFlag = false
private

Definition at line 66 of file NormalizationHelpers.h.

◆ _clonedArgsSet

std::unordered_map<TNamed const *, RooAbsArg *> RooFit::Detail::CompileContext::_clonedArgsSet
private

Definition at line 61 of file NormalizationHelpers.h.

◆ _likelihoodMode

bool RooFit::Detail::CompileContext::_likelihoodMode = false
private

Definition at line 64 of file NormalizationHelpers.h.

◆ _replacements

std::unordered_map<RooAbsArg *, RooAbsArg *> RooFit::Detail::CompileContext::_replacements
private

Definition at line 62 of file NormalizationHelpers.h.

◆ _topLevelNormSet

RooArgSet const& RooFit::Detail::CompileContext::_topLevelNormSet
private

Definition at line 60 of file NormalizationHelpers.h.

Libraries for RooFit::Detail::CompileContext:

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