'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 /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf305_condcorrprod.C...
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.