Calculation of the x-ray film response to heavy charged particle irradiation.