Photon collection from a trapped ion-cavity system