ROOT logo

From $ROOTSYS/tutorials/geom/geomAlice_itsv.C

//script drawing a detector geometry (here ITSV from Alice)
//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 geomAlice_itsv() {
   TGeoManager::Import("http://root.cern.ch/files/alice2.root");
   gGeoManager->DefaultColors();
   gGeoManager->GetVolume("ITSV")->Draw("ogl");
   new TBrowser;
}
 geomAlice_itsv.C:1
 geomAlice_itsv.C:2
 geomAlice_itsv.C:3
 geomAlice_itsv.C:4
 geomAlice_itsv.C:5
 geomAlice_itsv.C:6
 geomAlice_itsv.C:7
 geomAlice_itsv.C:8
 geomAlice_itsv.C:9
 geomAlice_itsv.C:10
 geomAlice_itsv.C:11
 geomAlice_itsv.C:12
 geomAlice_itsv.C:13
 geomAlice_itsv.C:14