geomAtlas.C

Go to the documentation of this file.
00001 //script drawing a detector geometry (here ATLAS)
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 geomAtlas() {
00009    TGeoManager::Import("http://root.cern.ch/files/atlas.root");
00010    //gGeoManager->DefaultColors();
00011    gGeoManager->SetMaxVisNodes(5000);
00012    //gGeoManager->SetVisLevel(4);
00013    gGeoManager->GetVolume("ATLS")->Draw("ogl");
00014    new TBrowser;  
00015 }

Generated on Tue Jul 5 15:44:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1