Re: [ROOT] GetBinContent

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 02 2003 - 20:12:20 MEST


Look carefully the event status info. You will see
the x,y position of the mouse in the pad, followed by the bin
content in case your mouse is on the histogram contour.

Rene Brun

On Thu, 2 Oct 
2003, 
Ahmet Sedat Ayan wrote:

> 
> Hi all,
> With a histogram, I am trying to get the first bin's content. When I do
> 
> hist->GetBinContent(1) ,
> 
> I get a number slightly different than when I look at it in Event Status
> with a crosshair. (ex: 9.00000000000000000e+01 vs 90.34) .
> 
> What is the reason for this?
> 
> cheers
> ahmet.
> 
> ***************
> 
> Ahmet Sedat Ayan
> 
> Physics & Astronomy Dept.
> Van Allen Hall
> University of Iowa
> Iowa City, IA, 52242
> 
> Voice      : (++ 1 319) 335-1941 (W) (GMT-6)
> Occupation : Ph.D Candidate (But still dreamer!)
> e-mail     : ayan@cms.physics.uiowa.edu
> web        : http://jazz.physics.uiowa.edu/~ayan
> 
> 



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