52 RooPlot *frame =
x.frame(
Bins(40),
Title(
"P.d.f with visualized 1-sigma error band"));
102 RooPlot *frame2 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from (m,m2)"));
118 model.plotOn(frame2);
123 RooPlot *frame3 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from (s,s2)"));
129 model.plotOn(frame3);
134 RooPlot *frame4 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from fsig"));
140 model.plotOn(frame4);
144 TCanvas *
c =
new TCanvas(
"rf610_visualerror",
"rf610_visualerror", 800, 800);
147 gPad->SetLeftMargin(0.15);
151 gPad->SetLeftMargin(0.15);
155 gPad->SetLeftMargin(0.15);
159 gPad->SetLeftMargin(0.15);
RooAbsData is the common abstract base class for binned and unbinned datasets.
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.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
A RooPlot is a plot frame and a container for graphics objects within that frame.
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
virtual void Draw(Option_t *options=0)
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.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg VisualizeError(const RooDataSet ¶mData, Double_t Z=1)
RooCmdArg DrawOption(const char *opt)
RooCmdArg FillColor(Color_t color)
RooCmdArg LineWidth(Width_t width)
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg LineColor(Color_t color)
RooCmdArg Bins(Int_t nbin)
RooCmdArg LineStyle(Style_t style)
static constexpr double s
static constexpr double m2