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

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