changes in the MagF constructor
[u/mrichter/AliRoot.git] / prod / LHC08d17 / Config.C
index fad5ca80486e5bc3600da5efd48466df04565918..8b4726880bf55c832970da96b2ca8e0fe7d16029 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);