]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_tpc.C
Commit for Simone - Temorarily removal of some histos
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_tpc.C
index 0f2737187b886d9012e6b176dbf4f829f69bb354..3539c9d7883a9792346a98c2d416497f23bb63cc 100644 (file)
@@ -4,12 +4,22 @@
 /**************************************************************************
  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
- * full copyright notice.                                                 * 
+ * 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_tpc()
 {
-  gGeoManager = gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+  AliEveEventManager::AssertGeometry();
+
   TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("TPC_M_1");
 
   TEveGeoTopNode* tpc_re = new TEveGeoTopNode(gGeoManager, node);