Photo was not deleted from your hard drive, only removed from the Dock. If you have iPhoto 9.6.1 you can still use your iPhoto library. If you don't have that version but some earlier version of 9.x try following Terence Devlin's instructions in this post to obtain iPhoto 9.6.1 from the App Store:
Terence Devlin
Apr 14, 2015 11:21 AM
Re: Is Iphoto gone ? i want it back!
in response to Johannes666
Recommended
Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash.
Install the App from the App Store.
Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
http://support.apple.com/kb/HT4928
One question often asked: Will I lose my Photos if I reinstall?
iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.
If you're able to get iPhoto working again and still want to migrate to Photos try repairing the iPhoto library as follows:
1 - launch iPhoto with the Command+Option keys held down to open the First Aid window. Be sure to follow the circled recommendation in the screenshot.
2 - apply Option #1, Repair Permissions followed by Option #4, Rebuild Database.
3 - went the repairs are complete drag the iPhoto library onto the Photos icon in the dock to start the conversion again.