X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=test%2Ffpprod%2Frec.C;h=78a419f0ccf05bc1e3085872022e5d4d0ec2ef19;hp=f01029f98022ecc8ff08bd66968118ca0b48e0c8;hb=65aa1f4da0f2198fd9127876027b1de403bc50ce;hpb=28b752558286a7eb404dc69d7e7754ecdaa64558;ds=sidebyside diff --git a/test/fpprod/rec.C b/test/fpprod/rec.C index f01029f9802..78a419f0ccf 100644 --- a/test/fpprod/rec.C +++ b/test/fpprod/rec.C @@ -1,13 +1,30 @@ void rec() { + if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) { + gSystem->Load("libProof"); + gSystem->Load("libGui"); + gROOT->Macro("loadlibsrec.C"); + new AliRun("gAlice","The ALICE Off-line Simulation Framework"); + } AliReconstruction reco; - reco.SetUniformFieldTracking(kFALSE); + reco.SetWriteESDfriend(); reco.SetWriteAlignmentData(); - AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam(); - AliTPCReconstructor::SetRecoParam(tpcRecoParam); - AliTPCReconstructor::SetStreamLevel(1); + reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam()); + reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam()); + reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters()); + reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam()); // reco.SetInput("raw.root"); reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC"); + reco.SetRunQA(":"); + reco.SetRunGlobalQA(kTRUE); + reco.SetMeanVertexConstraint(kFALSE); + +// **** The field map settings must be the same as in Config.C ! + AliMagWrapCheb* field = 0x0; + field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., AliMagWrapCheb::k5kG); + Bool_t uniform=kFALSE; + AliTracker::SetFieldMap(field,uniform); // tracking with the real map + TStopwatch timer; timer.Start(); reco.Run();