Microwave calorimetry using X-rays