Re: Integral over histogram bins by mouse click?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 17 1998 - 09:48:44 MEST


Ludger Janauschek wrote:
> 
> Hello,
> 
> is there (will there be) a possibility to get the integral over an
> interval of bins of a one dim. histogram by marking it by the mouse or by
> giving the boundaries in a dialog box (calling it with the right-button
> menue)?

When you select the option "Event Status" in the canvas "Option" menu,
the current object info reports some object attributes.
In case of histograms, the integral from bin 1 to the bin pointed
by the mouse is also reported.
I have modified my version (will be 2.00/09) to report the integral
from the low bin selected with the slider in the DrawPanel.
You can obtain the same result on the command line with
  h->Integral(binmin,binmax);

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET