[Gate-users] Reading root histogram values

Konik, Arda Arda.Konik at umassmed.edu
Mon Jul 18 22:58:17 CEST 2011


Hi All,
How can I read the root histogram values ? 
Currently, I just enable the " Event Statusbar " as in the attached screenshot and bring the cursor  on the horizontal line to read its y - value at the bottom. 
In this example, the cursor (invisible on this picture) is positioned somewhere on the highlighted tab and the y-value correctly shows y = 56.
However, this is not practical when there are multiple quantities I need to check as in the case of ComptVolname (i.e., compton scatter values of different SD in the system), especially
when horizontal lines are very close to y = 0. 

How can I read these values  without using this graphical method ? I tried to use some root commands but couldn't get what I needed…
I ll appreciate if you could give a command line example to get the scatter values of , say 2 materials ( Vol1 and Vol2) in ComptVolname.

Thanks,

Arda


-------------- next part --------------
A non-text attachment was scrubbed...
Name: root_histogram.png
Type: image/png
Size: 43908 bytes
Desc: root_histogram.png
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20110718/3d8ab35a/attachment-0001.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20110718/3d8ab35a/attachment-0001.txt>


More information about the Gate-users mailing list