Fig. 2 shows HistPresent's startup window, a file list , a list of a file contents and a widget displayed for a NTuple. All these widgets are implemented using TButton objects. Pressing the buttons triggers the obvious actions like showing the content of a ROOT file or displaying a histogram. The grey button left of a name is used as a selection. It turns green if it is active. This is used in operations like Show all selected hists or with the arithmetics operators. E.g. Selecting hpx and hpy2 then pressing + would addup histograms hpx and hpy2 resulting in a histogram hpx_plus_hpy2 which is displayed and added to the objects in memory.
Showing values of a Tree can be done is several ways:
A histogram is displayed in a special canvas inheriting from TCanvas with extra popup menus providing actions like Expand, Superimpose, Projections etc. Note: Up to now all operations only require the left mouse button whereas the standard ROOT actions from context dependent popup menus triggered by the right mouse button are still available.
The following picture shows examples: Show selected hists in same range, and a 2-dim histogram with a graphical cut (TCutG) applied projected on both axes.
Johannes.Elmsheuser 2014-04-07