Title: The distribution and origin of cosmic rays in spiral galaxies - a test study of the galaxy NGC 3310