Hi all,
I am trying to plot the fit results of a 2D RooSimultaneous fit,
so I have tried to mix these two tutorials
https://root.cern.ch/root/html/tutorials/roofit/rf501_simultaneouspdf.C.html
https://root.cern.ch/root/html/tutorials/roofit/rf315_projectpdf.C.html
and write something like:
RooAbsPdf* simPdfx = simPdf.createProjection(y) ;
simPdfx.plotOn(frame1,Slice(sample,"physics"),ProjWData(sample,combData)) ;
but the PDF shows the wrong normalization (maybe because it is integrated over too many dimensions ?)
This seems to be a common problem that does not have an “official” answer (see posts below) so it’d be really helpful to have some instructions
Cheers,
Giacomo
system
Closed
2
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.