45 std::unique_ptr<RooDataSet>
data{model.generate({
x,
y}, 10000)};
55 TH1 *hh_pdf = model.createHistogram(
"x,y", 50, 50);
67 std::unique_ptr<RooDataSet> data3{model3.generate({
x,
y, z}, 10000)};
82 gPad->SetLeftMargin(0.15);
84 hh_data->
Draw(
"lego");
86 gPad->SetLeftMargin(0.20);
90 gPad->SetLeftMargin(0.15);
94 gPad->SetLeftMargin(0.15);
96 hh_pdf->
Draw(
"cont3");
101 gPad->SetLeftMargin(0.15);
103 hh_data3->
Draw(
"lego");
105 gPad->SetLeftMargin(0.15);
107 hh_pdf3->
Draw(
"iso");
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.
Efficient implementation of a product of PDFs of the form.
Variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
RooCmdArg Binning(const RooAbsBinning &binning)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...