Hi Luca,
On Mon, 6 Dec 2004, Luca Grandi wrote:
> Hi to all, I have two questions concerning the TreeViewer.
>
> 1- Let's suppose I have for example two different cuts, let's say cut1 and
> cut2, that I want to apply to several variables in order to produce two
> different histograms for each variable. Is it possible to store them
> somewhere instead of re-writing each time one of them in the "CUT BOX" of
> the viewer?
Use the "SaveSource" item in teh "TreeViewer "File" menu.
This will automatically save all your settings in treeviewer.C.
To start your new session just run
root treeviewer.C
If you want to choose a different name for the script, click the right
button in the right frame of the viewer and select "SaveSource"
>
> 2- Is there a way to fix the number of bins, the maximum and minimum limits
> for the histogram plotted by double-clicking on a specific leaf?
Yes, in the small box at the top (with "htemp" by default,
you can enter
htem(20) to fix the number of bins to 20
or mytemp(20,-2,6) to set a new name, number of bins and limits
see the HELP button for more information on the use of the viewer.
Rene Brun
>
> Hope someone will help
> Cheers
>
> Luca
>
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET