Binned log likelihood fit using ROOT::Fit::LogLikelihoodFCN

Hi rooters,

I’m performing a fit similar to that in combinedFit.C tutorial http://root.cern.ch/root/html534/tutorials/fit/combinedFit.C.html
but instead of performing a Chi2 fit I want to perform a maximum likelihood fit, the class ROOT::Fit::LogLikelihoodFCN however only seems to take unbinned data
is there a way to get around this?

thanks
Mark

Hi ,

For binned fits you should use the PoissonLikelihoodFCN class

Lorenzo