source: trunk/MagicSoft/Mars/mars.cc@ 691

Last change on this file since 691 was 669, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 746 bytes
Line 
1#include <TROOT.h>
2#include <TSystem.h>
3#include <TApplication.h>
4#include <TVirtualX.h>
5#include <TGClient.h>
6
7#include "MGMarsMain.h"
8
9// **********************************************************************
10//
11// MARS main program
12//
13// The only job of the main program is the initialisation of ROOT and
14// the start of the guiinterface for the mars program
15//
16// started by h. kornmayer january, 3rd 2001
17
18int main(int argc, char **argv )
19{
20 // initialise ROOT
21
22 TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software");
23
24 TApplication theApp("MarsApp", &argc, argv);
25
26 // start the main window
27
28 MGMarsMain mainWin(gClient->GetRoot(), 400, 650);
29
30 theApp.Run();
31
32 return 0;
33}
34
35
Note: See TracBrowser for help on using the repository browser.