26 void rf610_visualerror()
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) ;
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...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooCmdArg DrawOption(const char *opt)
virtual RooPlot * plotOn(RooPlot *frame, 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
Plot dataset on specified frame.
RooCmdArg LineColor(Color_t color)
RooCmdArg VisualizeError(const RooDataSet ¶mData, Double_t Z=1)
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
RooCmdArg Title(const char *name)
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
RooCmdArg LineStyle(Style_t style)
RooRealVar represents a fundamental (non-derived) real valued object.
RooAbsData is the common abstract base class for binned and unbinned datasets.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooCmdArg FillColor(Color_t color)
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg LineWidth(Width_t width)
RooCmdArg Save(Bool_t flag=kTRUE)
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
RooCmdArg Bins(Int_t nbin)
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.