]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ALIROOT/aliroot.cxx
Error messages stored in the global raw-reader error log (Cvetan, Chiara)
[u/mrichter/AliRoot.git] / ALIROOT / aliroot.cxx
index 80d565c82e9507d91b5afb4348f0ee106d04194b..f07c2cc1c37fdc46807ee9614372cf558dcb4e42 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 //////////////////////////////////////////////////////////////////////////
 //                                                                      //
 // aliroot                                                              //
@@ -10,7 +27,7 @@
 // developed.                                                           //
 //Begin_Html
 /*
-<img src="gif/newg.gif">
+<img src="picts/newg.gif">
 */
 //End_Html
 //////////////////////////////////////////////////////////////////////////
@@ -27,19 +44,16 @@ int xargv=0;
 int xargc=0;
 #endif
 
+#ifdef FORTRAN_G95
+extern "C" void g95_runtime_start();
+#endif
+
 #if defined WIN32 
   extern "C" int __fastflag=0; 
   extern "C" int _pctype=0; 
   extern "C" int __mb_cur_max=0; 
 #endif 
 
-int gcbank_[3000000];
-
-//Initialise the Root environment
- extern void InitGui();
- VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
- TROOT root("galice","The Alice/ROOT Interface", initfuncs);
-
 //_____________________________________________________________________________
 int main(int argc, char **argv)
 {
@@ -55,18 +69,21 @@ int main(int argc, char **argv)
   // in the run is stored in the same file in the tree TreeE, containing the
   // run and event number, the number of vertices, tracks and primary tracks
   // in the event.
-  //
-  new AliRun("gAlice"," The Alice Geant3-based MonteCarlo");
   
+  // Create new configuration 
+  
+  new AliRun("gAlice","The ALICE Off-line Simulation Framework");
+    
   // Start interactive geant
   
-  TRint *theApp = new TRint("aliroot", &argc, argv, 0, 0);
+  TRint *theApp = new TRint("aliroot", &argc, argv);
+#ifdef FORTRAN_G95
+  g95_runtime_start();
+#endif
   
-  // --- Initialisation of the GALICE package ---
+  // --- Start the event loop ---
   theApp->Run();
   
-  // --- Simulation of all events ---
   return(0);
 }
 
-