Re: [ROOT] How to simply fit histogram with two gausses?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 30 2001 - 18:39:37 MEST


See exactly this example at $ROOTSYS/tutorials/multifit.C

Rene Brun

Kai Yi wrote:
> 
> Hi, All,
>       I have a 1D histogam which is a combination of two gausses, one is
> signal and one is background. I simply used :
>       primz->Fit("gaus")
> 
>       But I can see the result is not good. How to use two gausses(one is
> narrow, one is wider) to fit simply?
> 
> Thanks a lot!
> 
> Kai Yi



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET