00001 //script drawing a detector geometry (here BRAHMS) 00002 //by default the geometry is drawn using the GL viewer 00003 //Using the TBrowser, you can select other components 00004 //if the file containing the geometry is not found in the local 00005 //directory, it is automatically read from the ROOT web site. 00006 // Author: Rene Brun 00007 00008 void geomBrahms() { 00009 TGeoManager::Import("http://root.cern.ch/files/brahms.root"); 00010 gGeoManager->GetVolume("CAVE")->Draw("ogl"); 00011 new TBrowser; 00012 }