31void rf503_wspaceread()
37 TFile *
f =
new TFile(
"rf502_workspace.root") ;
63 RooPlot* xframe =
x->frame(
Title(
"Model and data read from workspace")) ;
64 data->plotOn(xframe) ;
65 model->plotOn(xframe) ;
76 new TCanvas(
"rf503_wspaceread",
"rf503_wspaceread",600,600) ;
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
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.
The RooWorkspace is a persistable container for RooFit projects.
RooAbsData * data(const char *name) const
Retrieve dataset (binned or unbinned) with given name. A null pointer is returned if not found.
RooRealVar * var(const char *name) const
Retrieve real-valued variable (RooRealVar) with given name. A null pointer is returned if not found.
RooAbsPdf * pdf(const char *name) const
Retrieve p.d.f (RooAbsPdf) with given name. A null pointer is returned if not found.
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 Components(const RooArgSet &compSet)
RooCmdArg LineStyle(Style_t style)