]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/galice.C
"trd_adcClkPhase" DP removed from TRD configuration.
[u/mrichter/AliRoot.git] / MONITOR / galice.C
index 60b1e07b98ca1b7d31b289165bed2e54077276fd..a158e8e1e0e5aecc6e23cea9c9e8076b950b7993 100644 (file)
@@ -1,8 +1,8 @@
 // In order to create galice.root follow the steps shown below
 //
 //  gAlice->Init("galice.C");
-//  gAlice->GetRunLoader()->Write();
-//  delete gAlice->GetRunLoader();
+//  AliRunLoader::Instance()->Write();
+//  delete AliRunLoader::Instance();
 //
 
 
@@ -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;