ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
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
/// \image html geom_geomAtlas.png width=800px
11
/// \macro_code
12
///
13
/// \author Rene Brun
14
15
void
geomAtlas()
16
{
17
TGeoManager::Import
(
"http://root.cern/files/atlas.root"
);
18
// gGeoManager->DefaultColors();
19
gGeoManager
->SetMaxVisNodes(5000);
20
// gGeoManager->SetVisLevel(4);
21
gGeoManager
->GetVolume(
"ATLS"
)->Draw(
"ogl"
);
22
new
TBrowser
;
23
}
gGeoManager
externTGeoManager * gGeoManager
Definition
TGeoManager.h:620
TBrowser
Using a TBrowser one can browse all ROOT objects.
Definition
TBrowser.h:37
TGeoManager::Import
static TGeoManager * Import(const char *filename, const char *name="", Option_t *option="")
static function Import a geometry from a gdml or ROOT file
Definition
TGeoManager.cxx:4162
tutorials
visualisation
geom
geomAtlas.C
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1