Photon Statistics And Field-Intensity Correlation Of A Cavity Qed System With External Potentials