]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliPythia.cxx
Decay of L0s, Lambda, Sigma, Xi and Omega switched off. To be handled by the\
[u/mrichter/AliRoot.git] / PYTHIA6 / AliPythia.cxx
index 0f95c808e65bfebe17662f7769b68844771b1c81..a8bee2e083ef761ce6e1d3499e0c22dbf6d66bdb 100644 (file)
@@ -65,9 +65,17 @@ void AliPythia::ProcInit(Process_t process, Float_t energy, StrucFunc_t strucfun
     fProcess = process;
     fEcms = energy;
     fStrucFunc = strucfunc;
-//  don't decay p0
-    SetMDCY(Pycomp(111),1,0);
-//  select structure function 
+//...Switch off decay of pi0, K0S, Lambda, Sigma+-, Xi0-, Omega-.
+    SetMDCY(Pycomp(111) ,1,0);
+    SetMDCY(Pycomp(310) ,1,0);
+    SetMDCY(Pycomp(3122),1,0);
+    SetMDCY(Pycomp(3112),1,0);
+    SetMDCY(Pycomp(3212),1,0);
+    SetMDCY(Pycomp(3222),1,0);
+    SetMDCY(Pycomp(3312),1,0);
+    SetMDCY(Pycomp(3322),1,0);
+    SetMDCY(Pycomp(3334),1,0);
+    //  select structure function 
     SetMSTP(52,2);
     SetMSTP(51,strucfunc);
 //