[ROOT] user defined function in Global->Draw(...)

From: Christophe Clement (clement@fnal.gov)
Date: Wed Jun 12 2002 - 23:00:55 MEST


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