more on dir creation
[u/mrichter/AliRoot.git] / test / merge / backgr / rec.C
index 2a2307cd184c15c4c5150cfea17e64d09d6a6e35..6b2161f2e297e24bb37f16addf26fe0b7476b312 100644 (file)
@@ -1,13 +1,19 @@
 void rec() {
 
   AliReconstruction reco;
-  reco.SetUniformFieldTracking(kFALSE);
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
-  AliTPCReconstructor::SetStreamLevel(1);
-  AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::GetLowFluxParam());
+  reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
+  reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
+  reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
+  reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
   //  reco.SetInput("raw.root");
 
+// **** The field map settings must be the same as in Config.C !
+  AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
+  Bool_t uniform=kFALSE;
+  AliTracker::SetFieldMap(field,uniform);
+
   TStopwatch timer;
   timer.Start();
   reco.Run();