Overlaps suppression: FCA1/FRO1<->FCA1/FRO2, FWZ4_1<->FSTR_72, FWZ3_2<->FSTR_20,...
[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");
17 //reco.SetInput("raw.root") ;
18 //AliPHOSRecoParam* recEmc = new AliPHOSRecoParamEmc();
19 // recEmc->SetSubtractPedestals(kFALSE);
20 // AliPHOSReconstructor::SetRecoParamEmc(recEmc);
ce43afbe 21 if (! reco.SetRunQA("PHOS:ESD") ) {
22 printf("SetRunQA ERROR\n") ;
23 exit ;
24 }
25 reco.SetInLoopQA() ;
26
478d5b53 27 AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
28 AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
29
2ded75c3 30// **** The field map settings must be the same as in Config.C !
31 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
32 Bool_t uniform=kFALSE;
33 AliTracker::SetFieldMap(field,uniform);
34
478d5b53 35 TStopwatch timer;
36 timer.Start();
37 reco.Run();
38 timer.Stop();
39 timer.Print();
40}
41