Re: [ROOT] dividing 2 d histograms

From: Benn Tannenbaum (bennt@mediaone.net)
Date: Fri Sep 14 2001 - 20:29:42 MEST


That's what I thought, too, but I get this message:

Error: No symbol denominator in current scope

even if I've just plotted both numerator and denominator!

on 9/14/01 11:27 AM, Tim Miller at tim.miller@vanderbilt.edu spake thusly:

> Benn Tannenbaum wrote:
>> 
>> Is there a way to divide one TH2D by another one? I want to do a bin by bin
>> divide....
>> 
>> -Benn
> 
> TH2D *numerator;
> TH2D *denominator;
> numerator->Divide(denominator);
> 
> It's all inherited through the TH1 class.
> 
> -Tim

                                                        -Benn



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET