Hi Valeri, One of the many ways: TString x = "tdc1[1]-tdc1[0]/49"; TString y = "tdc1[3]-tdc1[2]/47"; tree->Draw(y+"%"+x); Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Valeri Tioukov Sent: Monday, June 23, 2003 8:32 AM To: roottalk Subject: [ROOT] aliases for tree variables Hi Rooters, What is the simpliest way to get in root the same effect as I can do in paw with lines: alias/cre x tdc1[1]-tdc1[0]/49 alias/cre y tdc1[3]-tdc1[2]/47 nt/pl 1.y%x Regards Valeri
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET