63 RooPlot* frame2 = t.frame(
Title(
"Pdf with and without efficiency")) ;
66 modelEff.plotOn(frame2) ;
78 modelEff.fitTo(*
data) ;
81 RooPlot* frame3 = t.frame(
Title(
"Fitted pdf with efficiency")) ;
82 data->plotOn(frame3) ;
83 modelEff.plotOn(frame3) ;
86 TCanvas*
c =
new TCanvas(
"rf703_effpdfprod",
"rf703_effpdfprod",1200,400) ;
RooDataSet is a container class to hold unbinned data.
A RooPlot is a plot frame and a container for graphics objects within that frame.
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 LineColor(Color_t color)
RooCmdArg LineStyle(Style_t style)