]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/gun/rec.C
Create the magnetic field map in the reconstruction macros (Yuri)
[u/mrichter/AliRoot.git] / test / gun / rec.C
CommitLineData
3928b038 1void rec() {
2 AliReconstruction reco;
2ded75c3 3
3928b038 4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
6 AliTPCReconstructor::SetStreamLevel(1);
7 // AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::GetLowFluxParam());
8 // reco.SetInput("raw.root");
9 // reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
3928b038 10
11 AliCDBManager::Instance()->SetCacheFlag(kFALSE);
12
2ded75c3 13// **** The field map settings must be the same as in Config.C !
14 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
15 Bool_t uniform=kTRUE;
16 AliTracker::SetFieldMap(field,uniform);
3928b038 17
18 TStopwatch timer;
19 timer.Start();
20 reco.Run();
21 timer.Stop();
22 timer.Print();
23}