57 TH1 *hh_pdf = model.createHistogram(
"x,y", 50, 50);
84 gPad->SetLeftMargin(0.15);
86 hh_data->
Draw(
"lego");
88 gPad->SetLeftMargin(0.20);
92 gPad->SetLeftMargin(0.15);
96 gPad->SetLeftMargin(0.15);
98 hh_pdf->
Draw(
"cont3");
103 gPad->SetLeftMargin(0.15);
105 hh_data3->
Draw(
"lego");
107 gPad->SetLeftMargin(0.15);
109 hh_pdf3->
Draw(
"iso");
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
TH2F * createHistogram(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2, const char *cuts="", const char *name="hist") const
Create a TH2F histogram of the distribution of the specified variable using this dataset.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
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.
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.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooConstVar & RooConst(Double_t val)
RooCmdArg Binning(const RooAbsBinning &binning)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...