Re: [ROOT] What is wrong with For(...)?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Sep 20 2003 - 21:44:44 MEST


Form accepts double, int and char*.
Change your script as in the attachement

Rene Brun

On Sat, 20 Sep 2003, Yiqun Wang 
wrote:

> Hi, ROOTers:
> 
> I am trying to use TCut in TTree::Draw(...). But the attached macro
> creates the wrong cut:
> 
> root [0] .x testTCut.C
> widthCM = 3.81   minXY = 1.905   maxXY = 24.765
> OBJ: TCut       CUT     xPhoton[0]>742223999.905000 &&
> xPhoton[0]<742223999.905000 && yPhoton[0]>0.000000 && yPhoton[0]<0.000000
> xPhoton[0]>0.000
> 
> 
> I tried both 3.05.07 and 3.10.00 (cvs) on a Mandrake 9.1. Same problem for
> both version.
> 
> 
> Yiqun Wang
> 
> 





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