]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/MUON_geomAll.C
clusters.C -- a new macro to display used/shared/non-used clusters. In tpc_clusters...
[u/mrichter/AliRoot.git] / EVE / alice-macros / MUON_geomAll.C
index 29baf84c817d43c1d2d77dbbf970a8daaa34ddcb..c5463000c87015b9129e58399cfbb953e5aab5ff 100644 (file)
@@ -1,19 +1,21 @@
 // $Id$
+// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
+
+/**************************************************************************
+ * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
+ * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
+ * full copyright notice.                                                 *
+ **************************************************************************/
 
 void MUON_geomAll()
 {
+  gGeoManager = gEve->GetGeometry("geometry.root");
 
-  using namespace std;
+  TEveGeoTopNode* topn_re = new TEveGeoTopNode
+    (gGeoManager, gGeoManager->GetTopNode());
 
-  TString dataPath = TString(Alieve::gEvent->GetTitle());
-  dataPath.Append("/geometry.root");
-  gGeoManager = gReve->GetGeometry(dataPath.Data());
+  gEve->AddGlobalElement(topn_re);
 
-  Reve::GeoTopNodeRnrEl* topn_re = new Reve::GeoTopNodeRnrEl
-    (gGeoManager, gGeoManager->GetTopNode());
-  
-  gReve->AddGlobalRenderElement(topn_re);
+  gEve->Redraw3D(kTRUE);
 
-  gReve->Redraw3D(kTRUE);
-  
 }