testing if mc before select collision candidates
[u/mrichter/AliRoot.git] / EVE / alieve_main / alieve_main.cxx
CommitLineData
d810d0de 1// $Id$
2// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
e10d437c 3// Mihai Niculescu 2012
d810d0de 4
5/**************************************************************************
6 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
7 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 8 * full copyright notice. *
d810d0de 9 **************************************************************************/
5320a363 10#include <TEveBrowser.h>
5987168b 11
e10d437c 12#include <AliEveApplication.h>
13#include <AliEveManager.h>
5987168b 14
15int main(int argc, char **argv)
16{
e10d437c 17 AliEveApplication app("AliEve", &argc, argv, 0 , -1);
18 gEve = AliEveManager::Create();
19
20 // close application when closing EveWindow from X window button
21 gEve->GetBrowser()->Connect("CloseWindow()", "TApplication", &app, "Terminate(=0)");
22
23 // process command line arguments
24 app.GetOptions(&argc, argv);
25
26 app.Run();
27
28 if(gEve){
29 delete gEve;
30 gEve = 0;
31 }
32
84aff7a4 33 return 0;
5987168b 34}