Re: [ROOT] Histogram weighting problem?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jan 03 2001 - 23:11:34 MET


Hi Ben,
What is wrong with your red cureve ? seems ok to me.

To make a comparison, you should do:
      histoDnDpt->Divide(fIdentity);
and not
      histoDnDpt2b->Divide(fIdentity);

Rene Brun

On Wed, 3 Jan 2001, Benjamin E. Norman wrote:

> Hi Rene,
> 	Thanks for the reply.  I sent a second mail minutes after my first
> containing the plots & complete macro, but I haven't seen it on the list
> yet.  I'll attach the plot & macro again here.
> 	The problem I have is that the difference between the 2 plots is not a
> constant, but the bin width is.  In fact, the 2 plots cross at about 1. 
> Shouldn't I see a constant shift up or down if the only issue is bin
> width?
> 
> Thanks,
> Ben
> 
> Rene Brun wrote:
> > I do not see anything wrong with the cut mechanism.
> > I tested a similar example with no problems.
> > My guess is that you forgot to divide the histogram by the bin width !!
> > You forgot to attach the files, so I cannot be more precise, but I am
> > pretty
> > convince that you forgot to take into account the bin width.
> 
> ,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,:,,,,
> Benjamin Norman                    http://kent.edu/~bnorman
> Department of Physics                      bnorman@kent.edu
> Kent State University, OH, USA                 330-672-0378
> ````:````:````:````:````:````:````:````:````:````:````:````



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