]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/oldmacros/AliITSsDigits2Digits.C
Updated selection in ReadFromTracks()
[u/mrichter/AliRoot.git] / ITS / oldmacros / AliITSsDigits2Digits.C
1 void AliITSsDigits2Digits(const char *filename = "galice.root"){
2     // This macro takes SDigits and produces Digits. No merging is done
3     // and only one galice.root file is used. 
4     // Dynamically link some shared libs 
5     TStopwatch timer;
6
7     if(gAlice){
8         delete gAlice;
9         gAlice = 0;
10     } // end if gAlice
11     AliRunDigitizer * manager = new AliRunDigitizer(1,1);
12     manager->SetInputStream(0,filename);
13     AliITSDigitizer *dITS  = new AliITSDigitizer(manager);
14     timer.Start();
15     manager->Exec("");
16     timer.Stop(); timer.Print();
17 }