;;;;
'MULTIDIMENSIONAL MODELS' RooFit tutorial macro #315
Marginizalization of multi-dimensional p.d.f.s through integration
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf315_projectpdf.C...
void rf315_projectpdf()
{
RooRealVar sigmax(
"sigmax",
"width of gaussian",0.5) ;
RooGaussian gaussx(
"gaussx",
"Gaussian in x with shifting mean in y",x,fy,sigmax) ;
RooAbsPdf* modelx = model.createProjection(y) ;
TH1* hh = model.createHistogram(
"x,y") ;
TCanvas* c =
new TCanvas(
"rf315_projectpdf",
"rf315_projectpdf",800,400) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf315_projectpdf.C.