Re: [ROOT] Multiply histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 26 2003 - 23:17:36 MET


Hi Pavel,

The TH1::Multiply function requires the same number of bins in both
histograms. If axis limits are different, you will get a warning only.
One or both histograms may have variable bin size bins. However,
the result of the operation is questionable in this case.

Rene Brun

On 
Wed, 
26 Feb 2003, Pavel Golubev wrote:

> Hello,
> I have a question about multiplying two TH1 histograms which have 
> different X axis.
> One histogram has a fix bin size along X axis (detector data) but 
> another one has a variable size of binning along the same axis (detector 
> efficiency).  
> I need a clue how to approach this problem especially if histograms have 
> different number of bins (of course, I am getting warnings about that).
> Thanks,
> /Pavel
> Lund University   
> 
> 



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