+#include <TPDGCode.h>
+
static Int_t eventsPerRun = 100;
enum PprGeo_t
{
// gener->AddGenerator(hijingparam,"HIJING PARAM",1);
// AliGenBox *genbox = new AliGenBox(nParticles);
-// genbox->SetPart(22);
+// genbox->SetPart(kGamma);
// genbox->SetPtRange(0.3, 10.00);
// gener->AddGenerator(genbox,"GENBOX GAMMA for PHOS",1);
// gener->Init();
gener->SetOrigin(0,0,0); //vertex position
gener->SetSigma(0,0,0); //Sigma in (X,Y,Z) (cm) on IP position
- gener->SetPart(22);
+ gener->SetPart(kGamma);
gener->Init();
//
//
//gener->SetVertexSmear(perTrack);
// Field (L3 0.4 T)
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
- gAlice->SetField(field);
-
+ TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", 1., 1., AliMagF::k5kG));
Int_t iABSO = 0;
Int_t iDIPO = 0;
Int_t iPMD = 0;
Int_t iHMPID = 0;
Int_t iSHIL = 0;
- Int_t iSTART = 0;
+ Int_t iT0 = 0;
Int_t iTOF = 0;
Int_t iTPC = 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;
rl->CdGAFile();
//=================== Alice BODY parameters =============================
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)
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");
}