Change photon event class to have the number of photons as a float.
This change allows to run the detailed and improved simulations using the same photon class.
This change allows to run the detailed and improved simulations using the same photon class.