]>
Commit | Line | Data |
---|---|---|
382f0106 | 1 | // $Id$ |
d810d0de | 2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
382f0106 | 9 | |
25b4bdb2 | 10 | /// \ingroup evemacros |
11 | /// \file MUON_geomAll.C | |
12 | /// | |
13 | /// \author B. Vulpescu, LPC | |
14 | ||
ba978640 | 15 | #if !defined(__CINT__) || defined(__MAKECINT__) |
16 | #include <TGeoManager.h> | |
17 | #include <TGeoNode.h> | |
18 | #include <TEveManager.h> | |
19 | #include <TEveGeoNode.h> | |
20 | #endif | |
21 | ||
382f0106 | 22 | void MUON_geomAll() |
23 | { | |
58e15fc1 | 24 | gGeoManager = gEve->GetGeometry("geometry.root"); |
382f0106 | 25 | |
84aff7a4 | 26 | TEveGeoTopNode* topn_re = new TEveGeoTopNode |
382f0106 | 27 | (gGeoManager, gGeoManager->GetTopNode()); |
51346b82 | 28 | |
84aff7a4 | 29 | gEve->AddGlobalElement(topn_re); |
382f0106 | 30 | |
84aff7a4 | 31 | gEve->Redraw3D(kTRUE); |
51346b82 | 32 | |
382f0106 | 33 | } |