Re: How to convert HBOOK to ROOT

Damir Buskulic (buskulic@lapp.in2p3.fr)
Fri, 23 May 1997 15:17:33 +0200 (METDST)


Hi,
I think that the problem lies in the fact that, when converting names
from HBOOK, h2root converts capital letters to small ones (except the
first ?). In one of my ntuples, I saw rikD converted to rikd and it
worked after I used this one.

A related question. Why is the interpreter doing a seg violation when you
misspell a variable ? When that happens, I have to quit root and relaunch
it. Is there a more convenient way ? obviously, when it seg faults, it's
already too late so Is it a bug ?

Cheers

Damir

=====================================================================
| Damir Buskulic | Universite de Savoie/LAPP |
| | Chemin de Bellevue, B.P. 110 |
| Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex |
| e-mail: buskulic@lapp.in2p3.fr | FRANCE |
=====================================================================
mailto:buskulic@lapp.in2p3.fr

On Fri, 23 May 1997, Otto Schaile wrote:

> Dear roots,
> I tried the above HOWTO, (I can view the ntuple 5000 with rows:
> RUN, EVENT,E_ECAL etc correctly with paw,
> with root I get:
>
> root [0] TFile f("ntz0mu94.root")
> root [1] f.ls()
> TFile** ntz0mu94.root
> TFile* ntz0mu94.root
> KEY: TTree h5000;1 EVENT
> KEY: TH1F h100;1 EBEAM
> KEY: TDirectory TR;1 TR
> root [2] h100.Draw()
> Warning in <MakeDefCanvas>: creating a default canvas with name c1
> root [3] h5000.Draw("EVENT");
>
> *ERROR 26 :
> Unknown name : "EVENT"
>
> etc...
> I was using 1.01/02 on HPUX this time, on Linux(2.0.30) with 1.00/10 I get
>
> root [3] h5000.Draw("EVENT");
> mmuzip: discrepancy in source length
> mmuzip: error in header
>
> *** Break *** segmentation violation
>
> What do I wrong?
>
> Cheers
> ----------------------------------------------------------------------------
> Otto Schaile Sektion Physik der LMU Muenchen
> Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany
> FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
>
>