Using AliMagWrapCheb
[u/mrichter/AliRoot.git] / test / merge / backgr / Config.C
index c6e6d80390f5040c4fb3dafa525318b6c7e0cbf1..40d7908caafab003525268102dcb8991e264b0af 100644 (file)
@@ -32,7 +32,7 @@
 #include "EVGEN/AliGenGeVSim.h"
 #include "EVGEN/AliGeVSimParticle.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"
@@ -278,8 +278,7 @@ void Config()
     
     
 // Field (L3 0.4 T)
-    AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., smag);
-    field->SetL3ConstField(0); //Using const. field in the barrel
+    AliMagWrapCheb* field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., smag);
     rl->CdGAFile();
     gAlice->SetField(field);    
 //