41      w->factory(
"Gaussian::sig1(x[-10,10],mean[5,0,10],0.5)");
 
   42      w->factory(
"Gaussian::sig2(x,mean,1)");
 
   43      w->factory(
"Chebychev::bkg(x,{a0[0.5,0.,1],a1[0.2,0.,1.]})");
 
   44      w->factory(
"SUM::sig(sig1frac[0.8,0.,1.]*sig1,sig2)");
 
   45      w->factory(
"SUM::model(bkgfrac[0.5,0.,1.]*bkg,sig)");
 
   53      w->factory(
"SUM::model(bkgfrac[0.5,0.,1.]*Chebychev::bkg(x[-10,10],{a0[0.5,0.,1],a1[0.2,0.,1.]})," 
   54                 "SUM(sig1frac[0.8,0.,1.]*Gaussian(x,mean[5,0,10],0.5), Gaussian(x,mean,1)))");
 
   68   std::unique_ptr<RooDataSet> 
data{
w->pdf(
"model")->generate(*
w->var(
"x"), 1000)};
 
   73   w->factory(
"KeysPdf::k(x,data,NoMirror,0.2)");
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Persistable container for RooFit projects.
RooCmdArg Rename(const char *suffix)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...