]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/MUON_geomAll.C
Move contents of EVE/Alieve to EVE/EveDet as most code will remain there.
[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 void MUON_geomAll()
11 {
12   TString dataPath = TString(gEvent->GetTitle());
13   dataPath.Append("/geometry.root");
14   gGeoManager = gEve->GetGeometry(dataPath.Data());
15
16   TEveGeoTopNode* topn_re = new TEveGeoTopNode
17     (gGeoManager, gGeoManager->GetTopNode());
18
19   gEve->AddGlobalElement(topn_re);
20
21   gEve->Redraw3D(kTRUE);
22
23 }