message: Implement check of particular decay channel for AODs
diff: @@ -896,10 +896,9 @@ void AliRsnMiniAnalysisTask::FillMiniEvent(Char_t evType)
  for (ip = 0; ip < npart; ip++) {
  // point cursor to next particle
  fRsnEvent.SetDaughter(cursor, ip);
  - // set id of particle
  - miniParticle.Index() = ip;
  // copy momentum and MC info if present
  miniParticle.CopyDaughter(&cursor);
  + miniParticle.Index() = ip;
  // switch on the bits corresponding to passed cuts
  for (ic = 0; ic < ncuts; ic++) {
  AliRsnCutSet *cuts = (AliRsnCutSet *)fTrackCuts[ic];
  @@ -1318,7 +1317,7 @@ void AliRsnMiniAnalysisTask::FillTrueMotherAOD(AliRsnMiniEvent *miniEvent)
  p1.SetXYZM(daughter1->Px(), daughter1->Py(), daughter1->Pz(), def->GetMass(1));
  p2.SetXYZM(daughter2->Px(), daughter2->Py(), daughter2->Pz(), def->GetMass(0));
  }
  - if (!okMatch) continue;
  + if (fCheckDecay && !okMatch) continue;
  if(fCheckP && (TMath::Abs(part->Px()-(daughter1->Px()+daughter2->Px()))/(TMath::Abs(part->Px())+1.e-13)) > 0.00001 &&
  (TMath::Abs(part->Py()-(daughter1->Py()+daughter2->Py()))/(TMath::Abs(part->Py())+1.e-13)) > 0.00001 &&
  (TMath::Abs(part->Pz()-(daughter1->Pz()+daughter2->Pz()))/(TMath::Abs(part->Pz())+1.e-13)) > 0.00001 ) continue;
  