]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_all.C
SetSeed dummy implementations
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_all.C
index 7fadde4784cb4286834e68427539e2c7f8a270e4..ffd589ad7d085ab55420ab403e901f876e0019e3 100644 (file)
@@ -1,13 +1,26 @@
 // $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.                                                 *
+ **************************************************************************/
+
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TGeoManager.h>
+#include <TGeoNode.h>
+#include <TEveManager.h>
+#include <TEveGeoNode.h>
+
+#include <AliEveEventManager.h>
+#endif
 
 void geom_all()
 {
-  using namespace std;
-
-  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+  AliEveEventManager::AssertGeometry();
 
-  Reve::GeoTopNodeRnrEl* topn_re = new Reve::GeoTopNodeRnrEl
-    (gGeoManager, gGeoManager->GetTopNode());
-  gReve->AddGlobalRenderElement(topn_re);
-  gReve->Redraw3D();
+  TEveGeoTopNode* topn_re = new TEveGeoTopNode(gGeoManager, gGeoManager->GetTopNode());
+  gEve->AddGlobalElement(topn_re);
+  gEve->Redraw3D();
 }