47 _numerator(
"numerator",
"numerator", this, nr),
48 _denominator(
"denominator",
"denominator", this, dr)
55 _numerator(
"numerator",
"numerator", this, nr),
56 _denominator(
"denominator",
"denominator", this)
66 _numerator(
"numerator",
"numerator", this),
67 _denominator(
"denominator",
"denominator", this, dr)
77 _numerator(
"numerator",
"numerator", this),
78 _denominator(
"denominator",
"denominator", this)
90 _numerator(
"numerator",
"numerator", this),
91 _denominator(
"denominator",
"denominator", this)
108 _numerator(
"numerator", this, other._numerator),
109 _denominator(
"denominator", this, other._denominator)
124 {ctx.at(_numerator), ctx.at(_denominator)});
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
bool addOwnedComponents(const RooAbsCollection &comps)
Take ownership of the contents of 'comps'.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
A class to maintain the context for squashing of RooFit models into code.
std::string buildCall(std::string const &funcname, Args_t const &...args)
Build the code to call the function with name funcname, passing some arguments.
void addResult(RooAbsArg const *key, std::string const &value)
A function to save an expression that includes/depends on the result of the input node.
std::span< double > output()
RooBatchCompute::Config config(RooAbsArg const *arg) const
Represents the product of a given set of RooAbsReal objects.
Represents the ratio of two RooAbsReal objects.
void translate(RooFit::Detail::CodeSquashContext &ctx) const override
This function defines a translation for each RooAbsReal based object that can be used to express the ...
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
void doEval(RooFit::EvalContext &) const override
Evaluate in batch mode.
RooRealProxy _denominator
Variable that can be changed from the outside.
void compute(Config cfg, Computer comp, std::span< double > output, VarSpan vars, ArgSpan extraArgs={})
double ratio(double numerator, double denominator)