Tool for converting Locations???

Hello,

is there a tool for converting locations or which script do i need for getting the location of PlayerCamera into the relative location of Camera (Parent Socket=head bone).