g2root problem

Ping Yeh (pyeh@cdfsga.fnal.gov)
Sun, 11 Jan 1998 10:48:40 -0600


Hello Rooters,

I was using g2root (from v1.03/08 distribution) on IBM to
produce .C file from a Geant Zebra geometry file. I found
that if there are volumes with names shorter than 4 characters,
strange things happen. For example, I have a volume called "L12".
In the produced .C file the following line shows up:

TBRIK *L12^@1 = new TBRIK("L12^@1","L12^@1","mat22",14.48999,3.60225,.015);

where the ^@ is a representation of NULL character. Maybe this
is a bug? Could someone please take a look?

Thanks,
Ping