Re: accessing bins on TH2 where mouse points

From: Rene Brun <>
Date: Wed, 13 Apr 2005 22:51:43 +0200 (MEST)


see the code showing the TH1 EventStatus at:

Rene Brun

Wed, 13 Apr 2005, Antonio
Sidoti wrote:

> Dear rooters,
> I would like to know (within my root program) which is the bin numbers
> (in x and y) of a two dimensional histogram (TH2F) I'm clikcking to with
> the mouse. This should exist since it is shown when I activate the
> EventStatus option; the info I would like to access is in the rightmost
> part of the bottom bar.
> Unfortunately ExecuteEvent returns me the position in pixel of the
> cursor. Which function should I use?
> Thanks a lot in advance for help,
> Best regards
> Antonio
Received on Wed Apr 13 2005 - 22:51:48 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET