Transmission spectrum of Bragg grating(left) and cold cavity(right)