Freddy, If you just want to do simple cuts or weights, there is a box at the bottom of the TreeViewer called 'Weight-Selection'. You can modify this box with a right mouse button and do a 'SetLabel'. You then put in whatever condition you like, just like in the Draw method, e.g. (pt_top>10). It is called a 'Weight-Selection' because selections are just boolean weights. You could also set 'pt_top' and entries would be weighted by that variable. Anyway, I hope that answers your question. Jack cranshaw@fnal.gov Freddy Bouchet wrote: > Hello. > > I have created a tree. > I would like to draw some histograms using conditions buildt on my tree > branches. I saw that this was implemented in the tree Draw function. > > Is it possible to impose such conditions when drawing via the TreeViewer. > > -- > Freddy Bouchet > Institut Fourier > 100 rue des maths > BP 74 38 402 Saint Martin d'Heres Cedex > Tel : 04 76 51 48 08
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET