Hi Christophe, You cannot specify a general function of the Tree variables with the current version. This will be implemented in a future version. (hope end of the year) Rene Brun On Wed, 12 Jun 2002, Christophe Clement wrote: > Hi, > > I have a TTree named Global with variables x and y. > I can do for example: > Global->Draw("x+y"); > or > Global->Draw("sqrt(x**2+y**2)"); > > BUT: > Can I somehow define a function F(x,y) and then use it in the > following manner: > Global->Draw("F(x,y)"); > ? > > Is there a way to do this? > Thanks. > Christophe > > +-----------------------------------------------+ > | Christophe Clement / Swedish D0 Group | > | Fermilab MS 357, Batavia, IL 60510, USA | > | tel: +1 (630)-840 5400 | > | fax: +1 (630)-840 6650 | > | email: clement@fnal.gov | > +-----------------------------------------------+ >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:56 MET