Replace Fatal by Info
[u/mrichter/AliRoot.git] / test / QA / rec.C
CommitLineData
478d5b53 1void rec() {
2 const char * kYear = "08" ;
3 AliCDBManager * man = AliCDBManager::Instance();
4 //man->SetDefaultStorage("alien://Folder=/alice/simulation/2007/PDC07_v4-09-Rev-00/Ideal/CDB/");
5 man->SetDefaultStorage("local://$ALICE_ROOT");
6 man->SetSpecificStorage("EMCAL/*","local://DB");
7
8 AliReconstruction reco;
2ded75c3 9
478d5b53 10 reco.SetWriteESDfriend();
11 reco.SetWriteAlignmentData();
12
13 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();
14 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
15 AliTPCReconstructor::SetStreamLevel(0);
16 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
478d5b53 17 //AliPHOSRecoParam* recEmc = new AliPHOSRecoParamEmc();
18 // recEmc->SetSubtractPedestals(kFALSE);
19 // AliPHOSReconstructor::SetRecoParamEmc(recEmc);
6b6f7c6b 20 if (! reco.SetRunQA("ALL:ALL") ) {
ce43afbe 21 printf("SetRunQA ERROR\n") ;
22 exit ;
23 }
24 reco.SetInLoopQA() ;
25
478d5b53 26 AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
27 AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
28
2ded75c3 29// **** The field map settings must be the same as in Config.C !
30 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
31 Bool_t uniform=kFALSE;
32 AliTracker::SetFieldMap(field,uniform);
33
478d5b53 34 TStopwatch timer;
35 timer.Start();
1bc82d3e 36 reco.Run();
478d5b53 37 timer.Stop();
38 timer.Print();
39}
40