39   RooRealVar mean(
"mean", 
"mean of gaussians", 5, 0, 10);
 
   40   RooRealVar sigma1(
"sigma1", 
"width of gaussians", 0.5);
 
   41   RooRealVar sigma2(
"sigma2", 
"width of gaussians", 1);
 
   43   RooGaussian sig1(
"sig1", 
"Signal component 1", 
x, mean, sigma1);
 
   44   RooGaussian sig2(
"sig2", 
"Signal component 2", 
x, mean, sigma2);
 
   52   RooRealVar sig1frac(
"sig1frac", 
"fraction of component 1 in signal", 0.8, 0., 1.);
 
   56   RooRealVar nbkg(
"nbkg", 
"number of background events,", 150, 0, 1000);
 
   57   RooRealVar nsig(
"nsig", 
"number of signal events", 150, 0, 1000);
 
  112   gPad->SetLeftMargin(0.15);
 
  116   gPad->SetLeftMargin(0.15);
 
  120   gPad->SetLeftMargin(0.15);
 
  124   gPad->SetLeftMargin(0.15);
 
  128   gPad->SetLeftMargin(0.15);
 
  130   hh_cor_a0_s1f->
Draw(
"box");
 
  132   gPad->SetLeftMargin(0.15);
 
  134   hh_cor_a0_a1->
Draw(
"box");
 
  136   gPad->SetLeftMargin(0.15);
 
  138   corrHist000->
Draw(
"colz");
 
  140   gPad->SetLeftMargin(0.15);
 
  142   corrHist127->
Draw(
"colz");
 
  144   gPad->SetLeftMargin(0.15);
 
  146   corrHist953->
Draw(
"colz");
 
R__EXTERN TStyle * gStyle
 
TH1 * createHistogram(const char *name, const RooAbsRealLValue &xvar, 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
Calls createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooLinkedList& argList) c...
 
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.
 
TH2 * correlationHist(const char *name="correlation_matrix") const
Return TH2D of correlation matrix.
 
RooMCStudy is a helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies,...
 
RooPlot * plotNLL(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())
Plot the distribution of the -log(L) values on a newly created frame.
 
const RooFitResult * fitResult(Int_t sampleNum) const
Return the RooFitResult of the fit with the given run number.
 
RooPlot * plotError(const RooRealVar ¶m, 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())
Plot the distribution of the fit errors for the specified parameter on a newly created frame.
 
const RooDataSet & fitParDataSet()
Return a RooDataSet containing the post-fit parameters of each toy cycle.
 
bool generateAndFit(Int_t nSamples, Int_t nEvtPerSample=0, bool keepGenData=false, const char *asciiFilePat=nullptr)
Generate and fit 'nSamples' samples of 'nEvtPerSample' events.
 
RooPlot * plotParam(const RooRealVar ¶m, 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())
Plot the distribution of the fitted value of the given parameter on a newly created frame.
 
RooPlot * plotPull(const RooRealVar ¶m, const RooCmdArg &arg1, 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())
Plot the distribution of pull values for the specified parameter on a newly created frame.
 
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.
 
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
 
TH1 is the base class of all histogram classes in ROOT.
 
void Draw(Option_t *option="") override
Draw this histogram with options.
 
Service class for 2-D histogram classes.
 
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
 
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
 
RooCmdArg FitGauss(bool flag=true)
 
RooCmdArg FitOptions(const RooCmdArg &arg1, 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())
 
RooCmdArg Silence(bool flag=true)
 
RooCmdArg Binned(bool flag=true)
 
RooCmdArg Bins(Int_t nbin)
 
RooCmdArg Save(bool flag=true)
 
RooCmdArg PrintEvalErrors(Int_t numErrors)
 
RooCmdArg Extended(bool flag=true)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...