'MULTIDIMENSIONAL MODELS' RooFit tutorial macro #305
Multi-dimensional p.d.f.s with conditional p.d.fs in product
pdf = gauss(x,f(y),sx | y ) * gauss(y,ms,sx) with f(y) = a0 + a1*y
Processing /builddir/build/BUILD/root-6.10.00/tutorials/roofit/rf305_condcorrprod.C...
[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:
[#1] INFO:NumericIntegration -- RooRealIntegral::init([gaussy_NORM[y]_X_gaussx_NORM[x]]_Int[y]) using numeric integrator RooIntegrator1D to calculate Int(y)
using namespace RooFit ;
void rf305_condcorrprod()
{
RooRealVar sigmax(
"sigma",
"width of gaussian",0.5) ;
RooGaussian gaussx(
"gaussx",
"Gaussian in x with shifting mean in y",x,fy,sigmax) ;
model.plotOn(xframe) ;
model.plotOn(yframe) ;
TCanvas *c =
new TCanvas(
"rf305_condcorrprod",
"rf05_condcorrprod",1200, 400);
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf305_condcorrprod.C.