Logo ROOT   6.08/07
Reference Guide
geomAlice.C File Reference

Detailed Description

Script drawing a detector geometry (here 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.

void geomAlice()
{
TGeoManager::Import("http://root.cern.ch/files/alice2.root");
// gGeoManager->SetVisLevel(4);
// gGeoManager->GetVolume("PPRD")->InvisibleAll();
// gGeoManager->GetVolume("Dipole")->InvisibleAll();
gGeoManager->GetVolume("ALIC")->Draw("ogl");
new TBrowser;
}
Author
Rene Brun

Definition in file geomAlice.C.