The Init method of AliITSreconstruction has to be called by the user. This was done...
[u/mrichter/AliRoot.git] / ITS / AliITSDigits2RecPoints.C
CommitLineData
af8e1c2d 1void AliITSDigits2RecPoints(Int_t evNumber1=0,Int_t evNumber2=0, const char *filename="galice.root"){
2 TStopwatch timer;
3
4 if(gAlice){
5 delete gAlice;
6 gAlice = 0;
7 } // end if gAlice
8 cout << "Creating reconstructed points from digits for the ITS..." << endl;
9 AliITSreconstruction *itsr = new AliITSreconstruction(filename);
10 timer.Start();
55c94fee 11 itsr->Init();
af8e1c2d 12 itsr->Exec();
13 timer.Stop(); timer.Print();
14 delete itsr;
15}