Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
geomAlice_itsv.C
Go to the documentation of this file.
1 /// \file
2 /// \ingroup tutorial_geom
3 /// Script drawing a detector geometry (here ITSV from Alice).
4 ///
5 /// By default the geometry is drawn using the GL viewer
6 /// Using the TBrowser, you can select other components
7 /// if the file containing the geometry is not found in the local
8 /// directory, it is automatically read from the ROOT web site.
9 ///
10 /// \macro_code
11 ///
12 /// \author Rene Brun
13 
14 void geomAlice_itsv() {
15  TGeoManager::Import("http://root.cern.ch/files/alice2.root");
16  gGeoManager->DefaultColors();
17  gGeoManager->GetVolume("ITSV")->Draw("ogl");
18  new TBrowser;
19 }