36 _pdf(
"pdf",
"pre-efficiency pdf", this,inPdf),
37 _eff(
"eff",
"efficiency function",this,inEff)
47 _pdf(
"pdf",this,other._pdf),
48 _eff(
"acc",this,other._eff)
67 const RooArgSet* auxProto,
bool verbose)
const
72 vars,prototype,auxProto,verbose) ;
Abstract base class for generator contexts of RooAbsPdf objects.
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold unbinned data.
Specialized generator context for p.d.fs represented by class RooEffProd, which are p....
The class RooEffProd implements the product of a PDF with an efficiency function.
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 ...
RooAbsGenContext * genContext(const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet *auxProto, bool verbose) const override
Return specialized generator context for RooEffProds that implements generation in a more efficient w...
RooRealProxy _pdf
Probability Density function.
RooRealProxy _eff
Efficiency function.
double evaluate() const override
Calculate and return 'raw' unnormalized value of p.d.f.
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.
const T & arg() const
Return reference to object held in proxy.
double effProd(double eff, double pdf)