]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/event_next.C
remove ntuples
[u/mrichter/AliRoot.git] / EVE / alice-macros / event_next.C
index 6b667822e9ed5868affb655ebad2f16f1286196b..cca485775d68097b7d79b7980fb974476d61830c 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_next()
 {
-  if(Alieve::gEvent == 0) {
-    printf("Event not set!\n");
+  if (AliEveEventManager::GetMaster() == 0) {
+    printf("AliEveEventManager is not initialized!\n");
     return;
   }
-  Alieve::gEvent->NextEvent();
+  AliEveEventManager::GetMaster()->NextEvent();
 }