]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/RichBatch.C
AliRICHDispFast cluster H2 reset added
[u/mrichter/AliRoot.git] / RICH / RichBatch.C
1 void RichBatch(const Int_t iNevents,const Bool_t isDebug,const char *sConfigFileName)
2 {
3   if(isDebug)
4     gAlice->SetDebug(1);
5
6   Info("my/AliceBatch.C","%i event(s) requested, debug %i",iNevents,isDebug);  
7   TStopwatch sw;TDatime time;   
8
9   gAlice->Run(iNevents,sConfigFileName);
10    
11   cout<<"\nInfo in <my/AliceBatch.C>: Start time: ";time.Print();
12   cout<<"Info in <my/AliceBatch.C>: Stop  time: ";time.Set();  time.Print();
13   cout<<"Info in <my/AliceBatch.C>: Time  used: ";sw.Print();
14   gSystem->Exec("touch ZZZfinishedZZZ");
15 }