Using AliMagWrapCheb
[u/mrichter/AliRoot.git] / test / QA / Config.C
index 8ac4e4c264a23666e3758b4b347db0c54daa67cb..e0289ee2f1aece7717b6b718a86601a424dd8659 100644 (file)
@@ -43,7 +43,7 @@
 #include "STEER/AliConfig.h"
 #include "PYTHIA6/AliDecayerPythia.h"
 #include "PYTHIA6/AliGenPythia.h"
-#include "STEER/AliMagFMaps.h"
+#include "STEER/AliMagWrapCheb.h"
 #include "STRUCT/AliBODY.h"
 #include "STRUCT/AliMAG.h"
 #include "STRUCT/AliABSOv3.h"
@@ -400,8 +400,7 @@ void Config()
   }
   printf("\n \n Comment: %s \n \n", comment.Data());
 
-  AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., mag);
-  field->SetL3ConstField(0); //Using const. field in the barrel
+  AliMagWrapCheb* field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., mag);
   rl->CdGAFile();
   gAlice->SetField(field);