'MULTIDIMENSIONAL MODELS' RooFit tutorial macro #303
Use of tailored p.d.f as conditional p.d.fs.s
pdf = gauss(x,f(y),sx | y ) with f(y) = a0 + a1*y
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf303_conditional.C...
void rf303_conditional()
{
new TCanvas(
"rf303_conditional",
"rf303_conditional",600, 460);
}
{
for (int i=0 ; i<10000 ; i++) {
Double_t tmpx = gRandom->Gaus(0.5*tmpy,1) ;
x = tmpx ;
y = tmpy ;
}
}
return d ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf303_conditional.C.