// Create the output file
AliRunLoader* rl = 0;
rl = AliRunLoader::Open("galice.root",
- AliConfig::fgkDefaultEventFolderName,
+ AliConfig::GetDefaultEventFolderName(),
"recreate");
if (!rl) {
gAlice->Fatal("Config.C","Can not instatiate the Run Loader");
// Exclude detectors with temporary problem
iCRT = 0;
iEMCAL = 0;
- iFMD = 0;
// END OF ONLY FOR GEANT4
{
//=================== SHIL parameters ============================
- AliSHIL *SHIL = new AliSHILv2("SHIL", "Shielding");
+ AliSHIL *SHIL = new AliSHILv2("SHIL", "Shielding Version 2");
}
AliTPC *TPC = new AliTPCv2("TPC", "Default");
// All sectors included
- TPC->SetSecAL(-1);
TPC->SetSecAU(-1);
+ TPC->SetSecAL(-1);
}
if (iTOF)
{
- if (geo == kHoles) {
//=================== TOF parameters ============================
- AliTOF *TOF = new AliTOFv2FHoles("TOF", "TOF with Holes");
- } else {
- AliTOF *TOF = new AliTOFv4T0("TOF", "normal TOF");
- }
+ AliTOF *TOF = new AliTOFv4T0("TOF", "normal TOF");
}
if (iRICH)
{
//=================== RICH parameters ===========================
- AliRICH *RICH = new AliRICHv3("RICH", "normal RICH");
+ AliRICH *RICH = new AliRICHv1("RICH", "normal RICH");
}
//=================== MUON parameters ===========================
AliMUON *MUON = new AliMUONv1("MUON", "default");
+ MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
+ MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
+ MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
+ MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
}
//=================== PHOS parameters ===========================
if (iEMCAL)
{
//=================== EMCAL parameters ============================
- AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "G56_2_55_19_104_14");
+ AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "EMCAL_55_25");
}
if (iCRT)
if (iVZERO)
{
//=================== CRT parameters ============================
- AliVZERO *VZERO = new AliVZEROv2("VZERO", "normal VZERO");
+ AliVZERO *VZERO = new AliVZEROv3("VZERO", "normal VZERO");
}
} // end (!isSetInteractively)
else
AliRunConfiguration::SwitchHoles(kFALSE);
}
+
+ cout << "End of g4ConfigCommon.C" << endl;
}
Float_t EtaToTheta(Float_t arg){