Re: [ROOT] Openning of file.root

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 05 2003 - 18:47:49 MET


Hi zaldy,

Are you sure that h2root went up to the end of the conversion?
It seems that not. Please check this first.
Send a small hbook file showing the problem if you do not find the 
solution.

Rene Brun

On Fri, 5 
Dec 2003, zaldy wrote:

> 
> 
> Dear Rooters,
> 
> This must be an known question. But I have not been to it yet
> 
> I wanted to open a tree file file.root which is converted by h2root. This 
> file is written by other users. I  want to inspect the content of this 
> file using TFile f("file.root"), then f.ls(), but I dont see the object 
> name of the Tree. I only see something like this:
> 
> TFile**         run005.000001.root       HBOOK file: run005.000001.hbk converted to ROOT
>  TFile*         run005.000001.root       HBOOK file: run005.000001.hbk converted to ROOT
> 
> I tried f.ReadKeys(), but does solve it.
> I wanted to write a class using the 
> Object_Tree_I_am_Looking->MakeClass("Name"), so I need to know the object 
> name.
> 
> How do we proceed openning this file?
> 
> Thank you.
> 
> 
> 



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