accessing bins on TH2 where mouse points

From: Antonio Sidoti <>
Date: Wed, 13 Apr 2005 18:17:33 +0200

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 - 18:17:57 MEST

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