Re: TTree::Draw problem

Fons Rademakers (rdm@pcsalo.cern.ch)
Sun, 18 Jul 1999 23:42:08 +0200 (MEST)


Hi Yasuhiro,

the problem has been identified and fixed by Masaharu. The fixed source
will be made available tomorrow.

Cheers, Fons.

>
> 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.
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910