X-ray detector based on Mn doped MgAl2O4 and Si photodiode.