gh2root problem

From: Rene Scholte (r34@nikhef.nl)
Date: Fri Aug 20 1999 - 11:26:15 MEST


Hi Rooters,

I'm trying to generate classes from  a ZEBRA-file that is produced by
DICE.
After some initial problems with gh2root.f (the makefiles generated for
Linux contained some errors),
i got it running.
The first part of the output though, doesn't seem righ to me : (the
strange characters in the first i=***quest(1).. -line )

---------------------------------
 gh2root result.fz Test 8100

  Opening FZ file:result.fz with LRECL= 8100
 reading fz file, lun= 3
i=*** quest(1)= 1 nuhead=  0 head1=   7 head2=**** head3=?õÿ¿
i=*** quest(1)= 0 nuhead=  8 head1=   1 head2=   6 head3=RUNG
i=*** quest(1)= 0 nuhead=  3 head1=   2 head2=   0 head3=MATE
  JMATE structure read OK
i=*** quest(1)= 0 nuhead=  3 head1=   3 head2=   0 head3=TMED
  JTMED structure read OK
i=*** quest(1)= 0 nuhead=  3 head1=   5 head2=   0 head3=ROTM
  JROTM structure read OK
i=*** quest(1)= 0 nuhead=  3 head1=   4 head2=   0 head3=VOLU
  JVOLUM structure read OK
i=*** quest(1)= 0 nuhead=  3 head1=   6 head2=   0 head3=SETS
  JSET structure read OK
  file:TestRun.h has been generated
  file:TestMaker.cxx has been generated

.... etc..

----------------------

When I try to run run.C in root , it jumps almost immediatly out of the
loop saying it
found an end of file :

-----------------------------
root [1] .x run.C

 MZSTOR.  ZEBRA table base TAB(0) in /MZCC/ at adr   271937311
10356F1F HEX

 MZSTOR.  Initialize Store  0  in z
          with Store/Table at absolute adrs   273954829   271937311
                                        HEX    1054380D    10356F1F
                                        HEX      1EC73A           0
                              relative adrs     2017082           0
          with     1 Str. in     1 Links in   1991 Low words in 1999991
words.
          This store has a fence of    5 words.

 MZLINK.  Initialize Link Area  /GCLINK/  for Store  0 NL/NS=    20
20
Openning Geant file:result.fz

 FZFILE.  LUN= 11 initialize for OPT= XIL
 FZFILE.  Use LREC= 8100, options= LXI
In loop:0
GetGeantEvent starting

 FZIN.    LUN=  11 Start of Run      1
iquest(1)=1,nuhead=0,iuhead(1)=0,iuhead(2)=0,iuhead(3)=DETM
iquest(1)=0,nuhead=8,iuhead(1)=1,iuhead(2)=6,iuhead(3)=RUNG
iquest(1)=0,nuhead=3,iuhead(1)=2,iuhead(2)=0,iuhead(3)=MATE
iquest(1)=0,nuhead=3,iuhead(1)=3,iuhead(2)=0,iuhead(3)=TMED
iquest(1)=0,nuhead=3,iuhead(1)=5,iuhead(2)=0,iuhead(3)=ROTM
iquest(1)=0,nuhead=3,iuhead(1)=4,iuhead(2)=0,iuhead(3)=VOLU
iquest(1)=0,nuhead=3,iuhead(1)=6,iuhead(2)=0,iuhead(3)=SETS
iquest(1)=0,nuhead=3,iuhead(1)=0,iuhead(2)=0,iuhead(3)=DETM

 FZIN.    LUN=  11 System EOF #   1 seen as End-of-Data
iquest(1)=5,nuhead=100,iuhead(1)=0,iuhead(2)=0,iuhead(3)=DETM
break found
-----------------------------------------------

(I edited the line in run.C, if a break is found, it prints a message
to screen).

So, can anybody tell me what is going wrong ?

Thanx in advance,

Rene Scholte



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET