X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=ALIROOT%2Faliroot.cxx;h=7e3a67e01b044123415277d95af75e8440bb3d9d;hb=fa3d1cc75b38f4b4e3564dd43297764826fdb92c;hp=80d565c82e9507d91b5afb4348f0ee106d04194b;hpb=fe4da5cc22f890b04843f1aebec0f1bf4f9c3fc9;p=u%2Fmrichter%2FAliRoot.git diff --git a/ALIROOT/aliroot.cxx b/ALIROOT/aliroot.cxx index 80d565c82e9..7e3a67e01b0 100644 --- a/ALIROOT/aliroot.cxx +++ b/ALIROOT/aliroot.cxx @@ -1,3 +1,55 @@ +/************************************************************************** + * 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.12 2002/10/14 14:55:33 hristov +Merging the VirtualMC branch to the main development branch (HEAD) + +Revision 1.10.6.1 2002/08/28 15:06:49 alibrary +Updating to v3-09-01 + +Revision 1.11 2002/08/18 20:20:48 hristov +InitGui removed (J.Chudoba) + +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 // @@ -10,7 +62,7 @@ // developed. // //Begin_Html /* - + */ //End_Html ////////////////////////////////////////////////////////////////////////// @@ -33,12 +85,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 +102,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); }