Re: [ROOT] Fit over several subranges...

From: Matt Palmer (palmer@hep.phy.cam.ac.uk)
Date: Thu Mar 07 2002 - 16:02:37 MET


Hi, could you give an example of this?  I can't quite see how its supposed to 
work with static functions

Thanks

Matt

On Thursday 28 February 2002  7:17 am, Rene Brun wrote:
>Hi Yuriy,
>
>In version 3.02, I introduced a new function (static) in TF1:
>see: http://root.cern.ch/root/htmldoc/TF1.html#TF1:RejectPoint
>
>This function is intended to be used in fits to reject some
>disjoint ranges of a function.
>
>Rene Brun
>
>On Thu, 28 Feb 2002, Shitov Yuriy wrote:
>> Hi, ROOTers
>>
>> I need to fit simultaneously several  non intersected parts (subranges)
>> of histogram with single function. In my case it is linear
>> backround, which is approximated by "pol1" function through all the
>> spectrum. And ONE fit must be done SIMULTANEOUSLY over SEVERAL
>> subranges of this spectrum,  where we have pure background. I can't fit
>> ALL the spectrum due to a lot of lines with unknown structure.
>> How can I do this?  Is there possibility to skeep some histogram bins
>> during fitting?
>>
>> Best wishes,
>> Yuriy.



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