|
ROOT
Reference Guide |
|
Go to the documentation of this file.
27 void rf804_mcstudy_constr()
62 mcs.generateAndFit(500, 2000);
65 TH1 *h_f_gen = mcs.fitParDataSet().createHistogram(
"f_gen", -40);
69 frame1->
SetTitle(
"Distribution of fitted f values");
73 frame1->
SetTitle(
"Distribution of f pull values");
75 TCanvas *
c =
new TCanvas(
"rf804_mcstudy_constr",
"rf804_mcstudy_constr", 1200, 400);
78 gPad->SetLeftMargin(0.15);
82 gPad->SetLeftMargin(0.15);
86 gPad->SetLeftMargin(0.15);
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooCmdArg Bins(Int_t nbin)
RooCmdArg PrintLevel(Int_t code)
RooMCStudy is a helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies,...
static uint64_t sum(uint64_t i)
static constexpr double s
RooCmdArg FitOptions(const char *opts)
RooCmdArg FitGauss(Bool_t flag=kTRUE)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooPolynomial implements a polynomial p.d.f of the form.
RooCmdArg Constrain(const RooArgSet ¶ms)
A RooPlot is a plot frame and a container for graphics objects within that frame.
RooCmdArg Binned(Bool_t flag=kTRUE)
void SetTitle(const char *name)
Set the title of the RooPlot to 'title'.
TH1 is the base class of all histogramm classes in ROOT.
RooCmdArg Silence(Bool_t flag=kTRUE)
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
RooRealVar represents a variable that can be changed from the outside.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
RooConstVar & RooConst(Double_t val)