]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/RichBatch.C
New Geom, support for ESD- major change
[u/mrichter/AliRoot.git] / RICH / RichBatch.C
CommitLineData
87c65a3e 1void RichBatch(const Int_t iNevents,const Bool_t isDebug,const char *sConfigFileName)
2{
998b831f 3 gSystem->Exec("rm -rf *.root hlt hough ZZZ*");
4 if(isDebug) AliLog::SetGlobalDebugLevel(AliLog::kDebug);
87c65a3e 5
87c65a3e 6 TStopwatch sw;TDatime time;
998b831f 7
8
f9bab07b 9 AliSimulation *pSim=new AliSimulation; pSim->Run(iNevents); delete pSim;
998b831f 10 AliReconstruction *pRec=new AliReconstruction;
11 pRec->SetRunLocalReconstruction("ITS TPC TRD TOF RICH");
12 pRec->SetFillESD("ITS TPC TRD TOF RICH");
13 pRec->Run(); delete pRec;
14
15 //pRec->SetRunLocalReconstruction("RICH"); pRec->SetFillESD("RICH");
16
17 cout<<"\n!!!!!!!!!!!!Info in <my/RichBatch.C>: Start creating Control Plots \n";
63d2150c 18
998b831f 19 AliRunLoader* pAL = AliRunLoader::Open(); pAL->LoadgAlice();
63d2150c 20 AliRICH *pRICH=(AliRICH*)pAL->GetAliRun()->GetDetector("RICH");
21 if(pRICH) pRICH->ControlPlots();
a4e22153 22
998b831f 23 cout<<"\n!!!!!!!!!!!!Info in <my/RichBatch.C>: Start time: ";time.Print();
24 cout<<"!!!!!!!!!!!!Info in <my/RichBatch.C>: Stop time: ";time.Set(); time.Print();
25 cout<<"!!!!!!!!!!!!Info in <my/RichBatch.C>: Time used: ";sw.Print();
3582c1f9 26 gSystem->Exec("touch ZZZ______finished_______ZZZ");
998b831f 27// gSystem->Exec("playwave .kde/my/end.wav");
87c65a3e 28}