Control of magnetization reversal process with pinning layer in FePt thin films