Re: [ROOT] Getting a function maximum position

From: Allister Levi Sanchez (allister@hep.sc.niigata-u.ac.jp)
Date: Tue Jan 28 2003 - 16:37:19 MET


Allister Levi Sanchez wrote:

> Hi Nick,
>
> Yeah I have tried TSpectrum.  But its constructor accepts only TH1, 
> not TF1.  Oh, by the 

Ooopss, not the constructor... I meant TSpectrum::Search()

Cheers,
Allister

> way, what's the rule of thumb for setting sigma in TSpectrum::Search()?
>
> Cheers,
> Allister
>
> Nick van Eijndhoven wrote:
>
>> Hi Allister,
>> To my opinion, the TSpectrum class does what you want.
>> However, when I tried it some time ago, I got the opinion
>> that the found peak positions were sometimes somewhat
>> displaced w.r.t. the actual ones.
>> Perhaps this has now been fixed in some more recent Root versions.
>>
>>                                           Cheers,
>>                                            Nick.
>>  
>>
>
>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET