ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
geomAtlas.C
Go to the documentation of this file.
1
/// \file
2
/// \ingroup tutorial_geom
3
/// Script drawing a detector geometry (here ATLAS).
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
geomAtlas() {
15
TGeoManager::Import(
"http://root.cern.ch/files/atlas.root"
);
16
//gGeoManager->DefaultColors();
17
gGeoManager->SetMaxVisNodes(5000);
18
//gGeoManager->SetVisLevel(4);
19
gGeoManager->GetVolume(
"ATLS"
)->Draw(
"ogl"
);
20
new
TBrowser;
21
}
tutorials
geom
geomAtlas.C
Generated on Tue May 5 2020 14:03:42 for ROOT by
1.8.5