Re: [ROOT] Simple ntuple problem

From: Rene Brun (brun@pcbrun.cern.ch)
Date: Wed Jun 30 2004 - 21:57:19 MEST


When closing the file, the ntuple lpntuple is automatically deleted.
Your pointer becomes invalid. 
  -do not close teh file
  -or read the ntuple header from the newly connected file

Rene Brun

On 
Wed, 30 Jun 2004 amccormi@uiuc.edu wrote:

> Hi, I`m working on a fairly simple program, though obviously I
> am stumped. In the following program I've used the syntax I
> saw in similar (working) program. What I am trying to do is
> read in information stored in an array of objects and use that
> info to build an ntuple. I then want to simply draw the ntuple
> in a histogram. I`m getting an sigmentation error on the line
> lpntuple->Draw( bla ) ;
> 
> Thanks, Andy
> 
> By the way, I`m having trouble cutting and pasting code from
> Emacs into this field -- if someone can tell me how to do that
> I would be grateful. As a result of my inability to do this,
> my code is attached. 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET