]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/macros/testSuite/ConfigTestSuite.C
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / PHOS / macros / testSuite / ConfigTestSuite.C
index 37df54f7e18909a529314849951db10bac9a79a1..88ef9c771cffc4c903c8c80da5de7b21731f36e8 100644 (file)
@@ -130,9 +130,7 @@ void Config()
     //
     //gener->SetVertexSmear(perTrack); 
     // Field (L3 0.4 T)
-    AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
-    gAlice->SetField(field);    
-
+    TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG));
 
     Int_t   iABSO  =  0;
     Int_t   iDIPO  =  0;