Switch off decays of pi0, K0S, Lambda, Sigma+-, Xi0-, Omega-
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Jul 2006 15:59:38 +0000 (15:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Jul 2006 15:59:38 +0000 (15:59 +0000)
PYTHIA6/AliDecayerPythia.cxx

index 467a5c7abd95a9c9d26fa1091c4ced19ab5edcbe..f0a98cddddd6f2b76771644bad985fba0b80d3c2 100644 (file)
@@ -89,7 +89,17 @@ void AliDecayerPythia::Init()
          }
        }
     }
-
+//...Switch off decay of pi0, K0S, Lambda, Sigma+-, Xi0-, Omega-.
+    fPythia->SetMDCY(fPythia->Pycomp(111) ,1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(310) ,1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3122),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3112),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3212),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3222),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3312),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3322),1,0);
+    fPythia->SetMDCY(fPythia->Pycomp(3334),1,0);
+// .. Force decay channels
     ForceDecay();
 }