13#ifndef RooFit_Detail_NormalizationHelpers_h
14#define RooFit_Detail_NormalizationHelpers_h
18#include <unordered_map>
38 return static_cast<T *
>(
compileImpl(arg, owner, normSet));
73 std::unique_ptr<RooAbsArg> head = arg.compileForNormSet(normSet, ctx);
74 return std::unique_ptr<T>{
static_cast<T *
>(head.release())};
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
void setBinnedLikelihoodMode(bool flag)
void markAsCompiled(RooAbsArg &arg) const
std::unordered_map< RooAbsArg *, RooAbsArg * > _replacements
bool binnedLikelihoodMode() const
void compileServers(RooAbsArg &arg, RooArgSet const &normSet)
RooAbsArg * find(RooAbsArg &arg) const
RooAbsArg * compileImpl(RooAbsArg &arg, RooAbsArg &owner, RooArgSet const &normSet)
std::unordered_map< TNamed const *, RooAbsArg * > _clonedArgsSet
bool _binnedLikelihoodMode
bool isMarkedAsCompiled(RooAbsArg const &arg) const
RooArgSet const & _topLevelNormSet
bool likelihoodMode() const
void compileServer(RooAbsArg &server, RooAbsArg &arg, RooArgSet const &normSet)
void setLikelihoodMode(bool flag)
T * compile(T &arg, RooAbsArg &owner, RooArgSet const &normSet)
void setBinWidthFuncFlag(bool flag)
bool binWidthFuncFlag() const
The TNamed class is the base class for all named ROOT classes.
std::unique_ptr< T > compileForNormSet(T const &arg, RooArgSet const &normSet)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...