Multidimensional models: multi-dimensional pdfs through composition e.g. 
substituting a pdf parameter with a function that depends on other observables
pdf = gauss(x,f(y),s) with f(y) = a0 + a1*y
 
  
 
{
   
   
 
   
 
   
 
   
 
   
   
 
   
 
   
   model.plotOn(xframe);
 
   
   model.plotOn(yframe);
 
   
   TH1 *hh_model = model.createHistogram(
"hh_model", 
x, Binning(50), YVar(
y, Binning(50)));
 
 
   
   TCanvas *
c = 
new TCanvas(
"rf301_composition", 
"rf301_composition", 1200, 400);
 
   gPad->SetLeftMargin(0.15);
 
   gPad->SetLeftMargin(0.15);
 
   gPad->SetLeftMargin(0.20);
 
}
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.
 
RooDataSet is a container class to hold unbinned data.
 
A RooPlot is a 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.
 
Class RooPolyVar is a RooAbsReal implementing a polynomial in terms of a list of RooAbsReal coefficie...
 
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 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.
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
   
[#0] WARNING:InputArguments -- The parameter 'sigma' with range [-1e+30, 1e+30] of the RooGaussian 'model' exceeds the safe range of (0, inf). Advise to limit its range.
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) plot on x integrates over variables (y)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[y]_Norm[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) plot on y integrates over variables (x)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
[#1] INFO:NumericIntegration -- RooRealIntegral::init(model_Int[x,y]) using numeric integrator RooIntegrator1D to calculate Int(y)
- Date
 - July 2008 
 
- Author
 - Wouter Verkerke 
 
Definition in file rf301_composition.C.