]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/galice.C
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / MONITOR / galice.C
index 7794a22d0459e4f4861cf5a0354ba5e011f71d6b..adc0742a416830a8dadb91808103aeb1e7c20814 100644 (file)
@@ -18,8 +18,7 @@ void Config()
     new TGeant3("C++ Interface to Geant3");
 
     // Field (L3 0.4 T)
-    AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k4kG);
-    gAlice->SetField(field);    
+    TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 2, 1., 1., 10., AliMagF::k5kG));
 
     Int_t   iABSO  =  0;
     Int_t   iDIPO  =  0;