]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/geom_phos.C
Solve bug #89021 - macros do not neet to do gEve->GetDefaultGeometry() but AliEveEven...
[u/mrichter/AliRoot.git] / EVE / alice-macros / geom_phos.C
index a57fe07a6388f350c7719451146de13271af06f4..becc16a7c2d0318103f2a3b74c00ccd15cafa0d3 100644 (file)
 #include <TGeoManager.h>
 #include <TEveManager.h>
 #include <TEveGeoNode.h>
+
+#include <AliEveEventManager.h>
 #endif
 
 void geom_phos()
 {
-  gGeoManager = gEve->GetDefaultGeometry();
+  AliEveEventManager::AssertGeometry();
 
   TEveElementList* list = new TEveElementList("PHOS");
   gEve->AddGlobalElement(list);