Photon trapping model within a fiber Bragg grating for dynamic optical tweezers use