source: tags/Mars-V0.4/mars.cc@ 10107

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