<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_pointings(self):
 """ Retrieve the MEGACAM pointings that overlap with the current FOV and plot. @return: None """


        self.camera.set("MEGACAM_40")
        (ra1, dec1) = self.c2p((self.canvasx(1), self.canvasy(1)))
        (ra2, dec2) = self.c2p((self.canvasx(480 * 2), self.canvasy(360 * 2)))
        ra_cen = math.degrees((ra2 + ra1) / 2.0)
        dec_cen = math.degrees((dec2 + dec1) / 2.0)
        # width = math.degrees(math.fabs(ra1 - ra2))
        width = 180
        # height = math.degrees(math.fabs(dec2 - dec1))
        height = 90
        date = mpc.Time(self.date.get(), scale='utc').iso
        table = cadc.cfht_megacam_tap_query(ra_cen, dec_cen, width, height, date=date)

        for row in table:
            ra = row['RAJ2000']
            dec = row['DEJ2000']
            (x, y) = self.p2s((math.radians(ra), math.radians(dec)))
            event = MyEvent(x, y)

            self.create_pointing(event, label_text="")