'MULTIDIMENSIONAL MODELS' RooFit tutorial macro #308
Examples on normalization of p.d.f.s, integration of p.d.fs, construction of cumulative distribution functions from p.d.f.s in two dimensions
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf308_normintegration2d.C...
void rf308_normintegration2d()
{
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) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf308_normintegration2d.C.