#!/bin/tcsh

/direct/phenix+data12/youzy/root/4.01.02/sl305_gcc323/bin/g2root geometry.dat geometry.C
which root

root -l -b << EOF
.x geometry.C
gGeoManager->Export("fvtxgeom.root","PHENIX")
EOF

