First pass of changes required for visualization of event-embedding.
[u/mrichter/AliRoot.git] / EVE / alice-macros / event_goto.C
index 30f3b15..a82ee61 100644 (file)
@@ -9,9 +9,9 @@
 
 void event_goto(Int_t event=0)
 {
-  if (gAliEveEvent == 0) {
+  if (AliEveEventManager::GetMaster() == 0) {
     printf("AliEveEventManager is not initialized!\n");
     return;
   }
-  gAliEveEvent->GotoEvent(event);
+  AliEveEventManager::GetMaster()->GotoEvent(event);
 }