57 RooPlot* frame =
x.frame(
Bins(40),
Title(
"P.d.f with visualized 1-sigma error band")) ;
107 RooPlot* frame2 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from (m,m2)")) ;
123 model.plotOn(frame2) ;
129 RooPlot* frame3 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from (s,s2)")) ;
135 model.plotOn(frame3) ;
141 RooPlot* frame4 =
x.frame(
Bins(40),
Title(
"Visualization of 2-sigma partial error from fsig")) ;
147 model.plotOn(frame4) ;
153 TCanvas*
c =
new TCanvas(
"rf610_visualerror",
"rf610_visualerror",800,800) ;
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.
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 fundamental (non-derived) real valued object.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
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