Last change
on this file since 592 was 464, checked in by harald, 24 years ago |
Some changes to run the gui on linux.
|
File size:
743 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 |
|
---|
18 |
|
---|
19 | int main(int argc, char **argv )
|
---|
20 | {
|
---|
21 | // initialise ROOT
|
---|
22 |
|
---|
23 | TROOT simple("mars", "MARS - MAGIC analysis and reconstruction software");
|
---|
24 |
|
---|
25 | TApplication theApp("App", &argc, argv);
|
---|
26 |
|
---|
27 | // start the main window
|
---|
28 |
|
---|
29 | MGMarsMain mainWin(gClient->GetRoot(), 400, 650);
|
---|
30 |
|
---|
31 | theApp.Run();
|
---|
32 |
|
---|
33 | return 0;
|
---|
34 | }
|
---|
35 |
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.