message: PWGGA/GammaConv: Capture case of array getting out of bounds causing a segmentation fault
diff: @@ -688,6 +688,7 @@ void AliAODConversionPhoton::SetCaloPhotonMCFlagsAOD(TClonesArray *AODMCTrackArr
  for (Int_t j = 0; j< fNCaloPhotonMCLabels; j++){
  neutralPionLabel = -1;
  foundNeutralPion = kFALSE;
  + if(j > 49) continue; // abort if more than 50 entries to the cluster have been checked (more are not stored in these objects)
  PhotonDummyMerged = (AliAODMCParticle*) AODMCTrackArray->At(GetCaloPhotonMCLabel(j)); // main particle
  photonDummyMergedPDG = PhotonDummyMerged->GetPdgCode();
  if(TMath::Abs(photonDummyMergedPDG)==111){
  