TTree::Draw problem

SHIRASAKI Yasuhiro (yasuhiro@awa.tohoku.ac.jp)
Sun, 18 Jul 1999 22:22:21 +0900


Hi,

Something was broken with TNtuple::Draw between 2.21/08 and 2.22/09 on
FreeBSD 4.0. When I tried to run tutorials/ntuple1.C, it crashes as
follows (with some debugging printfs):

root [0] .x ntuple1.C
Draw(varexp0 = "3*px+2", selection = "", option = ""
nentries = 1000000000, firstentry = 0)
Draw(varexp0 = "2*px+2", selection = "", option = ""
nentries = 1000000000, firstentry = 0)
Draw(varexp0 = "1.3*px+2", selection = "", option = ""
nentries = 1000000000, firstentry = 0)
Draw(varexp0 = "pz:px>>hprofs", selection = "", option = ""
nentries = 1000000000, firstentry = 0)
Error function pol2 is not 2-D
Error: illegal pointer to class object fpol2 0x0 307 FILE:/usr/home/yasuhiro/root/tutorials/./ntuple1.C LINE:59
*** Interpreter error recovered ***
root [1]

Secondary argument seems to ran away. It worked well with 2.21/08.

regards,

--
SHIRASAKI Yasuhiro : Experimental Particle Physics, JLC Team
Graduate School of Science, TOHOKU University 980-8578 Japan.