]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_tpc.C
Solve bug #89021 - macros do not neet to do gEve->GetDefaultGeometry() but AliEveEven...
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_tpc.C
index c1428c2cc3aef554e7fbcd3d23ac1293928acf8d..3539c9d7883a9792346a98c2d416497f23bb63cc 100644 (file)
 #include <TGeoNode.h>
 #include <TEveManager.h>
 #include <TEveGeoNode.h>
+
+#include <AliEveEventManager.h>
 #endif
 
 void geom_tpc()
 {
-  gGeoManager = gEve->GetDefaultGeometry();
+  AliEveEventManager::AssertGeometry();
 
   TGeoNode* node = gGeoManager->GetTopVolume()->FindNode("TPC_M_1");