Hi rooters, I created a detector geometry in a world wolume called EXPH using the TGeo classes and exported it to a file geomfile.root. Using Root version 3.10.01 with the following code , I can draw the geometry previously saved in the file TGeoManager *geo=new TGeoManager(); geo->Import("geomfile.root") TGeoVolume* EXPH=geo->GetVolume("EXPH"); EXPH->Draw(); I noticed that with version 3.10.02 and 4.xx , this simple code does not work anymore and gives seg. violation at the third line (of course for all the Root version, I created a related geomfile.root ) when I'm trying to get the world volume. What I'm doing wrong ? Which changes do I have to apply? Thanks Paolo -- Paolo Maestro Universita' di Siena-INFN Phone ++39-050-2214349 ++39-050-2214356 Fax ++39-050-2214317
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET