Bootcamp wiped out my OS X partition
Hey all, I'm really in need for a big help now. So here's the thing. I attempted to perform a bootcamp for my iMac and everything was going smoothly until i was brought into this windows setup screen and i was told to perform a format out of 4 partition. I forgotten which i have selected and formatted but I'm pretty sure after what is happening now, i stupidly chose the OS X partition and formatted it into windows NTFS format. Now every time i boot my mac, it jumps straight to windows and i can't boot into OS X at all! I know i screwed up big time because of of the 4 partition, 3 of them could not be used so i went for the last one which could be formatted instead and now, my OS X is gone!. I don't mind losing all data but i just want it back because i still have a macbook pro with my data in it. So anyone could lend me a hand here? I tried pressing the alt option to switch OS but it didn't work. I even tried the command, option, p, r but it still didn't work. Any help is much appreciated.
iMac, OS X Yosemite (10.10.2)