|
Last change
on this file since 6013 was 447, checked in by harald, 25 years ago |
|
Bringing the sources for the octobertest under CVS controll.
(november, 3rd, 2000)
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | #include <stdlib.h>
|
|---|
| 2 | //#include <iostream.h>
|
|---|
| 3 |
|
|---|
| 4 | #include <TROOT.h>
|
|---|
| 5 | #include <TApplication.h>
|
|---|
| 6 | #include <TVirtualX.h>
|
|---|
| 7 | #include <TGClient.h>
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | #include "MGOctMain.h"
|
|---|
| 11 |
|
|---|
| 12 | // **********************************************************************
|
|---|
| 13 | //
|
|---|
| 14 | // main program for the october test.
|
|---|
| 15 | //
|
|---|
| 16 | // The only job of the main program is the initialisation of ROOT and
|
|---|
| 17 | // the start of the guiinterface for the october test
|
|---|
| 18 | //
|
|---|
| 19 | // h. kornmayer 25.oct.2000
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | int main(int argc, char **argv )
|
|---|
| 24 | {
|
|---|
| 25 | // cout << "==================================================" << endl ;
|
|---|
| 26 | // cout << " MARS v0.2" << endl;
|
|---|
| 27 | // cout << " MAGIC Analysis and Reconstruction Software" << endl ;
|
|---|
| 28 | // cout << " Compiled on <" << __DATE__ << ">" << endl ;
|
|---|
| 29 | // cout << "==================================================" << endl ;
|
|---|
| 30 | // cout << endl;
|
|---|
| 31 |
|
|---|
| 32 | //
|
|---|
| 33 | // initialize ROOT (this is obligatory here)
|
|---|
| 34 | //
|
|---|
| 35 | // initialise ROOT
|
|---|
| 36 |
|
|---|
| 37 | TROOT simple("simple", "SIMONE - statistic of MonteCarlo");
|
|---|
| 38 |
|
|---|
| 39 | TApplication theApp("App", &argc, argv);
|
|---|
| 40 |
|
|---|
| 41 | MGOctMain mainWin(gClient->GetRoot(), 500, 600);
|
|---|
| 42 |
|
|---|
| 43 | theApp.Run();
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | return 0;
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.