Re: g2root problem

Rene Brun (Rene.Brun@cern.ch)
Mon, 12 Jan 1998 10:05:53 +0100


Ping Yeh wrote:

> 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?

This problem seems to happen only for Geant files generated on Alpha machines.

A NULL character appears instead of a blank.
I have fixed the problem in the development version.
Thanks for reporting

Rene Brun