changes in the MagF constructor
[u/mrichter/AliRoot.git] / prod / LHC08d14 / Config.C
index 62d06c35bd0078780d711f6233fdb432e18da16f..5deb01e0bd32e845fe6997c77998dd028f31515d 100644 (file)
@@ -387,10 +387,10 @@ void Config()
   AliMagF* field = 0x0;
   if (mag == kNoField) {
     comment = comment.Append(" | L3 field 0.0 T");
-    field = new AliMagF("Maps","Maps", 2, 0., 0., 10., AliMagF::k5kGUniform);
+    field = new AliMagF("Maps","Maps", 0., 0., AliMagF::k5kGUniform);
   } else if (mag == k5kG) {
     comment = comment.Append(" | L3 field 0.5 T");
-    field = new AliMagF("Maps","Maps", 2, -1., -1., 10., AliMagF::k5kG);
+    field = new AliMagF("Maps","Maps", -1., -1., AliMagF::k5kG);
   }
   printf("\n \n Comment: %s \n \n", comment.Data());
   TGeoGlobalMagField::Instance()->SetField(field);