message: Possibility to select trigger particle for kPyCharm and kPyBeauty
diff: @@ -696,6 +696,7 @@ void AliGenPythiaPlus::Generate()
  Int_t nc = 0; // Total n. of selected particles
  Int_t nParents = 0; // Selected parents
  Int_t nTkbles = 0; // Trackable particles
  + Bool_t trigPartOK = (fTriggerParticle==0) ? kTRUE : kFALSE;
  if (fProcess != kPyMbDefault &&
  fProcess != kPyMb &&
  fProcess != kPyMbWithDirectPhoton &&
  @@ -721,6 +722,10 @@ void AliGenPythiaPlus::Generate()
  // No initial state partons
  if (ks==21) continue;
  //
  +// Trigger particle selection
  +//
  + if(fTriggerParticle!=0 && kf == fTriggerParticle && TMath::Abs(iparticle->Eta()) < fTriggerEta) trigPartOK=kTRUE;
  +//
  // Heavy Flavor Selection
  //
  // quark ?
  @@ -848,6 +853,7 @@ void AliGenPythiaPlus::Generate()
  //
  } // particle selection loop
  + if(!trigPartOK) nc=0;
  if (nc > 0) {
  for (i = 0; i < np; i++) {
  if (!pSelected[i]) continue;
  