]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/merge/signal/rec.C
Create the magnetic field map in the reconstruction macros (Yuri)
[u/mrichter/AliRoot.git] / test / merge / signal / rec.C
index 4a5f91810db3a8e4cae4f2925160361a66585401..5888f6bb73bee51fed26cce40f5db5d745f42095 100644 (file)
@@ -1,12 +1,16 @@
 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();