g2root problem

From: Stephen Eichblatt (eichblat@fnal.gov)
Date: Fri Aug 06 1999 - 19:41:52 MEST


Hi,

I would like to use g2root to help me look at a GEANT geometry file in
ROOT.

my first problem was that some of the variable names in the fortran file
began with numbers, which C++ doesn't interpret as variables (and gives a
cryptic error message)

After fixing that, i succeed in stating
.x geom.C
which returns
NULL

then when i try to draw the geometry

geom.Draw() (or geom.ls() or geom.Print())

i get nothing at all.

I can see all the materials and shapes in the browser, and even draw the
individual shapes, but i can't draw the object as a whole.

I put a copy of geom.C on the web at 

http://wimp.fnal.gov/~eichblat/geom.C

Any help will be appreciated.

Thanks,

Steve Eichblatt
eichblatt@fnal.gov
(630)840-4006
(561)423-7752(fax).



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