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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 28 2002 - 08:17:39 MET


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:43 MET