]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/ConfigTestSuite.C
"no RCU specified" option added in constructors.
[u/mrichter/AliRoot.git] / PHOS / ConfigTestSuite.C
index f2571b025336163eee6fe22305b6d004840b448e..5f564df6052b3268c6ed225cdbee20df340199ee 100644 (file)
@@ -1,3 +1,5 @@
+#include <TPDGCode.h>
+
 static Int_t    eventsPerRun = 100;
 enum PprGeo_t 
 {
@@ -106,7 +108,7 @@ void Config()
 //     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();
@@ -118,7 +120,7 @@ void Config()
 
     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();
  
     // 
@@ -150,7 +152,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;
     rl->CdGAFile();
     //=================== Alice BODY parameters =============================
@@ -394,15 +396,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 AliACORDEv0("ACORDE", "normal ACORDE");
     }
 
      if (iVZERO)
     {
-        //=================== CRT parameters ============================
+        //=================== ACORDE parameters ============================
         AliVZERO *VZERO = new AliVZEROv2("VZERO", "normal VZERO");
     }