55 TH1 *hh_pdf = model.createHistogram(
"x,y", 50, 50);
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");
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.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg Binning(const RooAbsBinning &binning)
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)