// 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();
//
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;
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 =============================
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");
}