Added support to display the HLT ESD Tree. See the comment in visscan_local.C for How
[u/mrichter/AliRoot.git] / EVE / alice-macros / event_goto.C
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
16718cdc 9
ba978640 10#if !defined(__CINT__) || defined(__MAKECINT__)
6c49a8e1 11#include <AliEveEventManager.h>
ba978640 12#endif
13
38c0afa3 14/// \ingroup evemacros
15/// \file event_goto.C
16
4d2df6b6 17void event_goto(Int_t event=0)
18{
4d62585e 19 if (AliEveEventManager::GetMaster() == 0) {
16718cdc 20 printf("AliEveEventManager is not initialized!\n");
4d2df6b6 21 return;
22 }
4d62585e 23 AliEveEventManager::GetMaster()->GotoEvent(event);
4d2df6b6 24}