39 RooRealVar alpha(
"alpha",
"alpha", 5, 0.1, 10);
46 std::unique_ptr<RooDataSet>
data{genpdf.generate(
x, 10000)};
54 genpdf.plotOn(xframe);
65 RooRealVar mean2(
"mean2",
"mean^2", 10, 0, 200);
79 std::unique_ptr<RooDataSet> data2{g1.generate(
x, 1000)};
85 std::unique_ptr<RooFitResult> fitResult{g2.fitTo(*data2,
Save(),
PrintLevel(-1))};
90 data2->plotOn(xframe2);
94 TCanvas *
c =
new TCanvas(
"rf103_interprfuncs",
"rf103_interprfuncs", 800, 400);
97 gPad->SetLeftMargin(0.15);
101 gPad->SetLeftMargin(0.15);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Implementation of a probability density function that takes a RooArgList of servers and a C++ express...
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.
Variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
RooCmdArg Save(bool flag=true)
RooCmdArg PrintLevel(Int_t code)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...