40 RooRealVar alpha(
"alpha",
"alpha", 5, 0.1, 10);
55 genpdf.plotOn(xframe);
66 RooRealVar mean2(
"mean2",
"mean^2", 10, 0, 200);
86 std::unique_ptr<RooFitResult> fitResult{g2.fitTo(*data2,
Save(),
PrintLevel(-1))};
95 TCanvas *
c =
new TCanvas(
"rf103_interprfuncs",
"rf103_interprfuncs", 800, 400);
98 gPad->SetLeftMargin(0.15);
102 gPad->SetLeftMargin(0.15);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
void Print(Option_t *options=nullptr) const override
This method must be overridden when a class wants to print itself.
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
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
A RooPlot is a plot frame and a container for graphics objects within that frame.
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
void Draw(Option_t *options=nullptr) override
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.
RooConstVar & RooConst(double val)
RooCmdArg Save(bool flag=true)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...