ROOT logo
//script drawing a detector geometry (here ATLAS)
//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 geomAtlas() {
   TGeoManager::Import("http://root.cern.ch/files/atlas.root");
   //gGeoManager->DefaultColors();
   gGeoManager->SetMaxVisNodes(5000);
   //gGeoManager->SetVisLevel(4);
   gGeoManager->GetVolume("ATLS")->Draw("ogl");
   new TBrowser;  
}
 geomAtlas.C:1
 geomAtlas.C:2
 geomAtlas.C:3
 geomAtlas.C:4
 geomAtlas.C:5
 geomAtlas.C:6
 geomAtlas.C:7
 geomAtlas.C:8
 geomAtlas.C:9
 geomAtlas.C:10
 geomAtlas.C:11
 geomAtlas.C:12
 geomAtlas.C:13
 geomAtlas.C:14
 geomAtlas.C:15
 geomAtlas.C:16
thumb
thumb