message: Restricting the invariant mass cut for phi resonance removal only to the same event
diff: @@ -628,8 +628,8 @@ void AliBalancePsi::CalculateBalance(Double_t gReactionPlane,
  }//resonance cut
  if(fResonancePhiCut) {
  + if (!particlesMixed) {
  if (charge1 * charge2 < 0) {
  -
  //phi
  vectorDaughter[0].SetPtEtaPhiM(firstPt,firstEta,firstPhi,pKaon.GetMass());
  vectorDaughter[1].SetPtEtaPhiM(secondPt[j],secondEta[j],secondPhi[j],pKaon.GetMass());
  @@ -642,6 +642,7 @@ void AliBalancePsi::CalculateBalance(Double_t gReactionPlane,
  fHistResonancesPhi->Fill(trackVariablesPair[1],trackVariablesPair[2],vectorMother.M());
  }
  }
  + }
  if (fResonancesLabelCut) {
  if (!particlesMixed) {
  