Hi Steve, To look at your geometry you invoke TNode::Draw. In your case, you can do Root > .x geom.C Root > TOUT1.Draw() Root > stk11.Draw() or start the browser -click on geometries - click on geom (your geometry) - click on nodes - click on top level node TOUT1, etc Your geometry contains an impressive number of nodes at a deep level. To be able to view something, you should set the visibility attributes of your node (see TNode::SetVisibility for the conventions). Rene Brun On Fri, 6 Aug 1999, Stephen Eichblatt wrote: > > Hi, > > I would like to use g2root to help me look at a GEANT geometry file in > ROOT. > > my first problem was that some of the variable names in the fortran file > began with numbers, which C++ doesn't interpret as variables (and gives a > cryptic error message) > > After fixing that, i succeed in stating > .x geom.C > which returns > NULL > > then when i try to draw the geometry > > geom.Draw() (or geom.ls() or geom.Print()) > > i get nothing at all. > > I can see all the materials and shapes in the browser, and even draw the > individual shapes, but i can't draw the object as a whole. > > I put a copy of geom.C on the web at > > http://wimp.fnal.gov/~eichblat/geom.C > > Any help will be appreciated. > > Thanks, > > Steve Eichblatt > eichblatt@fnal.gov > (630)840-4006 > (561)423-7752(fax). >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:37 MET