]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/macros/testSuite/ConfigTestSuiteHij.C
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / PHOS / macros / testSuite / ConfigTestSuiteHij.C
index b7f32896c479a54482985e35c2699b22fcbf54f6..2bbe0faae2b92c125bb4a42010ad36e8026cd833 100644 (file)
@@ -106,9 +106,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;