]>
Commit | Line | Data |
---|---|---|
87c65a3e | 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 | } |