]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/QA/rec.C
Updated menu and list of detectors (Yves)
[u/mrichter/AliRoot.git] / test / QA / rec.C
1 void rec() {
2   const char * kYear = "08" ; 
3   AliCDBManager * man = AliCDBManager::Instance();
4   //man->SetDefaultStorage("alien://Folder=/alice/data/2008/LHC08c/OCDB/");
5   man->SetDefaultStorage("local://$ALICE_ROOT");
6   man->SetSpecificStorage("EMCAL/*","local://DB");
7   
8   AliReconstruction reco;
9
10   reco.SetWriteESDfriend();
11   reco.SetWriteAlignmentData();
12
13   reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
14   reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
15   reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
16   reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
17         
18         AliTPCReconstructor::SetStreamLevel(1);
19 //  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC ACORDE");
20   reco.SetRunReconstruction("ITS TPC TRD HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC ACORDE");
21   reco.SetRunQA("ALL:ALL") ;
22          reco.SetInLoopQA() ; 
23           
24         // AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
25   AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
26   
27 // **** The field map settings must be the same as in Config.C !
28   AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
29   Bool_t uniform=kFALSE;
30   AliTracker::SetFieldMap(field,uniform);
31
32   TStopwatch timer;
33   timer.Start();
34   reco.Run();
35   timer.Stop();
36   timer.Print();
37 }
38