First, determine if the mouse position is within the radius of the pie.
If it is, find which angle from the center where the mouse is. Then find which piece of pie goes past that angle.
For example, Say you start your drawing from 0 Degrees and your mouse is at 110 degrees.
110
\__ 0
The first piece of pie could be 75 degrees, the second 90 degrees. So drawing from the left you would see:
75 110
/__ 0 \___ 0
/
165
the first piece of pie doesn't touch the 110 mark but the next 90 does - so your 90 degree piece is the one the mouse is touching.
Does that help?