Re: geant3 ascii into root

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 21 May 2008 16:47:44 +0200


g2root can convert only a GEANT3 zebra/RZ file to ROOT geometry. You can produce the zebra/RZ file in your fortran program once you have defined the geometry with a call like:

call grfile(21,'mygeom.rz','ON')

then you can do
  g2root mygeom.rz mygeom.C

Rene Brun

Dmitry Naumov wrote:
> Dear rooters,
>
> could you advice me. I have a geant3 fz ascii file with a geometry
> which I would like to convert into root. Is it possible? I tried
> g2root but does not recognized the geometry file format. Thanks in
> advance, Dmitry
>
Received on Wed May 21 2008 - 16:48:07 CEST

This archive was generated by hypermail 2.2.0 : Thu May 22 2008 - 11:50:02 CEST