Re: [ROOT] fit several gaus

From: Tommaso Chiarusi (Tommaso.Chiarusi@bo.infn.it)
Date: Wed Jul 03 2002 - 12:24:25 MEST


Hi Karoly,

If I have undersood your problem, you need a strategy to fit, let say, ten 
gaussian peaks.


So, I don't know if this is the simplest way, but for a similar case I use 
similar stuff than the attached.
The instruction are inside the macro mgaufit.C

Hoping I have helped,
Cheers, Tommaso

On Tue, 2 Jul 2002 kmakonyi@nist.gov wrote:

> Dear ROOTers,
> 
> The problem is not ROOT specific, but I have no idea ...
> 
> I have a couple of peaks ( for example gaus-peaks ) what I would have to fit 
> together ( because they are overlapped ). It is not a big work for two peaks, 
> but it is for more then two ( I have such "peak-cluster" with 10 peaks, for 
> example..). And I have aproximetely 400 files with these data.
> The conservative way is the "interactive fitting" ( to set manually the 
> parameters ), but it is "not so confortable", because of the large number of 
> files. 
> Is there any method to automatize the process?
> Thanks, 
> Karoly MAKONYI
> 







This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET