]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/event_goto.C
Move MultiView.C into EveBase class AliEveMultiView.
[u/mrichter/AliRoot.git] / EVE / alice-macros / event_goto.C
index 2027c8f0e2bc655d322f2fcb7ff072005b5002dd..a82ee6168f15ad509cb200f25c096f4d2aed0e23 100644 (file)
@@ -1,8 +1,17 @@
+// $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.                                                 *
+ **************************************************************************/
+
 void event_goto(Int_t event=0)
 {
-  if(Alieve::gEvent == 0) {
-    printf("Event not set!\n");
+  if (AliEveEventManager::GetMaster() == 0) {
+    printf("AliEveEventManager is not initialized!\n");
     return;
   }
-  Alieve::gEvent->GotoEvent(event);
+  AliEveEventManager::GetMaster()->GotoEvent(event);
 }