Check for undecayed sigma0 in IsPhysicalPrimary
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Nov 2010 13:51:40 +0000 (13:51 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Nov 2010 13:51:40 +0000 (13:51 +0000)
STEER/AliStack.cxx

index 770e867..273ef78 100644 (file)
@@ -1025,6 +1025,9 @@ Bool_t AliStack::IsPhysicalPrimary(Int_t index)
        Int_t imo =  p->GetFirstMother();
        TParticle* pm  = Particle(imo);
        Int_t mpdg = TMath::Abs(pm->GetPdgCode());
+// Check for Sigma0 
+       if ((mpdg == 3212) &&  (imo <  GetNprimary())) return kTRUE;
+// 
 // Check if it comes from a pi0 decay
 //
 // What about the pi0 Dalitz ??