You have 2 possible solutions
Solution 1 (recommended)
h2root myfile.hbook
will generate myfile.root
Solution 2
root > THbookFile f("myfile.hbook") root > f.ls(); //to see the content root > TH1 * h102 = (TH1*)f.Get(102); //import hbook id=102 in memory root > h102->Draw()
Rene Brun
Satya J wrote:
> Dear All,
>
> Can some body tell me how can I read a hbook file. I never done paw.
> Is there
> any way to read it in a root macro.
> I am using root 5:13:04
> SLC - 4.2
> Your comments and suggestions will highly be appreciated.
> Thanks,
> --
> ---------------
> Satya
> Research Student,
> High Energy Physics, India.
Received on Mon Nov 27 2006 - 09:04:37 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET