Using AliMagWrapCheb
[u/mrichter/AliRoot.git] / test / cosmic / rec.C
index bcc7a2a231ee8a347e93e5aa96c9ce0002e0e90a..c5a46cd9e57e60113a75b187b31b4e293e9df76e 100644 (file)
@@ -93,11 +93,11 @@ void rec(const char *filename="raw.root", const Int_t mfield=1)
   rec.SetRecoParam("MUON",muonRecoParam);\r
  \r
   // Tracking settings\r
-  AliMagFMaps* field;\r
+  AliMagWrapCheb* field;\r
   if (mfield)\r
-     field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG);\r
+     field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., AliMagWrapCheb::k5kG);\r
    else\r
-     field = new AliMagFMaps("Maps","Maps", 2, 0., 10., 2);\r
+     field = new AliMagWrapCheb("Maps","Maps", 2, 0., 10., AliMagWrapCheb::k2kG);\r
   AliTracker::SetFieldMap(field,1);\r
   Double_t mostProbPt=0.35;\r
   AliExternalTrackParam::SetMostProbablePt(mostProbPt);\r