Observing different quantum trajectories in cavity QED