]>
Commit | Line | Data |
---|---|---|
3928b038 | 1 | void rec() { |
7fb59432 | 2 | if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) { |
3 | gSystem->Load("libProof"); | |
4 | gSystem->Load("libGui"); | |
5 | gROOT->Macro("loadlibsrec.C"); | |
6 | new AliRun("gAlice","The ALICE Off-line Simulation Framework"); | |
7 | } | |
8 | ||
3928b038 | 9 | AliReconstruction reco; |
2ded75c3 | 10 | |
3928b038 | 11 | reco.SetWriteESDfriend(); |
12 | reco.SetWriteAlignmentData(); | |
13 | AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam(); | |
14 | AliTPCReconstructor::SetRecoParam(tpcRecoParam); | |
15 | AliTPCReconstructor::SetStreamLevel(1); | |
16 | // reco.SetInput("raw.root"); | |
7fb59432 | 17 | reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC"); |
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=kFALSE; | |
21 | AliTracker::SetFieldMap(field,uniform); | |
22 | ||
3928b038 | 23 | TStopwatch timer; |
24 | timer.Start(); | |
25 | reco.Run(); | |
26 | timer.Stop(); | |
27 | timer.Print(); | |
28 | } |