[ROOT] Bug in THbookFile::Get ?

From: Laurent Aphecetche (aphecetc@in2p3.fr)
Date: Sun Sep 29 2002 - 16:26:08 MEST


Hi,

I'm trying to use THbookFile to read CWN ntuples.

My HBOOK file contains only one ntuple :

PAW > h/file 0 ntuple.hbook
PAW > h/list


  ===> Directory :
        1000 (N)   TAPS_FWALL_raw

If I try to use THbookFile::Get(int id), whatever the id is, I get a 
pointer to the THbookTree, is that normal ?

root [0] THbookFile f("ntuple.hbook")
root [1] THbookTree* t = (THbookTree*)f.Get(0)
root [2] t.ls()
OBJ: THbookTree h1000   ntuple.hbook : 0 at: 0x87b5820

I'm using ROOT 3.03/09 on Linux RH7.2 (gcc2.95.3)

Regards,

-- 
Dr. Laurent APHECETCHE (mailto:aphecetc@in2p3.fr) (IN2P3-CNRS)
SUBATECH-EMN-4 rue Alfred Kastler-BP 20722-44307 NANTES cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24 (France)
Collaboration PHENIX http://www.phenix.bnl.gov/~aphecetc



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:11 MET