Re: [ROOT] comparing two histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 24 2003 - 22:58:16 MET


Hi Ken,

For an example to fit one histogram with another histogram, see
$ROOTSYS/tutorials/fithist.C

Rene Brun

On Mon, 24 
Feb 2003, Ken Bloom wrote:

> Dear ROOTers,
> 
> 	I am trying to compare two very similar histograms...so similar that 
> KolmogorovTest returns exactly one for the comparision.  OK, that's nice, but 
> these histograms have error bars on them, and I'd like to quantify the how 
> different they are based on the errors.  Does ROOT have a function that 
> computes a chisquared between two histograms?  Or a function that allows one 
> to fit one histogram with another histogram as the "user function"?  Thanks, 
> best wishes.
> 
> 						Ken
> 
> ------------------------------------------------------------------------------
> Ken Bloom, Karma Adjuster                                Department of Physics
> 734-763-2329 / 734-936-1817 (fax)                       University of Michigan
> kenbloom@umich.edu                              http://www.umich.edu/~kenbloom
> 



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