Re: g2root
Rene Brun (Rene.Brun@cern.ch)
Thu, 02 Jul 1998 08:54:15 +0200
Jayoung Wu wrote:
>
> On Tue, 30 Jun 1998, Rene Brun wrote:
>
> > To generate a Geant geometry RZ file, add one line after GGCLOS
> > to your Fortran program
> > call grfile(21,'mygeom.rz','ON')
> >
> > then use the g2root converter with
> > g2root mygeom.rz mygeom.root
> >
> > Rene Brun
> >
>
> Still I do not understand how "mygeom.rz" file is generated.
> Even if I add call grfile(21,"mygeom.rz","ON")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> to my fortran program "mygeom.f", still I do not have "mygeom.rz".
> To generate "mygeom.rz" what should I do with "mygeom.f"?
> Should I compile it? Or any other way?
You insert this statement in a Fortran routine, not C++. It must be:
call grfile(21,'mygeom.rz','ON')
Please read the Geant manual and/or source. We would like to restrict
this mailing list to Root related questions of general interest.
Rene Brun