Device to measure an absorbed dose of radiation