X-ray detector for studying characteristics of materials