]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/alitestproc.cxx
Brand new GUI application for online display/reco by Matevz.
[u/mrichter/AliRoot.git] / MONITOR / alitestproc.cxx
diff --git a/MONITOR/alitestproc.cxx b/MONITOR/alitestproc.cxx
new file mode 100644 (file)
index 0000000..bdbb255
--- /dev/null
@@ -0,0 +1,22 @@
+#include "AliTestChildProc.h"
+
+#include <TRint.h>
+#include <TSystem.h>
+
+#include <TGFrame.h>
+
+#include <cstdlib>
+
+int main(int argc, char **argv)
+{
+  // Crash on SEGV.
+  gSystem->IgnoreSignal(kSigSegmentationViolation, true);
+
+  TRint app("App", &argc, argv);
+
+  TGMainFrame* mf = new AliTestChildProc(atoi(argv[1]));
+  mf->MapWindow();
+
+  app.Run(kTRUE);
+  return 0;
+}