Macros named
[u/mrichter/AliRoot.git] / macros / grun.C
CommitLineData
fe4da5cc 1void grun (Int_t nevent=1, const char *config="Config.C")
2{
3 //
4 // Simple macro to run aliroot in a batch mode
5 //
6 gAlice->Init(config);
0198c392 7 TStopwatch timer;
8 timer.Start();
9 gAlice->Run(nevent);
10 timer.Stop();
11 timer.Print();
fe4da5cc 12}