]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/RichBatch.C
ResetSDigits added in Hits2SDigits
[u/mrichter/AliRoot.git] / RICH / RichBatch.C
CommitLineData
87c65a3e 1void RichBatch(const Int_t iNevents,const Bool_t isDebug,const char *sConfigFileName)
2{
3582c1f9 3 if(isDebug) gAlice->SetDebug(1);
87c65a3e 4
3582c1f9 5 Info("my/RichBatch.C","%i event(s) requested, debug %i,config file %s",iNevents,isDebug,sConfigFileName);
87c65a3e 6 TStopwatch sw;TDatime time;
7
3582c1f9 8 AliSimulation a; a.Run(iNevents);
87c65a3e 9
3582c1f9 10 cout<<"\nInfo in <my/RichBatch.C>: Start time: ";time.Print();
11 cout<<"Info in <my/RichBatch.C>: Stop time: ";time.Set(); time.Print();
12 cout<<"Info in <my/RichBatch.C>: Time used: ";sw.Print();
13 gSystem->Exec("touch ZZZ______finished_______ZZZ");
87c65a3e 14}