X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=ALIROOT%2Faliroot.cxx;h=f92e3400ef5db2d874806b202a12cb45e235d5c9;hp=effc6eb067e1bf8253f9337f404caebc0e92b1d5;hb=e07f293fa2f94e2700b7e0dc94c4cab3368b23ed;hpb=1439f98e64c177f2d0122bfcc85e4162b29f1f2f diff --git a/ALIROOT/aliroot.cxx b/ALIROOT/aliroot.cxx index effc6eb067e..f92e3400ef5 100644 --- a/ALIROOT/aliroot.cxx +++ b/ALIROOT/aliroot.cxx @@ -1,3 +1,46 @@ +/************************************************************************** + * 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. * + **************************************************************************/ + +/* +$Log$ +Revision 1.10 2002/02/18 14:26:14 hristov +#include removed + +Revision 1.9 2002/01/09 17:05:03 morsch +Increase memory allocated for ZEBRA. + +Revision 1.8 2001/10/04 15:32:36 hristov +Instantiation of AliConfig removed + +Revision 1.7 2001/05/22 11:39:48 buncic +Restored proper name for top level AliRoot folder. + +Revision 1.6 2001/05/21 17:22:50 buncic +Fixed problem with missing AliConfig while reading galice.root + +Revision 1.5 2001/05/16 14:57:07 alibrary +New files for folders and Stack + +Revision 1.4 2000/12/20 08:39:37 fca +Support for Cerenkov and process list in Virtual MC + +Revision 1.3 1999/09/29 09:24:07 fca +Introduction of the Copyright and cvs Log + +*/ + ////////////////////////////////////////////////////////////////////////// // // // aliroot // @@ -33,12 +76,7 @@ int xargc=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 gcbank_[4000000]; //_____________________________________________________________________________ int main(int argc, char **argv) @@ -55,17 +93,18 @@ 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); - // --- Initialisation of the GALICE package --- + // --- Start the event loop --- theApp->Run(); - // --- Simulation of all events --- return(0); }