Ignore temporary files
[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;
9 AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG);
10 AliTracker::SetFieldMap(field,kTRUE);
11 reco.SetUniformFieldTracking(kFALSE);
12 reco.SetWriteESDfriend();
13 reco.SetWriteAlignmentData();
14
15 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();
16 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
17 AliTPCReconstructor::SetStreamLevel(0);
18 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
19 //reco.SetInput("raw.root") ;
20 //AliPHOSRecoParam* recEmc = new AliPHOSRecoParamEmc();
21 // recEmc->SetSubtractPedestals(kFALSE);
22 // AliPHOSReconstructor::SetRecoParamEmc(recEmc);
23 reco.SetRunQA(kTRUE) ;
24 AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
25 AliQA::SetQARefDataDirName("Sim") ; //Data, Pedestals, BlackEvent, .....
26
27 TStopwatch timer;
28 timer.Start();
29 reco.Run();
30 timer.Stop();
31 timer.Print();
32}
33