]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/grunTestSuite.C
skip AliCaloAltroMapping delete at the end to avoid segmentation violation on exit...
[u/mrichter/AliRoot.git] / PHOS / grunTestSuite.C
CommitLineData
88cb7938 1void grunTestSuite (Int_t nevent=3, const char *config="ConfigTestSuite.C")
2{
3 //
4 // Simple macro to run aliroot in a batch mode
5 //
6 gAlice->Init(config);
7 TStopwatch timer;
8 timer.Start();
9//
10// If nevent is negative it is assumed that in config the
11// global variable eventsPerRun has been set.
12//
13 if (nevent < 0)
14 nevent = eventsPerRun;
15 gAlice->Run(nevent);
16 timer.Stop();
17 timer.Print();
18}