ROOT logo

From $ROOTSYS/tutorials/geom/geomBrahms.C

//script drawing a detector geometry (here BRAHMS)
//by default the geometry is drawn using the GL viewer
//Using the TBrowser, you can select other components
//if the file containing the geometry is not found in the local
//directory, it is automatically read from the ROOT web site.
// Author: Rene Brun
   
void geomBrahms() {
   TGeoManager::Import("http://root.cern.ch/files/brahms.root");
   gGeoManager->GetVolume("CAVE")->Draw("ogl");
   new TBrowser;  
}
 geomBrahms.C:1
 geomBrahms.C:2
 geomBrahms.C:3
 geomBrahms.C:4
 geomBrahms.C:5
 geomBrahms.C:6
 geomBrahms.C:7
 geomBrahms.C:8
 geomBrahms.C:9
 geomBrahms.C:10
 geomBrahms.C:11
 geomBrahms.C:12
 geomBrahms.C:13