]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/MUON_geomAll.C
Fixes for #86059: Install data when ALICE_ROOT does not point to source (Christian)
[u/mrichter/AliRoot.git] / EVE / alice-macros / MUON_geomAll.C
1 // $Id$
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          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 /// \ingroup evemacros
11 /// \file MUON_geomAll.C
12 ///
13 /// \author B. Vulpescu, LPC
14
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
22 void MUON_geomAll()
23 {
24   gGeoManager = gEve->GetGeometry("geometry.root");
25
26   TEveGeoTopNode* topn_re = new TEveGeoTopNode
27     (gGeoManager, gGeoManager->GetTopNode());
28
29   gEve->AddGlobalElement(topn_re);
30
31   gEve->Redraw3D(kTRUE);
32
33 }