]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/grunITS.C
Added new inline function SetITSgeom needed for alignment. New function
[u/mrichter/AliRoot.git] / ITS / grunITS.C
1 void grunITS (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);
7   TStopwatch timer;
8   timer.Start();
9   gAlice->Run(nevent);
10   timer.Stop();
11   timer.Print();
12   timer.Reset();
13   timer.Start();
14   gAlice->Hits2Digits("ITS");
15   timer.Stop(); timer.Print(); 
16   AliITSreconstruction *itsr = new AliITSreconstruction(0);
17   itsr->Exec();
18   delete itsr;
19   
20 }