Using the new signature of SetQA and SetRunQA
[u/mrichter/AliRoot.git] / test / fpprod / rec.C
... / ...
CommitLineData
1void rec() {
2 AliReconstruction reco;
3
4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
6 AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();
7 AliTPCReconstructor::SetRecoParam(tpcRecoParam);
8 AliTPCReconstructor::SetStreamLevel(1);
9 // reco.SetInput("raw.root");
10 reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC");
11 reco.SetRunQA("");
12 reco.SetRunGlobalQA(kFALSE);
13 reco.SetMeanVertexConstraint(kFALSE);
14
15// **** The field map settings must be the same as in Config.C !
16 AliMagWrapCheb* field = 0x0;
17 //field = new AliMagWrapCheb("Maps","Maps", 2, 0., 10., AliMagWrapCheb::k2kG);
18 //Bool_t uniform=kTRUE;
19 //AliTracker::SetFieldMap(field,uniform); // tracking with the uniform field
20 field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., AliMagWrapCheb::k5kG);
21 Bool_t uniform=kFALSE;
22 AliTracker::SetFieldMap(field,uniform); // tracking with the real map
23
24 TStopwatch timer;
25 timer.Start();
26 reco.Run();
27 timer.Stop();
28 timer.Print();
29}