Adding CTP to the GRP list of active detectors
[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);
7e88424f 7 // reco.SetRecoParam("ITS",AliITSRecoParam::GetLowFluxParam());
8 reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
9 reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
10 reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
11 reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
3928b038 12 // AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::GetLowFluxParam());
13 // reco.SetInput("raw.root");
14 // reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
3928b038 15
16 AliCDBManager::Instance()->SetCacheFlag(kFALSE);
17
2ded75c3 18// **** The field map settings must be the same as in Config.C !
19 AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
20 Bool_t uniform=kTRUE;
21 AliTracker::SetFieldMap(field,uniform);
3928b038 22
23 TStopwatch timer;
24 timer.Start();
25 reco.Run();
26 timer.Stop();
27 timer.Print();
28}