30 RooRealVar mean(
"mean",
"mean of gaussian", 1, -10, 10);
55 std::unique_ptr<RooDataSet>
data{gauss.generate(
x, 10000)};
60 data->plotOn(xframe2);
61 gauss.plotOn(xframe2);
74 TCanvas *
c =
new TCanvas(
"rf101_basics",
"rf101_basics", 800, 400);
c->Divide(2);
76 gPad->SetLeftMargin(0.15);
80 gPad->SetLeftMargin(0.15);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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 PrintLevel(Int_t code)
RooCmdArg LineColor(Color_t color)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...