[ROOT] Varible in cut.

From: Dmitry A. Shtol (shtol@sndxt1.inp.nsk.su)
Date: Thu Jun 05 2003 - 14:15:39 MEST


What is the simplest way to use a varible or a user-defined function in a
cut?

Example: in PAW I have:

cut $1 abs(90-tet1)<9*[t]
How it will be in ROOT?

In another case I use user-defined function in cut as a weight. And again, 
I don't know, how to do it. In roottalk I found an advice to use ClassMake 
function. But maybe it is not a simplest way?

==============================================================
Dmitry A. Shtol                        (SND group)
Budker Institute of Nuclear Physics



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET