Multidimensional models: normalization and integration of pdfs, construction of cumulative distribution functions from pdfs in two dimensions
␛[1mRooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby␛[0m
Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University
All rights reserved, please read http://roofit.sourceforge.net/license.txt
gxy = 0.485672
gx_Norm[x,y] = 0.0129332
gx_Int[x,y] = 37.5523
gx_Norm[x] = 0.106896
gx_Norm[y] = 0.120989
[#1] INFO:Eval -- RooRealVar::setRange(x) new range named 'signal' created with bounds [-5,5]
[#1] INFO:Eval -- RooRealVar::setRange(y) new range named 'signal' created with bounds [-3,3]
gx_Int[x,y|signal]_Norm[x,y] = 0.572035
[#0] WARNING:InputArguments -- RooAbsReal::createHistogram(gxy_cdf_Int[x_prime,y_prime|CDF]_Norm[x_prime,y_prime]) WARNING extended mode requested for a non-pdf object, ignored
{
cout << "gxy = " << gxy.getVal() << endl;
cout << "gx_Norm[x,y] = " << gxy.getVal(&nset_xy) << endl;
cout <<
"gx_Int[x,y] = " << igxy->
getVal() << endl;
cout << "gx_Norm[x] = " << gxy.getVal(&nset_x) << endl;
cout << "gx_Norm[y] = " << gxy.getVal(&nset_y) << endl;
x.setRange(
"signal", -5, 5);
y.setRange(
"signal", -3, 3);
cout <<
"gx_Int[x,y|signal]_Norm[x,y] = " << igxy_sig->
getVal() << endl;
new TCanvas(
"rf308_normintegration2d",
"rf308_normintegration2d", 600, 600);
gPad->SetLeftMargin(0.15);
}
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
TH1 * createHistogram(const char *varNameList, Int_t xbins=0, Int_t ybins=0, Int_t zbins=0) const
Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function for the variables w...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsReal * createIntegral(const RooArgSet &iset, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Create an object that represents the integral of the function over one or more observables listed in ...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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 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.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
- Date
- July 2008
- Author
- Wouter Verkerke
Definition in file rf308_normintegration2d.C.