//
//gener->SetVertexSmear(perTrack);
// Magnetic field
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., smag);
+ AliMagF* field = new AliMagF("Maps","Maps", 1., 1., smag);
field->SetL3ConstField(0); //Using const. field in the barrel
+ TGeoGlobalMagField::Instance()->SetField(field);
+
rl->CdGAFile();
- gAlice->SetField(field);
Int_t iABSO = 1;
Int_t iDIPO = 1;
Int_t iPHOS = 0;
Int_t iPIPE = 1;
Int_t iPMD = 0;
- Int_t iRICH = 0;
+ Int_t iHMPID = 0;
Int_t iSHIL = 1;
- Int_t iSTART = 0;
+ Int_t iT0 = 0;
Int_t iTOF = 0;
Int_t iTPC = 0;
Int_t iTRD = 0;
Int_t iZDC = 1;
Int_t iEMCAL = 0;
- Int_t iCRT = 0;
+ Int_t iACORDE = 0;
Int_t iVZERO = 0;
//=================== Alice BODY parameters =============================
}
- if (iRICH)
+ if (iHMPID)
{
- //=================== RICH parameters ===========================
- AliRICH *RICH = new AliRICHv1("RICH", "normal RICH");
+ //=================== HMPID parameters ===========================
+ AliHMPID *HMPID = new AliHMPIDv1("HMPID", "normal HMPID");
}
if (sgeo == kHoles) {
// With hole in front of PHOS
TRD->SetPHOShole();
- // With hole in front of RICH
- TRD->SetRICHhole();
+ // With hole in front of HMPID
+ TRD->SetHMPIDhole();
}
// Switch on TR
AliTRDsim *TRDsim = TRD->CreateTR();
AliPMD *PMD = new AliPMDv1("PMD", "normal PMD");
}
- if (iSTART)
+ if (iT0)
{
- //=================== START parameters ============================
- AliSTART *START = new AliSTARTv1("START", "START Detector");
+ //=================== T0 parameters ============================
+ AliT0 *T0 = new AliT0v1("T0", "T0 Detector");
}
if (iEMCAL)
{
//=================== EMCAL parameters ============================
- AliEMCAL *EMCAL = new AliEMCALv1("EMCAL", "EMCAL_55_25");
+ AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "EMCAL_COMPLETE");
}
- 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");
}