]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected wrong selection of eta decays
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Jun 2009 07:43:40 +0000 (07:43 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 1 Jun 2009 07:43:40 +0000 (07:43 +0000)
PWG4/PartCorrBase/AliMCAnalysisUtils.cxx

index 82e460a9c46faa5849659762142fcd4b6d0fb8b0..c02dbfd9bd95fbe13d80194b6b569187a08a46bf 100755 (executable)
@@ -122,7 +122,7 @@ Int_t AliMCAnalysisUtils::CheckOrigin(const Int_t label, AliStack * stack) const
          }//Outgoing partons
          else if(pStatus == 11){//Decay
            if(pPdg == 111) return kMCPi0Decay ;
-           else if (pPdg == 321)  return kMCEtaDecay ;
+           else if (pPdg == 221)  return kMCEtaDecay ;
            else  return kMCOtherDecay ;
          }//Decay
          else return kMCISR; //Initial state radiation
@@ -146,7 +146,7 @@ Int_t AliMCAnalysisUtils::CheckOrigin(const Int_t label, AliStack * stack) const
          }//Not decay
          else{//Decay
            if(pPdg == 111) return kMCPi0Decay ;
-           else if (pPdg == 321)  return kMCEtaDecay ;
+           else if (pPdg == 221)  return kMCEtaDecay ;
            else  return kMCOtherDecay ;
          }//Decay
        }//HERWIG