in which radiation controls flow of current through the device