]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/galice.C
Propagating scalers to ESD. (Plamen)
[u/mrichter/AliRoot.git] / MONITOR / galice.C
index 2c904e84eefd4116b255af22227fa2097f4ac2e8..c979a7a31885d3046af47f3db4cdd20a211e81d1 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", 1., 1., AliMagF::k5kG));
 
     Int_t   iABSO  =  0;
     Int_t   iDIPO  =  0;
@@ -40,7 +39,7 @@ void Config()
     Int_t   iTRD   =  0;
     Int_t   iZDC   =  0;
     Int_t   iEMCAL =  0;
-    Int_t   iCRT   =  0;
+    Int_t   iACORDE   =  0;
     Int_t   iVZERO =  0;
     runLoader->CdGAFile();
     //=================== Alice BODY parameters =============================
@@ -284,15 +283,15 @@ void Config()
         AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "EMCALArch1a");
     }
 
-     if (iCRT)
+     if (iACORDE)
     {
-        //=================== CRT parameters ============================
-        AliCRT *CRT = new AliCRTv0("CRT", "normal ACORDE");
+        //=================== ACORDE parameters ============================
+        AliACORDE *ACORDE = new AliACORDEv1("ACORDE", "normal ACORDE");
     }
 
      if (iVZERO)
     {
-        //=================== CRT parameters ============================
+        //=================== ACORDE parameters ============================
         AliVZERO *VZERO = new AliVZEROv2("VZERO", "normal VZERO");
     }