47 RooGaussian fconstraint(
"fconstraint",
"fconstraint",
f, 0.7, 0.1);
61 mcs.generateAndFit(500, 2000);
64 TH1 *h_f_gen = mcs.fitParDataSet().createHistogram(
"f_gen",
AutoBinning(40));
68 frame1->
SetTitle(
"Distribution of fitted f values");
72 frame1->
SetTitle(
"Distribution of f pull values");
74 TCanvas *
c =
new TCanvas(
"rf804_mcstudy_constr",
"rf804_mcstudy_constr", 1200, 400);
77 gPad->SetLeftMargin(0.15);
81 gPad->SetLeftMargin(0.15);
85 gPad->SetLeftMargin(0.15);
winID h TVirtualViewer3D TVirtualGLPainter p
Efficient implementation of a sum of PDFs of the form.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Helper class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies, that involve fittin...
Plot frame and a container for graphics objects within that frame.
void SetTitle(const char *name) override
Set the title of the RooPlot to 'title'.
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
RooPolynomial implements a polynomial p.d.f of the form.
Efficient implementation of a product of PDFs of the form.
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.
RooCmdArg FitGauss(bool flag=true)
RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1)
RooCmdArg Silence(bool flag=true)
RooCmdArg FitOptions(const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
RooCmdArg Binned(bool flag=true)
RooCmdArg Bins(Int_t nbin)
RooCmdArg Constrain(const RooArgSet ¶ms)
RooCmdArg PrintLevel(Int_t code)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
static uint64_t sum(uint64_t i)