]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/merge/backgr/rec.C
Create the magnetic field map in the reconstruction macros (Yuri)
[u/mrichter/AliRoot.git] / test / merge / backgr / rec.C
index 2a2307cd184c15c4c5150cfea17e64d09d6a6e35..4f50107ff93d66a6c162496d317e56ea9b51c23f 100644 (file)
@@ -1,13 +1,17 @@
 void rec() {
 
   AliReconstruction reco;
-  reco.SetUniformFieldTracking(kFALSE);
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
   AliTPCReconstructor::SetStreamLevel(1);
   AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::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();