]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
IsPhysicalPrimary(): Check status code > 1, this works for Pythia and Phojet
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Aug 2008 11:00:58 +0000 (11:00 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Aug 2008 11:00:58 +0000 (11:00 +0000)
STEER/AliStack.cxx

index 9a26431f0c902618b87c348b0d6e3323d9cd79bf..30349d72cea3e134d35899018fc767f193c3b29d 100644 (file)
@@ -992,7 +992,7 @@ Bool_t AliStack::IsPhysicalPrimary(Int_t index)
     
     //
     // Initial state particle
-    if (ist > 20) return kFALSE;
+    if (ist > 1) return kFALSE;
     
     Int_t pdg = TMath::Abs(p->GetPdgCode());