54   w->loadSnapshot(
"reference_fit");
 
   56   w->loadSnapshot(
"reference_fit_bkgonly");
 
   60   new TCanvas(
"rf510_wsnamedsets", 
"rf503_wsnamedsets", 600, 600);
 
   61   gPad->SetLeftMargin(0.15);
 
   81   RooRealVar mean(
"mean", 
"mean of gaussians", 5, 0, 10);
 
   82   RooRealVar sigma1(
"sigma1", 
"width of gaussians", 0.5);
 
   83   RooRealVar sigma2(
"sigma2", 
"width of gaussians", 1);
 
   85   RooGaussian sig1(
"sig1", 
"Signal component 1", 
x, mean, sigma1);
 
   86   RooGaussian sig2(
"sig2", 
"Signal component 2", 
x, mean, sigma2);
 
   94   RooRealVar sig1frac(
"sig1frac", 
"fraction of component 1 in signal", 0.8, 0., 1.);
 
   98   RooRealVar bkgfrac(
"bkgfrac", 
"fraction of background", 0.5, 0., 1.);
 
  115   w.defineSet(
"parameters", *params);
 
  116   w.defineSet(
"observables", 
x);
 
  136   w.saveSnapshot(
"reference_fit", *params, 
true);
 
  142   bkgfrac.setConstant(
true);
 
  143   bkgfrac.removeError();
 
  146   w.saveSnapshot(
"reference_fit_bkgonly", *params, 
true);
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
 
RooFit::OwningPtr< RooDataSet > generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none())
See RooAbsPdf::generate(const RooArgSet&,const RooCmdArg&,const RooCmdArg&,const RooCmdArg&,...
 
virtual RooFit::OwningPtr< RooFitResult > fitTo(RooAbsData &data, const RooLinkedList &cmdList={})
Fit PDF to given dataset.
 
RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none(), const RooCmdArg &arg9=RooCmdArg::none(), const RooCmdArg &arg10=RooCmdArg::none()) const override
Helper calling plotOn(RooPlot*, RooLinkedList&) const.
 
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
 
RooArgList is a container object that can hold multiple RooAbsArg objects.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
Chebychev polynomial p.d.f.
 
RooDataSet is a container class to hold unbinned data.
 
A RooPlot is a plot frame and a container for graphics objects within that frame.
 
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
 
RooRealVar represents a variable that can be changed from the outside.
 
The RooWorkspace is a persistable container for RooFit projects.
 
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
 
RooCmdArg LineColor(Color_t color)
 
RooCmdArg LineStyle(Style_t style)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...