Apparatus for measuring radiation