Re: [ROOT] Fitting values

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 24 2003 - 08:52:14 MEST


Hi,

On Thu, 24 Jul 2003, Raghunath Sahoo wrote:

> 
> Hello,
> 
> 
> > >    Suppose I fit a function to a 1-d histogram.
> > > What is the function in ROOT used to fetch the following information ?
> > 
> > There is no special function to return this info, but..
> > > 
> > > 1. The maximum value of the data point (x-value) used in the fitting.
> > 
> >  This is the center of the last non empty bin
> 
> 
> In general this may not be  true always.

Could you tell me a case when this is not true?

Rene Brun

> In case of fitting a 
function to a histogram, all points
> need not go to the fit. Hence the centre of the last
> non-empty bin may not go to the fitting. 
> There should be some way out to know the 1st & last point which
> go to the fit. 
> 
> Thanks & Regards,
> Raghunath.
> 
> 
> 
> > 
> > > 
> > > 2. The minimum value of the data point (x-value) used in the fitting.
> > 
> >  This is the center of the first non empty bin
> > 
> > Rene Brun
> > 
> > >   
> > > 
> > > Any help is most welcome.
> > > Thanks in advance,
> > > Cheers,
> > > Raghunath.
> > > 
> > >   ********************************************************************
> > >   *  Raghunath Sahoo          *  Phone: +91-0674-2301172             *
> > >   *  Doctoral Scholar         *                  2301058             *
> > >   *  Institute Of Physics     *  Lab:- 230,H-303,359(Extn)           *
> > >   *  Sachivalaya Marg         *  Fax: +91-0674-300142                *
> > >   *  Bhubaneswar              *  URL: http://www.iopb.res.in/~raghu  *
> > >   *  Orissa (India)-751005    *  email: raghu@iopb.res.in            *
> > >   ********************************************************************
> > >   *  raghu@rcf.rhic.bnl.gov   *  raghu@mail.cern.ch                  *
> > >   *                  raghu_iop@rediffmail.com                        *
> > >   ********************************************************************
> > > 
> > 
> 
> 



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