+// $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);
}